/*
Theme Name: BloomBase
Author: APEX Llc
Version: 0.0.8
*/

/* =========================================
1. ROOT VARIABLES
========================================= */
:root {
   /* Base Colors */
   --bg: #F9F9F9;
   --bg-sub: #F3F4F6;
   --text: #333333;
   --text-light: #666666;
   --white: #FFFFFF;
   
   /* Brand Colors */
   --primary: #1E2A4A; /* Kachi-iro */
   --primary-dark: #0f1629;
   --secondary: #C5A059; /* Champagne Gold */
   --secondary-light: #E5C585;
   
   /* State Colors */
   --danger: #ef4444;
   --error: #b91c1c;
   --success: #4CAF50;
   --gray: #9ca3af;
   
   /* UI Components */
   --border: #E0E0E0;
   --bg-table-header: #e5e7eb;
   --bg-note: #f1f8e9;
   --bg-feature: #FFFFFF;
   --border-feature: #f0f0f0;
   
   /* Layout */
   --max-width: 1280px;
   --header-height: 80px;
   --radius-md: 8px;
}

/* =========================================
   2. BASE & RESET
   ========================================= */
*, *::before, *::after {
   box-sizing: border-box;
   margin: 0;
   padding: 0;
}

html {
   scroll-behavior: smooth;
}

body {
   font-family: "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
   background-color: var(--bg);
   background-image: radial-gradient(var(--primary) 0.5px, transparent 0.5px);
   background-size: 20px 20px;
   color: var(--text);
   line-height: 1.8;
   letter-spacing: 0.05em;
   overflow-x: hidden;
}

a {
   text-decoration: none;
   color: inherit;
   transition: all 0.3s ease;
}

img {
   max-width: 100%;
   height: auto;
   display: block;
}

ul {
   list-style: none;
}

/* =========================================
   3. LAYOUT UTILITIES
   ========================================= */
.container {
   width: 90%;
   max-width: var(--max-width);
   margin: 0 auto;
   position: relative;
}

.section {
   padding: 120px 0;
}

.text-center {
   text-align: center;
}

/* =========================================
   4. TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 {
   font-weight: 700;
   line-height: 1.4;
}

.font-serif {
   font-family: "Yu Mincho", "YuMincho", serif;
}

.section-header {
   text-align: center;
   margin-bottom: 5rem;
   position: relative;

   & .en-sub {
         display: block;
         font-size: 1rem;
         color: var(--secondary);
         letter-spacing: 0.2em;
         text-transform: uppercase;
         margin-bottom: 1rem;
         font-family: "Garamond", serif;
         font-weight: 600;
   }

   & h2 {
         font-size: 2.5rem;
         color: var(--primary);
         display: inline-block;
         position: relative;
         font-family: "Yu Mincho", serif;

         &::after {
            content: '';
            display: block;
            width: 40px;
            height: 3px;
            background: var(--secondary);
            margin: 15px auto 0;
         }
   }
}

/* =========================================
   5. COMPONENTS: BUTTONS
   ========================================= */
.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 16px 40px;
   font-weight: bold;
   letter-spacing: 0.1em;
   cursor: pointer;
   transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
   border-radius: 4px;
   z-index: 1;
   position: relative;
   overflow: hidden;
   border: none;

   &::before {
         content: '';
         position: absolute;
         top: 0;
         left: -100%;
         width: 100%;
         height: 100%;
         background: rgba(255, 255, 255, 0.2);
         transition: transform 0.4s;
         transform: skewX(-20deg);
   }

   &:hover::before {
         transform: translateX(200%) skewX(-20deg);
   }

   &:hover {
         transform: translateY(-3px);
   }

   /* Primary Style */
   &.btn-primary {
         background: var(--primary);
         color: var(--white);
         border: 1px solid var(--primary);

         &:hover {
            background: var(--primary-dark);
            box-shadow: 0 10px 20px rgba(30, 42, 74, 0.2);
         }
   }

   /* Gold Style */
   &.btn-gold {
         background: linear-gradient(135deg, var(--secondary) 0%, var(--btn-gold-yellow, #D4AF37) 100%);
         color: var(--white);
         box-shadow: 0 5px 15px var(--btn-gold-glow, rgba(197, 160, 89, 0.3));

         &:hover {
            box-shadow: 0 15px 30px var(--btn-gold-glow-hover, rgba(197, 160, 89, 0.4));
         }
   }

   /* White/Gold Style */
   &.btn-white-gold {
         background: var(--white);
         color: #B48811;
         box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

         &:hover {
            background: #fdfdfd;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
         }
   }

   /* Support/Success Style */
   &.btn-support {
         background: var(--btn-support-bg, var(--success));
         color: var(--white);
         box-shadow: 0 5px 15px var(--btn-support-glow, rgba(76, 175, 80, 0.3));

         &:hover {
            background: var(--btn-support-bg-hover, #43a047);
            box-shadow: 0 5px 15px var(--btn-support-glow, rgba(76, 175, 80, 0.3));
         }
   }

   /* Emergency Style */
   &.btn-emergency {
         background: var(--success);
         color: var(--white);
         font-size: 1.2rem;
         padding: 15px 40px;
         border-radius: 50px;
         box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);

         &:hover {
            background: #43a047;
         }
   }

   /* Video/Transparent Style */
   &.btn-video {
         background: rgba(255, 255, 255, 0.1);
         backdrop-filter: blur(5px);
         border: 1px solid rgba(255, 255, 255, 0.3);
         color: var(--white);

         &:hover {
            background: rgba(255, 255, 255, 0.2);
         }
   }
   
   /* Download Button Style */
   &.btn-download {
         background: var(--primary);
         color: var(--white);
         border-radius: 4px;
         padding: 10px;
         font-size: 0.9rem;
         gap: 8px;

         &:hover {
            background: var(--primary-dark);
         }

         & svg {
            width: 18px;
            height: 18px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
         }
   }
}

/* =========================================
   6. COMPONENTS: HEADER & FOOTER
   ========================================= */
.header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: var(--header-height);
   background: rgba(255, 255, 255, 0.95);
   backdrop-filter: blur(10px);
   border-bottom: 1px solid rgba(0, 0, 0, 0.05);
   z-index: 1000;
   display: flex;
   align-items: center;

   & .container {
         display: flex;
         justify-content: space-between;
         align-items: center;
   }

   & .logo {
         font-size: 1.5rem;
         font-weight: bold;
         color: var(--primary);
         display: flex;
         flex-direction: column;
         line-height: 1;

         & img {
            display: block;
            max-height: 35px;
            width: auto;
         }

         & span {
            font-size: 0.7rem;
            font-weight: normal;
            margin-top: 4px;
            letter-spacing: 0.1em;
         }
   }

   & .nav {
         display: flex;
         gap: 2rem;
         align-items: center;

         @media(max-width: 900px) {
            display: none;
         }

         & ul {
            display: flex;
            gap: 2rem;
            align-items: center;
            list-style: none;
            margin: 0;
            padding: 0;
         }

         & ul li {
            position: relative;
            
            /* ドロップダウンメニューを持つ項目 */
            &.menu-item-has-children {
               & > a {
                  display: flex;
                  align-items: center;
                  gap: 0.3rem;
                  
                  & .arrow-icon {
                     width: 14px;
                     height: 14px;
                     fill: currentColor;
                     transition: transform 0.3s ease;
                  }
               }
               
               &:hover > a .arrow-icon {
                  transform: rotate(180deg);
               }
            }
         }

         & ul li a {
            font-size: 0.95rem;
            color: var(--primary);
            font-weight: 500;
            position: relative;
            display: flex;
            align-items: center;
            gap: 0.3rem;

            &::after {
               content: '';
               position: absolute;
               bottom: -5px;
               left: 0;
               width: 0;
               height: 2px;
               background: var(--secondary);
               transition: width 0.3s;
            }

            &:hover {
               color: var(--secondary);
               &::after {
                     width: 100%;
               }
            }
         }

         /* ドロップダウンメニュー */
         & ul li .dropdown {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(-10px);
            background: var(--white);
            min-width: 200px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border-radius: var(--radius-md);
            padding: 0.5rem 0;
            margin-top: 1rem;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1001;
            border: 1px solid rgba(0, 0, 0, 0.05);
            display: block !important;
            list-style: none !important;
            flex-direction: column !important;
            writing-mode: horizontal-tb !important;
            text-orientation: mixed !important;
            
            &::before {
               content: '';
               position: absolute;
               bottom: 100%;
               left: 50%;
               transform: translateX(-50%);
               border: 8px solid transparent;
               border-bottom-color: var(--white);
               margin-bottom: -1px;
            }

            & li {
               margin: 0 !important;
               padding: 0 !important;
               display: block !important;
               width: 100% !important;
               flex-direction: row !important;
               
               & a {
                  display: block !important;
                  padding: 0.75rem 1.5rem;
                  color: var(--text);
                  font-size: 0.9rem;
                  transition: all 0.2s ease;
                  position: relative;
                  white-space: nowrap;
                  text-align: left;
                  writing-mode: horizontal-tb !important;
                  
                  &::after {
                     display: none;
                  }
                  
                  &::before {
                     content: '';
                     position: absolute;
                     left: 0;
                     top: 0;
                     bottom: 0;
                     width: 0;
                     background: var(--secondary);
                     transition: width 0.3s ease;
                  }
                  
                  &:hover {
                     color: var(--primary);
                     background: rgba(197, 160, 89, 0.05);
                     padding-left: 2rem;
                     
                     &::before {
                        width: 3px;
                     }
                  }
               }
            }
         }

         /* ホバー時にドロップダウンを表示 */
         & ul li.menu-item-has-children:hover .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
         }

         & a {
            font-size: 0.95rem;
            color: var(--primary);
            font-weight: 500;
            position: relative;

            &::after {
               content: '';
               position: absolute;
               bottom: -5px;
               left: 0;
               width: 0;
               height: 2px;
               background: var(--secondary);
               transition: width 0.3s;
            }

            &:hover {
               color: var(--secondary);
               &::after {
                     width: 100%;
               }
            }
         }

         & .btn-contact {
            background: var(--primary);
            color: var(--white);
            padding: 10px 24px;
            border-radius: 2px;

            &::after { display: none; }

            &:hover {
               background: var(--primary-dark);
               opacity: 1;
            }
         }
   }

   /* メニュートグルボタン（モバイル） */
   & .menu-toggle {
         display: none;
         flex-direction: column;
         gap: 5px;
         cursor: pointer;
         padding: 5px;
         z-index: 1002;

         @media(max-width: 900px) {
            display: flex;
         }

         & span {
            width: 25px;
            height: 3px;
            background: var(--primary);
            transition: all 0.3s ease;
            border-radius: 2px;
         }

         &.active {
            & span:nth-child(1) {
               transform: rotate(45deg) translate(8px, 8px);
            }
            & span:nth-child(2) {
               opacity: 0;
            }
            & span:nth-child(3) {
               transform: rotate(-45deg) translate(7px, -7px);
            }
         }
   }
}

/* オーバーレイ */
.overlay {
   display: none;
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.5);
   z-index: 999;
   opacity: 0;
   transition: opacity 0.3s ease;

   &.active {
      display: block;
      opacity: 1;
   }
}

/* モバイルナビゲーション */
.mobile-nav {
   position: fixed;
   top: 0;
   right: -100%;
   width: 100%;
   max-width: 100%;
   height: 100vh;
   background: var(--white);
   z-index: 1001;
   transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   overflow-y: auto;
   box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
   display: flex;
   flex-direction: column;

   &.active {
      right: 0;
   }

   /* 閉じるボタン */
   & .mobile-nav-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      border: none;
      cursor: pointer;
      z-index: 1002;
      color: var(--primary);
      transition: all 0.3s ease;
      border-radius: 50%;
      
      &:hover {
         background: var(--bg-sub);
         color: var(--secondary);
         transform: rotate(90deg);
      }
      
      & svg {
         width: 24px;
         height: 24px;
         fill: currentColor;
      }
   }

   & ul {
      list-style: none;
      padding: calc(var(--header-height) + 1rem) 0 2rem;
      margin: 0;

      & li {
         border-bottom: 1px solid var(--border);

         & a {
            display: block;
            padding: 1rem 1.5rem;
            color: var(--text);
            font-weight: 500;
            transition: all 0.2s ease;

            &:hover {
               background: rgba(197, 160, 89, 0.05);
               color: var(--primary);
            }
         }
      }
   }

   & .mobile-nav-item-wrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;

      & .submenu-toggle {
         padding: 1rem;
         cursor: pointer;
         transition: transform 0.3s ease;

         &.open {
            transform: rotate(45deg);
         }

         & svg {
            width: 20px;
            height: 20px;
            fill: var(--text-light);
         }
      }
   }

   & .sub-menu {
      display: none;
      background: var(--bg-sub);
      padding-left: 1rem;

      &.active {
         display: block;
      }

      & li {
         border-bottom: 1px solid rgba(0, 0, 0, 0.05);

         & a {
            padding-left: 2.5rem;
            font-size: 0.9rem;
         }
      }
   }

   & .mobile-contact {
      padding: 2rem 1.5rem;
      border-top: 1px solid var(--border);
      margin-top: auto;

      & .phone-unit {
         display: flex;
         align-items: center;
         gap: 1rem;
         margin-bottom: 1.5rem;
         padding: 1rem;
         background: var(--bg-sub);
         border-radius: var(--radius-md);

         & .phone-icon svg {
            width: 24px;
            height: 24px;
            fill: var(--primary);
         }

         & .phone-text {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
         }
      }
   }
}

footer {
   background: var(--footer-bg, #111827);
   color: var(--footer-text, var(--gray));
   padding: 5rem 0;
   text-align: center;
   font-size: 0.9rem;
   border-top: 3px solid var(--secondary);

   & a {
         color: var(--footer-link, #d1d5db);
         margin: 0 1.5rem;
         position: relative;
         
         &::before {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 1px;
            background: var(--footer-link-hover, var(--white));
            transition: width 0.3s;
         }

         &:hover {
            color: var(--footer-link-hover, var(--white));
            &::before { width: 100%; }
         }
   }

   & p {
         margin-top: 3rem;
         opacity: 0.6;
   }
}

/* =========================================
   7. COMPONENTS: HERO
   ========================================= */
.hero {
   position: relative;
   height: 90vh;
   min-height: 700px;
   background: var(--primary-dark);
   overflow: hidden;
   display: flex;
   align-items: center;
   padding-top: var(--header-height);

   /* Sub-hero variant for sub-pages */
   &.sub-hero {
         height: 50vh;
         min-height: 400px;
         align-items: center;
         
         & .hero-content h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
         }
   }

   & .hero-bg-shapes {
         position: absolute;
         width: 100%;
         height: 100%;
         top: 0;
         left: 0;
         background: radial-gradient(circle at 10% 20%, var(--primary) 0%, var(--primary-dark) 90%);
         z-index: 0;
   }

   &::after {
         content: '';
         display: none;
   }

   & .container {
         position: relative;
         z-index: 2;
         height: 100%;
         display: grid;
         grid-template-columns: 1fr 1fr;
         gap: 4rem;
         align-items: center;

         @media(max-width: 900px) {
            grid-template-columns: 1fr;
            text-align: center;
         }
   }

   & .hero-content {
         color: var(--white);
         z-index: 3;

         & h1 {
            font-size: 3.8rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            font-family: "Yu Mincho", serif;

            & small {
               display: block;
               font-family: sans-serif;
               font-size: 0.9rem;
               color: var(--secondary);
               letter-spacing: 0.3em;
               margin-bottom: 1.2rem;
               text-transform: uppercase;
               font-weight: 600;
            }
         }

         & p {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 3rem;
            border-left: 2px solid var(--secondary);
            padding-left: 1.5rem;
            line-height: 2;

            @media(max-width: 900px) {
               border: none;
               padding: 0;
            }
         }

         & .btn-group {
            display: flex;
            gap: 20px;

            @media(max-width: 900px) {
               justify-content: center;
               flex-direction: column;
            }
         }
   }

   & .hero-visual {
         position: relative;
         height: 100%;
         display: flex;
         align-items: center;
         justify-content: center;
         perspective: 1000px;

         @media(max-width: 900px) {
            display: none;
         }

         & .visual-inner {
            width: 140%;
            height: 85%;
            position: absolute;
            left: -10%;
            border-radius: var(--radius-md);
            transform: rotateY(-10deg) rotateZ(2deg) translateX(50px);
            box-shadow: -30px 40px 60px rgba(0, 0, 0, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: transform 0.5s ease;
            z-index: 1;
            overflow: hidden;

            &:hover {
               transform: rotateY(-5deg) rotateZ(1deg) translateX(30px) scale(1.02);
            }

            & img {
               width: 100%;
               height: 100%;
               object-fit: cover;
            }

            & .badge {
               position: absolute;
               bottom: 40px;
               left: -20px;
               background: rgba(255, 255, 255, 0.95);
               padding: 25px 35px;
               border-radius: 0 4px 4px 0;
               color: var(--primary);
               box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
               z-index: 4;
               border-left: 5px solid var(--secondary);

               & strong {
                     font-size: 2rem;
                     display: block;
                     line-height: 1;
               }

               & span {
                     font-size: 0.9rem;
                     color: var(--text-light);
                     text-transform: uppercase;
                     letter-spacing: 0.1em;
               }
            }
         }
   }
}

/* =========================================
   8. COMMON BLOCKS (Info, Features, CTA)
   ========================================= */
/* Info Block (Alternating) */
.info-block {
   padding: 100px 0;
   position: relative;
   
   & .bg-text {
         display: none;
   }

   & .container {
         display: flex;
         align-items: center;
         gap: 5rem;
         position: relative;
         z-index: 1;

         @media(max-width: 900px) {
            flex-direction: column;
            gap: 3rem;
         }
   }

   &.reverse .container {
         flex-direction: row-reverse;
         @media(max-width: 900px) {
            flex-direction: column;
         }
   }

   & .info-text {
         flex: 1;

         & h3 {
            font-size: 2.2rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
            font-family: "Yu Mincho", serif;
            position: relative;
            display: inline-block;
            
            &::before {
               content: '';
               position: absolute;
               top: -10px;
               left: 0;
               width: 30px;
               height: 2px;
               background: var(--secondary);
            }
         }

         & p {
            font-size: 1rem;
            color: var(--text-light);
            margin-bottom: 2rem;
            line-height: 1.9;
         }

         & ul {
            margin-bottom: 2.5rem;
         }

         & li {
            position: relative;
            padding-left: 2rem;
            margin-bottom: 0.8rem;
            color: var(--text);
            font-weight: 500;
            
            &::before {
               content: '';
               position: absolute;
               left: 0;
               top: 8px;
               width: 16px;
               height: 8px;
               border-bottom: 2px solid var(--secondary);
               border-left: 2px solid var(--secondary);
               transform: rotate(-45deg);
            }
         }
   }

   & .info-image-wrapper {
         flex: 1;
         position: relative;

         & img {
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
            border-radius: var(--radius-md);
            position: relative;
            z-index: 2;
         }

         &::after {
            content: '';
            position: absolute;
            top: 20px;
            left: 20px;
            width: 100%;
            height: 100%;
            background: var(--secondary);
            opacity: 0.1;
            border-radius: var(--radius-md);
            z-index: 1;
         }
   }

   &.reverse .info-image-wrapper::after {
         left: -20px;
   }
}

/* Features Grid */
.features {
   background: var(--white);
   position: relative;
}

.feature-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2.5rem;

   @media(max-width: 900px) {
         grid-template-columns: 1fr;
   }
}

.feature-card {
   background: var(--bg-feature);
   border: 1px solid var(--border-feature);
   transition: all 0.4s;
   position: relative;
   top: 0;
   border-radius: var(--radius-md);
   overflow: hidden;

   &:hover {
         top: -10px;
         box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
         border-color: transparent;

         & .num-badge {
            background: var(--primary);
            color: var(--secondary);
         }
   }

   & .card-img {
         height: 240px;
         overflow: hidden;
         position: relative;

         & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s;
         }
   }

   &:hover .card-img img {
         transform: scale(1.1);
   }

   & .num-badge {
         position: absolute;
         top: 20px;
         left: 20px;
         background: var(--white);
         color: var(--primary);
         width: 50px;
         height: 50px;
         display: flex;
         align-items: center;
         justify-content: center;
         font-family: "Garamond", serif;
         font-size: 1.5rem;
         font-weight: bold;
         box-shadow: 0 5px 15px rgba(0,0,0,0.1);
         transition: all 0.3s;
         border-radius: 4px;
   }

   & .card-body {
         padding: 1.5rem 2rem 2.5rem;

         & h3 {
            font-size: 1.35rem;
            margin-bottom: 1rem;
            color: var(--primary);
            font-family: "Yu Mincho", serif;
         }

         & p {
            font-size: 0.95rem;
            color: var(--text-light);
            line-height: 1.75;
            text-align: justify;
         }
   }
}

/* CTA: Primary (Middle) */
.cta-primary {
   background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--secondary) 100%);
   color: var(--white);
   padding: 100px 0;
   position: relative;
   overflow: hidden;
   text-align: center;

   &::after {
         content: '';
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
         opacity: 0.3;
   }

   & .container {
         position: relative;
         z-index: 1;
         max-width: 900px;
   }

   & h2 {
         font-size: 2.8rem;
         margin-bottom: 1.5rem;
         font-family: "Yu Mincho", serif;
         text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
         color: var(--white);
   }

   & p {
         max-width: 700px;
         margin: 0 auto 3rem;
         color: var(--white);
         font-size: 1.2rem;
         font-weight: 500;
   }
}

/* CTA: Final (Bottom) */
.cta-final {
   position: relative;
   padding: 160px 0;
   color: var(--white);
   text-align: center;

   &::before {
         content: '';
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         background: var(--cta-bg, linear-gradient(to right, rgba(15, 22, 41, 0.95), rgba(30, 42, 74, 0.8)));
   }

   & .container {
         position: relative;
         z-index: 2;
         max-width: 1000px;
   }

   & h2 {
         font-size: 3.5rem;
         margin-bottom: 1.5rem;
         font-family: "Yu Mincho", serif;
   }

   & p {
         font-size: 1.25rem;
         margin-bottom: 4rem;
         color: rgba(255, 255, 255, 0.8);
   }

   & .contact-box {
         background: rgba(255, 255, 255, 0.05);
         backdrop-filter: blur(10px);
         display: flex;
         align-items: stretch;
         border: 1px solid rgba(255, 255, 255, 0.1);
         border-radius: 4px;
         overflow: hidden;

         @media(max-width: 768px) {
            flex-direction: column;
         }

         & .box-left {
            flex: 1;
            padding: 40px;
            text-align: left;
            
            & h4 {
               color: var(--secondary);
               font-size: 2.2rem;
               margin-bottom: 5px;
               line-height: 1;
            }
         }
         
         & .box-right {
            flex: 1;
            background: rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px;
            
            & .btn {
               width: 100%;
               max-width: 300px;
            }
         }
   }
}

/* =========================================
   9. PAGE SPECIFIC STYLES
   ========================================= */

/* --- TOP PAGE SPECIFIC --- */
.intro-links {
   background: var(--white);
   padding: 40px 0;
   border-bottom: 1px solid #eee;
   margin-top: -1px;

   & .links-grid {
         display: grid;
         grid-template-columns: repeat(3, 1fr);
         gap: 2rem;
         text-align: center;

         @media(max-width: 768px) {
            grid-template-columns: 1fr;
            gap: 1rem;
         }
   }

   & .intro-link-item {
         padding: 20px;
         border: 1px solid #eee;
         border-radius: 8px;
         background: #fdfdfd;
         transition: all 0.3s;
         
         & h3 {
            font-size: 1.1rem;
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
         }

         &:hover {
            background: var(--primary);
            border-color: var(--primary);
            transform: translateY(-3px);
            
            & h3 { color: var(--white); }
            & p { color: rgba(255,255,255,0.8) !important; }
         }
   }
}

/* Top Page Vertical Flow (Different structure from Process Page) */
.flow-section {
   background: var(--white);
   padding: 100px 0;
   
   & .flow-container {
         max-width: 800px;
         margin: 0 auto;
         position: relative;
         
         /* Line */
         &::before {
            content: '';
            position: absolute;
            top: 20px; bottom: 20px; left: 29px;
            width: 2px;
            background: #eee;
            z-index: 0;
         }
   }

   & .step {
         display: flex;
         align-items: flex-start;
         position: relative;
         z-index: 1;
         margin-bottom: 40px;
         
         &:last-child { margin-bottom: 0; }

         & .step-indicator {
            flex-shrink: 0;
            width: 60px;
            text-align: center;
            margin-right: 30px;

            & .step-num {
               width: 60px; height: 60px;
               background: var(--primary);
               color: var(--white);
               border-radius: 50%;
               font-size: 1.5rem;
               font-weight: bold;
               display: flex;
               align-items: center;
               justify-content: center;
               box-shadow: 0 0 0 5px var(--white);
            }
         }

         & .step-content {
            flex: 1;
            background: #fdfdfd;
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 25px;
            display: flex;
            align-items: center;
            gap: 20px;
            transition: all 0.3s;

            &:hover {
               box-shadow: 0 5px 15px rgba(0,0,0,0.05);
               border-color: var(--secondary);
            }

            @media(max-width: 600px) {
               flex-direction: column;
               text-align: center;
            }

            & .text h3 {
               font-size: 1.25rem;
               color: var(--primary);
               margin-bottom: 10px;
            }
            & .text p {
               color: var(--text-light);
               font-size: 0.95rem;
               margin: 0;
            }
         }
   }
}

/* Database / News (Shared Top & Sub) */
.database {
   background: var(--bg-sub);

   & .db-wrapper {
         display: grid;
         grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
         gap: 20px;
   }

   & .candidate-card {
         background: var(--white);
         border: 1px solid #e5e7eb;
         border-radius: var(--radius-md);
         overflow: hidden;
         transition: all 0.3s;
         position: relative;

         &:hover {
            border-color: var(--secondary);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.05);
         }

         & .photo {
            height: 200px;
            position: relative;
            overflow: hidden;

            & img {
               width: 100%; height: 100%;
               object-fit: cover;
               transition: transform 0.5s;
            }
            
            & .country-label {
               position: absolute;
               bottom: 0; right: 0;
               background: var(--primary);
               color: var(--white);
               padding: 4px 12px;
               font-size: 0.8rem;
               font-weight: bold;
            }
         }
         
         &:hover .photo img { transform: scale(1.05); }

         & .info { padding: 1.5rem; }

         & h4 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: var(--primary);
            font-family: "Yu Mincho", serif;
         }

         & .meta {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
            
            &::before {
               content: '';
               width: 6px; height: 6px;
               background: var(--secondary);
               border-radius: 50%;
            }
         }

         & .tags {
            display: flex;
            gap: 5px;
            flex-wrap: wrap;

            & span {
               background: #f0f2f5;
               color: #4b5563;
               padding: 3px 10px;
               font-size: 0.75rem;
               border-radius: 20px;
            }
         }
   }
}

.news-section {
   background: var(--white);
   padding: 100px 0;
   border-top: 1px solid var(--border);

   & .news-grid {
         display: grid;
         grid-template-columns: repeat(4, 1fr);
         gap: 25px;

         @media(max-width: 900px) { grid-template-columns: repeat(2, 1fr); }
         @media(max-width: 600px) { grid-template-columns: 1fr; }
   }

   & .news-card {
         background: var(--white);
         transition: transform 0.3s;
         
         &:hover {
            transform: translateY(-5px);
            & .news-img::after { opacity: 1; }
         }

         & .news-img {
            height: 180px; width: 100%;
            overflow: hidden;
            position: relative;
            border-radius: var(--radius-md);
            margin-bottom: 15px;
            
            & img {
               width: 100%; height: 100%;
               object-fit: cover;
            }
            
            &::after {
               content: 'READ MORE';
               position: absolute;
               top: 0; left: 0; width: 100%; height: 100%;
               background: rgba(30, 42, 74, 0.7);
               color: var(--white);
               display: flex;
               align-items: center;
               justify-content: center;
               font-size: 0.8rem;
               letter-spacing: 0.1em;
               opacity: 0;
               transition: opacity 0.3s;
            }
         }

         & .news-body {
            & .date {
               font-size: 0.75rem;
               color: var(--secondary);
               font-weight: bold;
               display: block;
               margin-bottom: 5px;
               font-family: monospace;
            }

            & h4 {
               font-size: 1rem;
               color: var(--primary);
               margin-bottom: 8px;
               line-height: 1.5;
               font-weight: 600;
            }

            & p {
               font-size: 0.85rem;
               color: #888;
               line-height: 1.6;
               display: -webkit-box;
               -webkit-line-clamp: 2;
               -webkit-box-orient: vertical;
               overflow: hidden;
            }
         }
   }
}

/* --- ABOUT PAGE SPECIFIC --- */
.section-about {
   background-color: var(--primary);
   color: var(--white);
   padding: 140px 0;
   position: relative;
   overflow: hidden;

   &::before {
         content: '';
         position: absolute;
         top: 0; left: 0; right: 0; bottom: 0;
         background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
         z-index: 0;
   }

   & .container {
         position: relative;
         z-index: 1;
         display: flex;
         align-items: center;
         gap: 5rem;

         @media(max-width: 900px) {
            flex-direction: column;
            gap: 3rem;
         }
   }

   & .about-content { flex: 1; }

   & .about-header {
         margin-bottom: 2rem;
         & span {
            color: var(--secondary);
            font-weight: bold;
            letter-spacing: 0.2em;
            display: block;
            margin-bottom: 0.5rem;
         }
         & h2 {
            font-size: 2.8rem;
            font-family: "Yu Mincho", serif;
            color: var(--white);
         }
   }

   & .about-text {
         font-size: 1.05rem;
         line-height: 1.9;
         color: rgba(255,255,255,0.8);
         margin-bottom: 2.5rem;
   }

   & .about-stats {
         display: flex;
         gap: 3rem;
         border-top: 1px solid rgba(255,255,255,0.2);
         padding-top: 2rem;

         & .stat-item {
            & strong {
               display: block;
               font-size: 2rem;
               color: var(--secondary);
               line-height: 1;
               margin-bottom: 0.5rem;
            }
            & span {
               font-size: 0.85rem;
               color: rgba(255,255,255,0.6);
            }
         }
   }

   & .about-image {
         flex: 1;
         position: relative;

         &::before {
            content: '';
            position: absolute;
            top: -20px; right: -20px; width: 100%; height: 100%;
            border: 2px solid var(--secondary);
            border-radius: var(--radius-md);
            z-index: 0;
         }

         & img {
            position: relative;
            z-index: 1;
            border-radius: var(--radius-md);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            filter: brightness(0.9) contrast(1.1);
         }
   }
}

.philosophy-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
   margin-top: 3rem;

   @media (max-width: 900px) { grid-template-columns: 1fr; }
}

.philosophy-card {
   background: var(--white);
   border: 1px solid var(--border);
   padding: 3rem 2rem;
   text-align: center;
   border-radius: var(--radius-md);
   transition: transform 0.3s;
   
   &:hover {
         transform: translateY(-5px);
         box-shadow: 0 10px 20px rgba(0,0,0,0.05);
         border-color: var(--secondary);
   }

   & h3 {
         color: var(--secondary);
         font-family: "Garamond", serif;
         font-size: 1.5rem;
         margin-bottom: 1rem;
         letter-spacing: 0.1em;
   }
   
   & h4 {
         font-size: 1.25rem;
         margin-bottom: 1.5rem;
         color: var(--primary);
   }

   & p {
         color: var(--text-light);
         font-size: 0.95rem;
   }
}

.compliance-section {
   background: var(--bg-sub);
}

.compliance-wrapper {
   background: var(--white);
   padding: 3rem;
   border-radius: var(--radius-md);
   border-left: 5px solid var(--primary);
}

.compliance-list {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
   margin-top: 2rem;

   @media (max-width: 768px) { grid-template-columns: 1fr; }
}

.compliance-item {
   display: flex;
   gap: 1rem;
   align-items: flex-start;

   & .check-icon {
         color: var(--success);
         font-size: 1.2rem;
         font-weight: bold;
         flex-shrink: 0;
         margin-top: 2px;
   }
   
   & h4 {
         color: var(--primary);
         margin-bottom: 0.5rem;
   }
}

.profile-table {
   width: 100%;
   border-collapse: collapse;
   margin-top: 2rem;
   background: var(--white);

   & th, & td {
         padding: 1.5rem;
         border-bottom: 1px solid var(--border);
         text-align: left;
   }

   & th {
         width: 30%;
         background: var(--bg-table-header);
         color: var(--primary);
         font-weight: bold;
   }
   
   @media (max-width: 600px) {
         & th, & td {
            display: block;
            width: 100%;
         }
         & th {
            background: transparent;
            padding-bottom: 0.5rem;
            color: var(--secondary);
         }
         & td {
            padding-top: 0;
            border-bottom: 1px solid var(--border);
         }
   }
}

/* --- FAQ PAGE SPECIFIC --- */
.faq-container {
   max-width: 900px;
   margin: 0 auto;
}

.faq-category {
   margin-bottom: 4rem;
}

.faq-category-title {
   font-size: 1.5rem;
   color: var(--primary);
   margin-bottom: 2rem;
   border-bottom: 2px solid var(--bg-sub);
   padding-bottom: 0.5rem;
   display: flex;
   align-items: center;
   gap: 1rem;

   &::before {
         content: '';
         width: 6px; height: 24px;
         background: var(--secondary);
         display: block;
         border-radius: 2px;
   }
}

.faq-item {
   background: var(--white);
   margin-bottom: 1rem;
   border-radius: var(--radius-md);
   border: 1px solid var(--border);
   box-shadow: 0 2px 5px rgba(0,0,0,0.02);
   transition: all 0.3s;

   &:hover {
         box-shadow: 0 5px 15px rgba(0,0,0,0.05);
         border-color: var(--secondary);
   }

   & details { cursor: pointer; }

   & summary {
         padding: 1.5rem;
         font-weight: bold;
         font-size: 1.1rem;
         color: var(--primary);
         list-style: none;
         display: flex;
         justify-content: space-between;
         align-items: center;
         position: relative;

         &::-webkit-details-marker { display: none; }

         /* Q Icon */
         &::before {
            content: 'Q.';
            color: var(--secondary);
            font-family: "Garamond", serif;
            font-size: 1.4rem;
            margin-right: 1rem;
            font-weight: bold;
         }

         /* Plus Icon */
         &::after {
            content: '';
            width: 12px; height: 12px;
            border-right: 2px solid var(--secondary);
            border-bottom: 2px solid var(--secondary);
            transform: rotate(45deg);
            transition: transform 0.3s;
            margin-left: 1rem;
            margin-top: -5px;
         }
   }

   & details[open] summary::after {
         transform: rotate(-135deg);
         margin-top: 5px;
   }

   & .faq-answer {
         padding: 0 1.5rem 1.5rem 1.5rem;
         color: var(--text-light);
         line-height: 1.8;
         border-top: 1px solid transparent;
         margin-top: 0;
         display: flex;
         align-items: flex-start;

         &::before {
            content: 'A.';
            color: var(--primary);
            font-family: "Garamond", serif;
            font-size: 1.4rem;
            margin-right: 1rem;
            font-weight: bold;
            line-height: 1.4;
         }

         & .faq-answer-text {
            flex: 1;
            padding-top: 5px;
         }
   }

   & details[open] .faq-answer {
         border-top-color: var(--bg-sub);
         padding-top: 1.5rem;
         animation: fadeIn 0.5s ease;
   }

   /* Top page FAQ answer style */
   & .answer {
         padding: 1.5rem 1.5rem 1.5rem 1.5rem;
         color: var(--text-light);
         line-height: 1.8;
         border-top: 1px solid var(--bg-sub);
         margin-top: 0;
   }

   & details[open] .answer {
         animation: fadeIn 0.5s ease;
   }
}

/* --- FOR FOREIGNERS SECTION (TOP PAGE) --- */
.for-foreigners {
   padding: 80px 0;
   background: var(--for-foreigners-bg, var(--bg-note));
   border-top: 1px solid #dcedc8;

   & .msg-box {
         max-width: 800px;
         margin: 0 auto;
         text-align: center;
         background: var(--for-foreigners-box-bg, var(--white));
         padding: 40px;
         border-radius: var(--radius-md);
         box-shadow: 0 5px 15px rgba(0,0,0,0.05);
   }

   & h2 {
         color: var(--for-foreigners-title, #2e7d32);
         margin-bottom: 1.5rem;
         font-size: 1.8rem;
   }

   & p {
         margin-bottom: 2rem;
         font-size: 1.1rem;
         color: var(--for-foreigners-text, #555);
   }
}

/* --- FOR WORKERS PAGE SPECIFIC --- */
.support-container {
   max-width: 900px;
   margin: 0 auto;
}

.emergency-box {
   background: var(--bg-note);
   border: 2px solid var(--success);
   border-radius: var(--radius-md);
   padding: 2.5rem;
   text-align: center;
   margin-bottom: 4rem;
   position: relative;
   overflow: hidden;

   &::before {
         content: '';
         position: absolute;
         top: 0; left: 0; width: 100%; height: 8px;
         background: var(--success);
   }

   & .emergency-title {
         color: var(--success);
         font-size: 1.8rem;
         font-weight: bold;
         margin-bottom: 1.5rem;
         display: flex;
         flex-direction: column;
         gap: 0.5rem;

         & small {
            font-size: 1.1rem;
            color: var(--text-light);
         }
   }

   & .contact-info {
         font-size: 2.5rem;
         font-weight: bold;
         color: var(--text);
         margin-bottom: 1rem;
         font-family: sans-serif;
   }

   & .contact-hours {
         color: var(--text-light);
         margin-bottom: 2rem;
   }
}

.bilingual-section {
   margin-bottom: 4rem;
}

.bilingual-title {
   font-size: 1.6rem;
   color: var(--primary);
   margin-bottom: 2rem;
   border-left: 5px solid var(--secondary);
   padding-left: 1rem;
   display: flex;
   flex-direction: column;

   & span.en {
         font-size: 1rem;
         color: var(--text-light);
         margin-top: 0.2rem;
         font-weight: normal;
   }
}

.support-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;

   @media (max-width: 900px) { grid-template-columns: 1fr; }
}

.support-card {
   background: var(--white);
   border: 1px solid var(--border);
   border-radius: var(--radius-md);
   padding: 2rem;
   text-align: center;
   transition: all 0.3s;

   &:hover {
         box-shadow: 0 10px 25px rgba(0,0,0,0.05);
         border-color: var(--secondary);
   }

   & .support-icon {
         font-size: 3rem;
         margin-bottom: 1rem;
         display: flex;
         justify-content: center;
         
         & svg {
            width: 48px; height: 48px;
            stroke: var(--secondary);
         }
   }

   & h3 {
         color: var(--primary);
         margin-bottom: 1rem;
         font-size: 1.2rem;
   }

   & p {
         color: var(--text-light);
         font-size: 0.9rem;
         line-height: 1.6;
   }
}

.bilingual-text {
   & p { margin-bottom: 1rem; }
   & .en-text {
         color: var(--text-light);
         font-style: italic;
         margin-bottom: 1.5rem;
         display: block;
   }
}

.official-links {
   background: var(--bg-sub);
   padding: 2rem;
   border-radius: var(--radius-md);

   & .link-list {
         list-style: none;
         padding: 0;

         & li {
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border);
            &:last-child {
               border-bottom: none;
               margin-bottom: 0;
               padding-bottom: 0;
            }
         }

         & a {
            color: var(--primary);
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            align-items: center;

            & svg {
               width: 18px; height: 18px;
               stroke: var(--primary);
            }

            &:hover {
               color: var(--secondary);
               & svg { stroke: var(--secondary); }
            }
         }
   }
}

/* --- GREETING & HISTORY SPECIFIC --- */
.ceo-wrapper {
   display: flex;
   gap: 4rem;
   align-items: flex-start;
   margin-bottom: 4rem;

   @media (max-width: 900px) {
         flex-direction: column;
         gap: 2rem;
   }

   & .ceo-image-box {
         flex: 1;
         position: relative;

         & img {
            width: 100%; height: auto;
            border-radius: var(--radius-md);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
         }

         &::before {
            content: '';
            position: absolute;
            top: -20px; left: -20px; width: 100%; height: 100%;
            border: 2px solid var(--secondary);
            border-radius: var(--radius-md);
            z-index: -1;
         }
   }

   & .ceo-content {
         flex: 1.5;

         & .ceo-role {
            color: var(--secondary);
            font-weight: bold;
            letter-spacing: 0.1em;
            display: block;
            margin-bottom: 0.5rem;
            font-size: 1rem;
         }

         & .ceo-name {
            font-family: "Yu Mincho", serif;
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--border);
            padding-bottom: 1rem;
            display: flex;
            align-items: baseline;
            gap: 1rem;
            
            & small {
               font-size: 1rem;
               color: var(--text-light);
               font-family: sans-serif;
            }
         }

         & .ceo-text p {
            margin-bottom: 1.5rem;
            line-height: 2;
            text-align: justify;
            color: var(--text);
            font-size: 1.05rem;
         }
   }
}

.ceo-history {
   background: var(--white);
   padding: 2.5rem;
   border-radius: var(--radius-md);
   margin-top: 3rem;
   border: 1px solid var(--border);

   & h4 {
         color: var(--primary);
         border-left: 4px solid var(--secondary);
         padding-left: 1rem;
         margin-bottom: 1.5rem;
         font-size: 1.25rem;
   }

   & .history-list {
         margin: 0;
         padding: 0;

         & li {
            display: flex;
            margin-bottom: 1rem;
            border-bottom: 1px solid var(--bg-sub);
            padding-bottom: 1rem;

            &:last-child {
               border-bottom: none;
               margin-bottom: 0;
               padding-bottom: 0;
            }

            @media (max-width: 600px) { flex-direction: column; }
         }

         & .history-year {
            font-weight: bold;
            width: 120px;
            flex-shrink: 0;
            color: var(--primary);

            @media (max-width: 600px) {
               margin-bottom: 0.25rem;
               color: var(--secondary);
            }
         }
         
         & .history-desc { color: var(--text); }
   }
}

.history-section {
   position: relative;
   padding: 4rem 0;
}

.history-timeline {
   position: relative;
   max-width: 800px;
   margin: 0 auto;

   &::before {
         content: '';
         position: absolute;
         top: 0; bottom: 0; left: 20px;
         width: 2px;
         background: var(--border);
         z-index: 0;

         @media (max-width: 600px) { left: 15px; }
   }

   & .history-item {
         position: relative;
         margin-bottom: 4rem;
         padding-left: 60px;

         &:last-child { margin-bottom: 0; }

         @media (max-width: 600px) { padding-left: 45px; }
   }

   & .history-dot {
         position: absolute;
         top: 24px; left: 11px;
         width: 20px; height: 20px;
         background: var(--secondary);
         border: 4px solid var(--white);
         border-radius: 50%;
         z-index: 1;
         box-shadow: 0 0 0 1px var(--secondary);

         @media (max-width: 600px) { left: 6px; }
   }

   & .history-content {
         background: var(--white);
         padding: 2rem;
         border-radius: var(--radius-md);
         border: 1px solid var(--border);
         position: relative;
         transition: all 0.3s;

         @media (max-width: 600px) { padding: 1.5rem; }

         &:hover {
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            border-color: var(--secondary);
            &::before { border-color: var(--secondary); }
         }

         &::before {
            content: '';
            position: absolute;
            top: 28px; left: -9px;
            width: 16px; height: 16px;
            background: var(--white);
            border-left: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            transform: rotate(45deg);
         }

         & .history-date {
            display: inline-block;
            font-family: "Garamond", serif;
            font-weight: bold;
            font-size: 1.1rem;
            color: var(--secondary);
            margin-bottom: 0.5rem;
            background: var(--bg-sub);
            padding: 2px 12px;
            border-radius: 20px;
         }

         & .history-title {
            color: var(--primary);
            font-size: 1.3rem;
            margin-bottom: 1rem;
            font-weight: bold;
            line-height: 1.4;
         }
         
         & .history-desc {
            color: var(--text-light);
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
            line-height: 1.7;
         }

         & .history-img {
            width: 100%; height: auto;
            border-radius: 4px;
            overflow: hidden;
            margin-top: 1rem;

            & img {
               width: 100%; height: auto;
               object-fit: cover;
               display: block;
            }
         }
   }
}

/* --- PRIVACY & TERMS SPECIFIC --- */
.privacy-container, .terms-container {
   max-width: 900px;
   margin: 0 auto;
   background: var(--white);
   padding: 4rem;
   border-radius: var(--radius-md);
   box-shadow: 0 5px 20px rgba(0,0,0,0.05);
   border: 1px solid var(--border);

   @media (max-width: 768px) { padding: 2rem; }
}

.policy-section, .terms-section {
   margin-bottom: 3rem;
   &:last-child { margin-bottom: 0; }
}

.policy-title, .terms-title {
   font-size: 1.4rem;
   color: var(--primary);
   margin-bottom: 1.5rem;
   border-left: 5px solid var(--secondary);
   padding-left: 1rem;
   font-weight: bold;
}

.policy-text, .terms-text {
   line-height: 1.8;
   color: var(--text);
   margin-bottom: 1rem;
   text-align: justify;
}

.policy-list, .terms-list {
   margin: 1rem 0 1rem 1.5rem;
   padding: 0;
   list-style-type: disc;
   color: var(--text-light);

   & li { margin-bottom: 0.5rem; }
}

.terms-list { list-style-type: decimal; }

.last-updated {
   text-align: right;
   margin-top: 4rem;
   color: var(--text-light);
   font-size: 0.9rem;
}

/* --- PROCESS / FLOW PAGE SPECIFIC --- */
.timeline-section {
   position: relative;
   padding: 4rem 0;
}

.timeline {
   position: relative;
   max-width: 800px;
   margin: 0 auto;

   &::before {
         content: '';
         position: absolute;
         top: 0; bottom: 0; left: 40px;
         width: 2px;
         background: var(--border);
         z-index: 0;

         @media (max-width: 768px) { left: 20px; }
   }

   & .timeline-item {
         position: relative;
         margin-bottom: 5rem;
         padding-left: 100px;

         &:last-child { margin-bottom: 0; }

         @media (max-width: 768px) {
            padding-left: 60px;
            margin-bottom: 4rem;
         }

         & .timeline-icon {
            position: absolute;
            top: 0; left: 10px;
            width: 60px; height: 60px;
            background: var(--white);
            border: 2px solid var(--secondary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--secondary);
            z-index: 1;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);

            @media (max-width: 768px) {
               width: 40px; height: 40px;
               font-size: 1rem;
               left: 0;
            }
         }

         & .timeline-content {
            background: var(--white);
            padding: 2.5rem;
            border-radius: var(--radius-md);
            border: 1px solid var(--border);
            position: relative;
            transition: transform 0.3s, box-shadow 0.3s;

            @media (max-width: 768px) { padding: 1.5rem; }

            &:hover {
               transform: translateY(-5px);
               box-shadow: 0 10px 25px rgba(0,0,0,0.05);
               border-color: var(--secondary);
               &::before { border-color: var(--secondary); }
            }

            &::before {
               content: '';
               position: absolute;
               top: 20px; left: -11px;
               width: 20px; height: 20px;
               background: var(--white);
               border-left: 1px solid var(--border);
               border-bottom: 1px solid var(--border);
               transform: rotate(45deg);

               @media (max-width: 768px) { top: 10px; }
            }

            & h3 {
               color: var(--primary);
               margin-bottom: 0.75rem;
               font-size: 1.25rem;
            }
            
            & p {
               color: var(--text-light);
               margin-bottom: 0;
            }
         }

         & .flow-arrow {
            position: absolute;
            left: 20px;
            bottom: -55px;
            width: 40px; height: 40px;
            transform: translateX(-50%);
            z-index: 2;
            display: flex;
            justify-content: center;
            align-items: center;
            background: var(--bg);
            padding: 5px 0;

            @media (max-width: 768px) {
               left: 20px;
               bottom: -45px;
            }

            & svg {
               width: 24px; height: 24px;
               stroke: var(--secondary);
               fill: none;
               stroke-width: 2;
               animation: arrowBounce 1.5s infinite ease-in-out;
            }
         }
   }
}

@keyframes arrowBounce {
   0%, 100% { transform: translateY(0); opacity: 0.5; }
   50% { transform: translateY(8px); opacity: 1; }
}

/* --- SERVICE PAGE SPECIFIC --- */
.comparison-wrapper {
   overflow-x: auto;
   margin-top: 3rem;
   background: var(--white);
   border-radius: var(--radius-md);
   box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-table {
   width: 100%;
   border-collapse: collapse;
   min-width: 700px;

   & th, & td {
         padding: 1.5rem;
         border-bottom: 1px solid var(--border);
         text-align: left;
         vertical-align: top;
   }

   & th {
         background: var(--bg-table-header);
         color: var(--primary);
         font-weight: bold;
         width: 20%;
   }

   & th.col-header {
         background: var(--primary);
         color: var(--white);
         text-align: center;
         width: 40%;

         &.secondary { background: #2c3e60; }
   }
}

.other-services-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
   margin-top: 2rem;

   @media (max-width: 900px) { grid-template-columns: 1fr; }
}

.service-card {
   background: var(--white);
   border: 1px solid var(--border);
   padding: 2rem;
   border-radius: var(--radius-md);
   transition: all 0.3s;
   display: flex;
   flex-direction: column;
   align-items: flex-start;

   &:hover {
         transform: translateY(-5px);
         box-shadow: 0 10px 20px rgba(0,0,0,0.05);
         border-color: var(--secondary);
   }

   & .service-icon {
         font-size: 2rem;
         color: var(--secondary);
         margin-bottom: 1rem;
   }

   & h4 {
         color: var(--primary);
         font-size: 1.25rem;
         margin-bottom: 1rem;
   }

   & p {
         color: var(--text-light);
         font-size: 0.95rem;
         line-height: 1.6;
   }
}

/* --- STAFF PAGE SPECIFIC --- */
.staff-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2.5rem;
   margin-top: 2rem;

   @media (max-width: 900px) { grid-template-columns: 1fr; }
}

.staff-card {
   background: var(--white);
   border: 1px solid var(--border);
   border-radius: var(--radius-md);
   overflow: hidden;
   transition: all 0.3s ease;

   &:hover {
         transform: translateY(-5px);
         box-shadow: 0 10px 20px rgba(0,0,0,0.05);
         border-color: var(--secondary);

         & .staff-img img { transform: scale(1.05); }
   }

   & .staff-img {
         height: 300px; width: 100%;
         overflow: hidden;
         background: var(--bg-sub);

         & img {
            width: 100%; height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
         }
   }

   & .staff-info {
         padding: 2rem;
         text-align: center;

         & .staff-role {
            color: var(--secondary);
            font-size: 0.85rem;
            font-weight: bold;
            letter-spacing: 0.1em;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            display: block;
         }

         & .staff-name {
            color: var(--primary);
            font-size: 1.4rem;
            font-family: "Yu Mincho", serif;
            margin-bottom: 0.25rem;
            font-weight: bold;
         }

         & .staff-dept {
            color: var(--text-light);
            font-size: 0.85rem;
            margin-bottom: 1.5rem;
            display: block;
         }

         & .staff-comment {
            border-top: 1px solid var(--border);
            padding-top: 1.25rem;
            font-size: 0.95rem;
            color: var(--text);
            text-align: left;
            line-height: 1.7;
         }
   }
}

/* --- DOWNLOAD PAGE SPECIFIC --- */
.download-category { margin-bottom: 4rem; }

.download-category-title {
   font-size: 1.5rem;
   color: var(--primary);
   margin-bottom: 2rem;
   border-left: 5px solid var(--secondary);
   padding-left: 1rem;
   font-weight: bold;
   display: flex;
   align-items: center;
}

.download-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;

   @media (max-width: 900px) { grid-template-columns: repeat(2, 1fr); }
   @media (max-width: 600px) { grid-template-columns: 1fr; }
}

.download-card {
   background: var(--white);
   border: 1px solid var(--border);
   border-radius: var(--radius-md);
   overflow: hidden;
   transition: all 0.3s;
   display: flex;
   flex-direction: column;

   &:hover {
         transform: translateY(-5px);
         box-shadow: 0 10px 20px rgba(0,0,0,0.08);
         border-color: var(--secondary);

         & .download-thumb img { transform: scale(1.05); }
   }

   & .download-thumb {
         height: 200px;
         background: var(--bg-sub);
         position: relative;
         display: flex;
         align-items: center;
         justify-content: center;
         overflow: hidden;

         & img {
            width: 100%; height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
         }
   }

   & .pdf-icon-placeholder {
         width: 60px; height: 60px;
         color: var(--text-light);
   }

   & .download-info {
         padding: 1.5rem;
         flex: 1;
         display: flex;
         flex-direction: column;

         & .download-title {
            font-size: 1.1rem;
            color: var(--primary);
            margin-bottom: 0.5rem;
            font-weight: bold;
            line-height: 1.4;
         }

         & .download-desc {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 1rem;
            flex: 1;
         }

         & .file-meta {
            font-size: 0.8rem;
            color: var(--gray);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;

            & .file-type {
               background: #ffebee;
               color: #c62828;
               padding: 2px 6px;
               border-radius: 3px;
               font-weight: bold;
               font-size: 0.75rem;
            }
         }
   }
}

/* --- ARCHIVE PAGE SPECIFIC --- */
.posts-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
   margin-top: 3rem;

   @media (max-width: 900px) { grid-template-columns: repeat(2, 1fr); }
   @media (max-width: 600px) { grid-template-columns: 1fr; }
}

.post-card {
   background: var(--white);
   border: 1px solid var(--border);
   border-radius: var(--radius-md);
   overflow: hidden;
   transition: all 0.3s;
   display: flex;
   flex-direction: column;

   &:hover {
         transform: translateY(-5px);
         box-shadow: 0 10px 20px rgba(0,0,0,0.08);
         border-color: var(--secondary);

         & .post-thumb img { transform: scale(1.05); }
   }

   & .post-thumb {
         height: 200px;
         background: var(--bg-sub);
         position: relative;
         overflow: hidden;

         & a {
            display: block;
            width: 100%;
            height: 100%;
         }

         & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
         }
   }

   & .post-info {
         padding: 1.5rem;
         flex: 1;
         display: flex;
         flex-direction: column;
   }
}

/* --- ACCESS PAGE SPECIFIC --- */
.map-container {
   width: 100%;
   height: 450px;
   background: #ddd;
   border-radius: var(--radius-md);
   overflow: hidden;
   margin-bottom: 3rem;
   border: 1px solid var(--border);
   position: relative;

   & iframe { width: 100%; height: 100%; border: 0; }

   & .map-placeholder {
         width: 100%; height: 100%;
         display: flex;
         align-items: center;
         justify-content: center;
         background-color: #e0e0e0;
         color: var(--text-light);
         font-size: 1.2rem;
         flex-direction: column;
         
         & span {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: var(--secondary);
         }
   }
}

.access-details {
   background: var(--white);
   padding: 3rem;
   border-radius: var(--radius-md);
   border: 1px solid var(--border);
   box-shadow: 0 10px 30px rgba(0,0,0,0.05);

   @media (max-width: 768px) { padding: 2rem; }
}

.address-box {
   border-bottom: 1px solid var(--border);
   padding-bottom: 2rem;
   margin-bottom: 2rem;

   & h3 {
         color: var(--primary);
         font-size: 1.5rem;
         margin-bottom: 1rem;
         display: flex;
         align-items: center;
         gap: 10px;
   }

   & p {
         font-size: 1.1rem;
         line-height: 1.8;
   }
}

.access-mode-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;

   @media (max-width: 768px) { grid-template-columns: 1fr; }
}

.access-mode {
   background: var(--bg-sub);
   padding: 1.5rem;
   border-radius: var(--radius-md);

   & h4 {
         color: var(--primary);
         font-size: 1.1rem;
         margin-bottom: 1rem;
         display: flex;
         align-items: center;
         gap: 10px;
         border-bottom: 2px solid var(--white);
         padding-bottom: 0.5rem;
   }

   & .access-mode-icon {
         color: var(--secondary);
         font-size: 1.3rem;
   }

   & ul { padding-left: 0; }

   & li {
         position: relative;
         padding-left: 1.2rem;
         margin-bottom: 0.8rem;
         font-size: 0.95rem;
         line-height: 1.6;

         &::before {
            content: '';
            position: absolute;
            left: 0; top: 10px;
            width: 6px; height: 6px;
            background: var(--secondary);
            border-radius: 50%;
         }
   }
}

/* --- CONTACT PAGE SPECIFIC --- */
.form-container {
   max-width: 800px;
   margin: 0 auto;
   background: var(--white);
   padding: 3rem;
   border-radius: var(--radius-md);
   box-shadow: 0 10px 30px rgba(0,0,0,0.05);
   border: 1px solid var(--border);

   @media (max-width: 600px) { padding: 1.5rem; }
}

.form-group { margin-bottom: 2rem; }

.form-label {
   display: block;
   margin-bottom: 0.8rem;
   font-weight: bold;
   color: var(--primary);
   font-size: 0.95rem;

   & span.required {
         background: var(--danger);
         color: var(--white);
         font-size: 0.7rem;
         padding: 2px 6px;
         border-radius: 2px;
         margin-left: 8px;
         vertical-align: middle;
   }
   
   & span.optional {
         background: var(--gray);
         color: var(--white);
         font-size: 0.7rem;
         padding: 2px 6px;
         border-radius: 2px;
         margin-left: 8px;
         vertical-align: middle;
   }
}

.form-control {
   width: 100%;
   padding: 12px 15px;
   border: 1px solid var(--border);
   border-radius: 4px;
   font-size: 1rem;
   transition: all 0.3s;
   background-color: #fdfdfd;
   font-family: inherit;

   &:focus {
         outline: none;
         border-color: var(--secondary);
         box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
         background-color: var(--white);
   }
}

textarea.form-control {
   height: 150px;
   resize: vertical;
}

.radio-group, .checkbox-group {
   display: flex;
   gap: 1.5rem;
   flex-wrap: wrap;
}

.custom-control {
   display: flex;
   align-items: center;
   cursor: pointer;
   position: relative;
   padding-left: 2rem;
   user-select: none;

   & input {
         position: absolute;
         opacity: 0;
         cursor: pointer;
         height: 0; width: 0;
   }

   & .checkmark {
         position: absolute;
         top: 0; left: 0;
         height: 20px; width: 20px;
         background-color: #eee;
         border-radius: 4px;
         transition: all 0.2s;
   }
   
   &.radio-control .checkmark { border-radius: 50%; }

   &:hover input ~ .checkmark { background-color: #ddd; }

   & input:checked ~ .checkmark { background-color: var(--secondary); }

   & .checkmark:after {
         content: "";
         position: absolute;
         display: none;
   }

   & input:checked ~ .checkmark:after { display: block; }

   &.checkbox-control .checkmark:after {
         left: 7px; top: 3px;
         width: 5px; height: 10px;
         border: solid white;
         border-width: 0 2px 2px 0;
         transform: rotate(45deg);
   }
   
   &.radio-control .checkmark:after {
         top: 6px; left: 6px;
         width: 8px; height: 8px;
         border-radius: 50%;
         background: white;
   }
}

.captcha-area {
   background: var(--bg-sub);
   padding: 1.5rem;
   border-radius: 4px;
   margin-bottom: 2rem;
   display: flex;
   align-items: center;
   gap: 1rem;
   flex-wrap: wrap;

   @media (max-width: 600px) {
         flex-direction: column;
         align-items: stretch;
   }
}

.captcha-display {
   background: var(--white);
   padding: 10px 20px;
   font-family: "Courier New", monospace;
   font-size: 1.5rem;
   font-weight: bold;
   letter-spacing: 5px;
   border: 1px solid var(--border);
   color: var(--primary);
   user-select: none;
   border-radius: 4px;
   background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(0,0,0,0.05) 5px, rgba(0,0,0,0.05) 10px);

   @media (max-width: 600px) { text-align: center; }
}

.reload-btn {
   background: none;
   border: none;
   cursor: pointer;
   color: var(--text-light);
   font-size: 1.2rem;
   transition: color 0.3s;
   
   &:hover { color: var(--primary); }
}

.terms-box {
   height: 150px;
   overflow-y: scroll;
   border: 1px solid var(--border);
   padding: 1rem;
   font-size: 0.85rem;
   background: #fdfdfd;
   margin-bottom: 1rem;
   color: var(--text-light);
}

.submit-wrapper {
   text-align: center;
   margin-top: 2rem;
}

.btn-submit {
   width: 100%;
   max-width: 300px;
   font-size: 1.1rem;
   padding: 18px;

   &:disabled {
         background: var(--gray);
         border-color: var(--gray);
         cursor: not-allowed;
         opacity: 0.7;
         box-shadow: none;
         transform: none !important;
         
         &::before { display: none; }
   }
}

/* --- ESTIMATE PAGE SPECIFIC --- */
.estimator-wrapper {
   display: flex;
   gap: 3rem;
   align-items: flex-start;

   @media (max-width: 900px) { flex-direction: column; }
}

.estimator-form {
   flex: 1.5;
   background: var(--white);
   padding: 3rem;
   border-radius: var(--radius-md);
   box-shadow: 0 5px 20px rgba(0,0,0,0.05);
   border: 1px solid var(--border);
}

.est-group { margin-bottom: 2.5rem; }

.est-label {
   display: block;
   margin-bottom: 1rem;
   font-weight: bold;
   color: var(--primary);
   font-size: 1.1rem;
   border-left: 4px solid var(--secondary);
   padding-left: 10px;
}

.est-control {
   width: 100%;
   padding: 12px 15px;
   border: 1px solid var(--border);
   border-radius: 4px;
   font-size: 1rem;
   background-color: #fdfdfd;
}

.est-radio-group {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 1rem;
}

.est-radio-label {
   display: block;
   position: relative;
   cursor: pointer;

   & input {
         position: absolute;
         opacity: 0;
         cursor: pointer;
   }

   & input:checked ~ .est-radio-box {
         border-color: var(--secondary);
         background-color: #fff9f0;
         box-shadow: 0 5px 15px rgba(197, 160, 89, 0.15);
   }
   
   & input:checked ~ .est-radio-box .est-icon { color: var(--secondary); }
}

.est-radio-box {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   padding: 1.5rem;
   border: 2px solid var(--border);
   border-radius: var(--radius-md);
   transition: all 0.3s;
   height: 100%;
   text-align: center;
}

.est-icon {
   font-size: 2rem;
   margin-bottom: 0.5rem;
   color: var(--text-light);
}

.est-title {
   font-weight: bold;
   color: var(--primary);
   margin-top: 0.5rem;
}

.est-check-group {
   display: flex;
   flex-direction: column;
   gap: 1rem;
}

.est-check-label {
   display: flex;
   align-items: center;
   cursor: pointer;
   padding: 1rem;
   border: 1px solid var(--border);
   border-radius: 4px;
   transition: all 0.2s;

   &:hover { background-color: var(--bg); }

   & input {
         margin-right: 1rem;
         transform: scale(1.2);
         accent-color: var(--secondary);
   }
}

.result-panel {
   flex: 1;
   background: var(--primary);
   color: var(--white);
   padding: 2.5rem;
   border-radius: var(--radius-md);
   position: sticky;
   top: 100px;
   box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.result-title {
   font-size: 1.5rem;
   border-bottom: 1px solid rgba(255,255,255,0.2);
   padding-bottom: 1rem;
   margin-bottom: 2rem;
   text-align: center;
   font-family: "Yu Mincho", serif;
}

.result-row {
   display: flex;
   justify-content: space-between;
   align-items: baseline;
   margin-bottom: 1.5rem;
}

.result-label {
   font-size: 0.95rem;
   color: rgba(255,255,255,0.8);
}

.result-value {
   font-size: 1.25rem;
   font-weight: bold;
   font-family: "Garamond", serif;
}

.result-total {
   margin-top: 2rem;
   padding-top: 2rem;
   border-top: 2px solid var(--secondary);

   & .result-row { margin-bottom: 0.5rem; }
}

.total-price {
   font-size: 2.5rem;
   color: var(--secondary);
   text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.tax-note {
   font-size: 0.8rem;
   text-align: right;
   opacity: 0.6;
   margin-bottom: 1rem;
}

.disclaimer-box {
   margin-top: 2rem;
   background: rgba(255,255,255,0.1);
   padding: 1rem;
   border-radius: 4px;
   font-size: 0.85rem;
   line-height: 1.6;
}

/* --- PROFILE (SINGLE) PAGE SPECIFIC --- */
.profile-container {
   max-width: 1000px;
   margin: 0 auto;
   background: var(--white);
   border-radius: var(--radius-md);
   box-shadow: 0 5px 20px rgba(0,0,0,0.05);
   border: 1px solid var(--border);
   overflow: hidden;
}

.profile-header-box {
   display: flex;
   border-bottom: 1px solid var(--border);
   background: linear-gradient(to right, #ffffff 50%, var(--bg-sub) 50%);

   @media (max-width: 768px) {
         flex-direction: column;
         background: var(--white);
   }
}

.profile-image-area {
   flex: 1;
   padding: 3rem;
   background: var(--white);
   display: flex;
   align-items: center;
   justify-content: center;
}

.profile-photo {
   width: 250px;
   height: 320px;
   object-fit: cover;
   border-radius: var(--radius-md);
   box-shadow: 0 10px 25px rgba(0,0,0,0.1);
   background-color: #ddd;
}

.profile-basic-info {
   flex: 1.2;
   padding: 3rem;
   background: var(--bg-sub);
   display: flex;
   flex-direction: column;
   justify-content: center;
}

.profile-id {
   display: inline-block;
   background: var(--primary);
   color: var(--white);
   padding: 4px 12px;
   border-radius: 4px;
   font-size: 0.9rem;
   margin-bottom: 1rem;
   letter-spacing: 0.1em;
   align-self: flex-start;
}

.profile-name-placeholder {
   font-size: 2.5rem;
   font-family: "Yu Mincho", serif;
   color: var(--primary);
   margin-bottom: 1.5rem;
   font-weight: bold;
}

.info-list { margin-bottom: 1.5rem; }

.info-row {
   display: flex;
   margin-bottom: 0.8rem;
   border-bottom: 1px solid rgba(0,0,0,0.05);
   padding-bottom: 0.5rem;
}

.info-label {
   width: 100px;
   color: var(--text-light);
   font-weight: bold;
   flex-shrink: 0;
}

.info-value {
   color: var(--text);
   font-weight: 500;
}

.profile-content { padding: 3rem; }

.detail-section {
   margin-bottom: 3rem;
   &:last-child { margin-bottom: 0; }
}

.detail-title {
   font-size: 1.4rem;
   color: var(--primary);
   margin-bottom: 1.5rem;
   border-left: 5px solid var(--secondary);
   padding-left: 1rem;
   font-weight: bold;
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.spec-table {
   width: 100%;
   border-collapse: collapse;
   font-size: 0.95rem;

   & th, & td {
         padding: 1rem;
         border: 1px solid var(--border);
         text-align: left;
   }

   & th {
         background: var(--bg-table-header);
         color: var(--primary);
         width: 25%;
         font-weight: bold;
   }
}

.skill-tags {
   display: flex;
   flex-wrap: wrap;
   gap: 0.8rem;
}

.skill-tag {
   background: var(--white);
   border: 1px solid var(--secondary);
   color: var(--secondary);
   padding: 6px 16px;
   border-radius: 20px;
   font-size: 0.9rem;
   font-weight: bold;
}

.career-list {
   list-style: none;
   padding: 0;
}

.career-item {
   display: flex;
   margin-bottom: 1rem;
   border-bottom: 1px solid var(--bg-sub);
   padding-bottom: 1rem;
}

.career-year {
   width: 120px;
   font-weight: bold;
   color: var(--text-light);
   flex-shrink: 0;
}

.pr-box {
   background: var(--bg-note);
   padding: 2rem;
   border-radius: var(--radius-md);
   color: var(--text);
   line-height: 1.8;
   font-size: 1rem;
   border: 1px solid #dcedc8;
}

/* =========================================
   10. ANIMATIONS & UTILITIES
   ========================================= */
.return-btn-area {
   text-align: center;
   margin-top: 4rem;
}

@keyframes fadeIn {
   from { opacity: 0; transform: translateY(5px); }
   to { opacity: 1; transform: translateY(0); }
}