/*
Theme Name: BFJ Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: Custom theme for BFJ website
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bfj-theme
*/

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Gotham",
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: #000;
  line-height: 1.6;
  background-color: #f3f5f6;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Container */
.container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.site-header {
  background-color: transparent;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
  overflow: visible;
}

.site-header.header-scrolled {
  background-color: #f3f5f6;
}

.site-header.header-megamenu-active {
  background-color: #fff;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.header-inner {
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  width: 79px;
  min-width: 79px;
  height: 46px;
}

/* Navigation Menu */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 67px;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 48px;
  align-items: center;
  padding-left: 30px;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  color: #000;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 5px 0;
}

.main-navigation a:hover {
  color: #c8191e;
}

/* Dropdown indicator for "Our Service" */
.main-navigation .menu-item-has-children > a::after {
  content: "";
  color: #c8191e;
  margin-left: 6px;
  width: 6px;
  height: 6px;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 3px;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  height: 543px;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
  pointer-events: none;
}

.mega-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu-inner {
  padding: 60px 80px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.mega-menu-header {
  padding-bottom: 20px;
}

.mega-menu-header h2 {
  font-size: 70px;
  font-weight: 700;
  color: #000;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.mega-menu-subtitle {
  font-size: 26px;
  color: #000;
  margin: 0;
  font-weight: 400;
}

.mega-menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 30px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.mega-menu-item {
  position: relative;
  width: 230px;
}

.mega-menu-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background-color: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  border-bottom: 1px solid #999999;
}

.mega-menu-item a:hover {
  border-bottom-color: #000;
}

.mega-menu-label {
  font-size: 18px;
  font-weight: 500;
  color: #999999;
  transition: color 0.3s ease;
}

.mega-menu-item a:hover .mega-menu-label {
  color: #000;
}

.mega-menu-icon {
  width: 30px;
  height: 30px;
  background-color: #999999;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.mega-menu-icon-arrow {
  color: #fff;
  font-size: 16px;
  transition: opacity 0.3s ease;
  display: block;
}

.mega-menu-icon::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 12px;
  background-image: url("images/smile-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mega-menu-item a:hover .mega-menu-icon {
  background-color: #c8191e;
}

.mega-menu-item a:hover .mega-menu-icon-arrow {
  opacity: 0;
}

.mega-menu-item a:hover .mega-menu-icon::after {
  opacity: 1;
}

/* Hide mega menu on mobile */
@media (max-width: 769px) {
  .mega-menu {
    display: none;
  }
}

/* Contact Button */
.contact-button {
  background-color: #c8191e;
  color: #fff !important;
  padding: 10px 50px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 150px;
  height: 40px;
  line-height: 20px;
  text-align: center;
}

.contact-button::before {
  content: "Contact";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  color: #fff;
}

.contact-button::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 10px;
  background-image: url("images/smile-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.contact-button:hover::before {
  top: 25%;
}

.contact-button:hover::after {
  bottom: 10px;
  opacity: 1;
}

/* Hero Section */
.main-content {
  padding-top: 60px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.fv-hero {
  background-color: #f5f5f5;
  text-align: center;
  flex-shrink: 0;
  height: 90vh;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fv-hero .container {
  position: relative;
  z-index: 1;
}

.fv-hero .hero-absolute-image {
  position: absolute;
  top: 49%;
  left: 66%;
  transform: translate(-50%, -50%);
  width: 1216px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.fv-hero h1 {
  font-size: 97px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 37px;
  color: #000;
}

.fv-hero h1 .highlight {
  color: #c8191e;
}

.fv-hero p {
  font-size: 24px;
  color: #000;
  font-weight: 500;
}

/* About Section in FV */
.fv-about {
  background-color: #c8191e;
  color: #fff;
  padding: 150px 0 120px;
  border-radius: 60px 60px 0 0;
  width: calc(100% - 30px);
  flex: 1;
  overflow: hidden;
  position: relative;
  z-index: 10;
  margin-top: 70vh;
  margin-left: 15px;
  margin-right: 15px;
  transition:
    width 0.3s ease,
    margin-left 0.3s ease,
    margin-right 0.3s ease,
    border-radius 0.3s ease;
}

.fv-about.scrolled {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
}

.fv-about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.fv-about h2 {
  font-size: 80px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.fv-about .subtitle {
  font-size: 34px;
  margin-bottom: 80px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.fv-about-content p {
  font-size: 27px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.fv-about-content .fade-in-text {
  opacity: 0.2;
  transition: opacity 0.6s ease;
}

.fv-about-content .fade-in-text.visible {
  opacity: 1;
}

/* About Button */
.fv-about-button-section {
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 20px 0;
}

.about-text-scroll {
  display: flex;
  gap: 40px;
  animation: scrollLeft 20s linear infinite;
  white-space: nowrap;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.about-text-item {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
}

.about-button-link {
  display: flex;
  align-items: center;
  gap: 40px;
  text-decoration: none;
  flex-shrink: 0;
}

.about-text {
  font-size: 120px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1;
  transition: all 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.about-button-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.about-button-circle .arrow {
  color: #c8191e;
  font-size: 40px;
  transition: opacity 0.3s ease;
  display: block;
}

.about-button-circle::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 30px;
  background-image: url("images/smile-arrow-large.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fv-about-button-section:hover .about-button-circle {
  background-color: #f8f8f8;
  transform: scale(1.05);
}

.fv-about-button-section:hover .about-button-circle .arrow {
  opacity: 0;
}

.fv-about-button-section:hover .about-button-circle::after {
  opacity: 1;
}

/* Our Service Section */
.our-service {
  background-color: #ffffff;
  padding: 130px 0;
  border-top: 3px solid #c8191e;
  position: relative;
  z-index: 10;
}

.service-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 60px 0 130px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

@media (max-width: 1000px) {
  .service-container {
    grid-template-columns: 1fr;
  }
}

.service-content {
  padding-right: 0;
}

.service-header {
  display: flex;
  align-items: end;
  gap: 15px;
  margin-bottom: 30px;
  padding-top: 20px;
  text-decoration: none;
}

.service-header h2 {
  font-size: 70px;
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}

.service-header:hover .service-icon {
  transform: scale(1.05);
}

.service-header:hover .service-icon-arrow {
  opacity: 0;
}

.service-header:hover .service-icon::after {
  opacity: 1;
}

.service-icon {
  width: 50px;
  height: 50px;
  background-color: #c8191e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.service-icon-arrow {
  color: #fff;
  font-size: 22px;
  transition: opacity 0.3s ease;
  display: block;
}

.service-icon::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 20px;
  background-image: url("images/smile-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-icon:hover {
  transform: scale(1.05);
}

.service-icon:hover .service-icon-arrow {
  opacity: 0;
}

.service-icon:hover::after {
  opacity: 1;
}

.service-subtitle {
  font-size: 32px;
  color: #000;
  margin-bottom: 40px;
  line-height: 1.4;
}

.service-description {
  margin-bottom: 40px;
}

.service-description p {
  font-size: 16px;
  line-height: 1.8;
  color: #000;
  margin-bottom: 10px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-item {
  background-color: #f8f8f8;
  transition: all 0.3s ease;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  max-width: 450px;
}

.service-item-header {
  display: flex;
  align-items: center;
  border-radius: 4px;
  gap: 30px;
  padding: 20px 20px;
  background-color: #f8f8f8;
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateX(10px);
}

.service-item:hover .service-item-header {
  background-color: #c8191e;
}

.service-number {
  font-size: 18px;
  font-weight: 400;
  min-width: 50px;
  color: #000000;
  transition: color 0.3s ease;
}

.service-item:hover .service-number {
  color: #fff;
}

.service-title {
  font-size: 22px;
  font-weight: 600;
  flex: 1;
  transition: color 0.3s ease;
  color: #000;
}

.service-item:hover .service-title {
  color: #fff;
}

.service-arrow {
  width: 50px;
  height: 50px;
  border: 2px solid;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  border-color: #c8191e;
  background-color: #c8191e;
  color: #fff;
}

.service-arrow-icon {
  transition: opacity 0.3s ease;
}

.service-item:hover .service-arrow {
  background-color: #fff;
  border-color: #fff;
}

.service-arrow-smile {
  position: absolute;
  width: 23px;
  height: 10px;
  background-image: url("images/smile-arrow-small.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-item:hover .service-arrow-icon {
  opacity: 0;
}

.service-item:hover .service-arrow-smile {
  opacity: 1;
}

.service-item-description {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 20px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.service-item:hover .service-item-description {
  max-height: 200px;
  opacity: 1;
  padding: 20px 20px 30px;
}

.service-item-description p:first-child {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.service-item-description p:last-child {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

.service-images {
  position: relative;
  top: -30px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

/* Works & UserVoice Section */
.works-uservoice {
  background-color: #f3f5f6;
  padding: 102px 0;
  position: relative;
  z-index: 10;
}

.works-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 130px;
}

.works-title {
  font-size: 80px;
  font-weight: 700;
  color: #000;
  margin: 0 0 20px 0;
  line-height: 1;
}

.works-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: #666;
  margin-bottom: 60px;
}

.works-grid {
  display: flex;
  gap: 60px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.works-grid::-webkit-scrollbar {
  height: 8px;
}

.works-grid::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 4px;
}

.works-grid::-webkit-scrollbar-thumb {
  background: #c8191e;
  border-radius: 4px;
}

.works-item {
  flex: 0 0 400px;
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.works-image {
  width: 100%;
  height: 330px;
  border-radius: 30px;
  overflow: hidden;
}

.works-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.works-content {
  padding: 25px;
}

.works-item-title {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.works-item-subtitle {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #000;
}

.works-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: #000;
}

/* Join Our Team Section */
.join-our-team {
  --join-bg-width: 380;
  --join-bg-height: 550;
  --join-bg-radius: 190;
  position: relative;
  background-color: #ffffff;
}

.join-sticky-container {
  position: relative;
  height: 250vh;
}

@media (max-width: 768px) {
  .join-sticky-container {
    height: 230vh;
  }

  .works-grid {
    gap: 20px;
  }
}

.join-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ffffff;
}

.join-bg-mask {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 550px;
  transform: translate(-50%, -50%);
  border-radius: 190px;
  overflow: hidden;
  will-change: width, height, border-radius;
  z-index: 1;
}

.join-bg-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  background-image: url("images/join-team-bg.png");
  background-size: cover;
  background-position: center;
}

.join-container {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
  padding: 0 60px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.join-title {
  font-size: 77px;
  font-weight: 700;
  color: #c8191e;
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  will-change: transform;
}

.join-content {
  opacity: 0;
  overflow: visible;
  will-change: opacity, transform;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  pointer-events: none;
  margin-top: 48px;
}

.join-subtitle {
  font-size: 34px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.4;
}

.join-description {
  margin-bottom: 50px;
  text-align: center;
}

.join-description p {
  font-size: 18px;
  line-height: 1.9;
  color: #fff;
  margin-bottom: 8px;
}

.join-button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.join-button-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: #c8191e;
  color: #fff;
  border-radius: 50%;
  font-size: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.join-button-arrow {
  font-size: 25px;
  transition: opacity 0.3s ease;
  display: block;
}

.join-button::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 32px;
  background-image: url("images/smile-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.join-button:hover {
  transform: scale(1.1);
}

.join-button:hover .join-button-arrow {
  opacity: 0;
}

.join-button:hover::after {
  opacity: 1;
}

.join-button-wrapper:hover .join-button {
  transform: scale(1.1);
}

.join-button-wrapper:hover .join-button .join-button-arrow {
  opacity: 0;
}

.join-button-wrapper:hover .join-button::after {
  opacity: 1;
}

/* News Section */
.news-section {
  background-color: #f3f5f6;
  padding: 110px 0;
  position: relative;
  z-index: 10;
}

.news-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 130px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 6vw;
  align-items: start;
}

@media (max-width: 1000px) {
  .news-container {
    grid-template-columns: 1fr;
    padding: 0 60px;
  }
}

.news-header {
  display: flex;
  align-items: end;
  gap: 40px;
  margin-bottom: 20px;
  cursor: pointer;
  text-decoration: none;
}

.news-header h2 {
  font-size: 80px;
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 1;
}

.news-header:hover .news-icon {
  transform: scale(1.05);
}

.news-header:hover .news-icon-arrow {
  opacity: 0;
}

.news-header:hover .news-icon::after {
  opacity: 1;
}

.news-icon {
  width: 50px;
  height: 50px;
  background-color: #c8191e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.news-icon-arrow {
  color: #fff;
  font-size: 22px;
  transition: opacity 0.3s ease;
  display: block;
}

.news-icon::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 20px;
  background-image: url("images/smile-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  margin: 0;
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  border-bottom: 1px solid #d0d0d0;
  position: relative;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item-link {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 30px 0;
  padding-right: 60px;
  transition: all 0.3s ease;
  position: relative;
}

.news-item-link:hover {
  transform: translateX(20px);
}

.news-item-link::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  background-color: #c8191e;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.news-item-link:hover::after {
  opacity: 1;
}

.news-date {
  font-size: 16px;
  font-weight: 300;
  color: #000;
}

.news-category {
  display: inline-block;
  width: 100px;
  height: 24px;
  border: 1px solid #c8191e;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #c8191e;
  text-align: center;
  padding: 0 10px;
  white-space: nowrap;
}

.news-title {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin: 0;
  line-height: 1.6;
}

/* News Page Styles */
.news-page {
  background-color: #edf0f2;
}

.shared-hero {
  background-color: #edf0f2;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 120px;
}

.shared-hero-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  margin-bottom: 100px;
}

.shared-hero-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.news-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 10px;
}

.news-page .news-title {
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  margin: 0;
}

.news-page .news-subtitle {
  font-size: 18px;
  color: #000;
  margin: 0;
}

.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  position: absolute;
  bottom: 25vh;
  left: 120px;
  right: 0;
}

.news-hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.news-nav-card {
  background-color: #c8191e;
  border-radius: 20px 0 0 20px;
  padding: 45px 0 45px 65px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 400px;
}

.news-nav-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 5px 0;
}

.news-nav-item.active {
  font-weight: 700;
}

.news-list-section {
  background-color: #f3f5f6;
  padding: 170px 0 30px;
  position: relative;
  z-index: 10;
  margin-top: 72vh;
}

.news-list-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
}

.news-list-sidebar {
  position: sticky;
  top: 140px;
  align-self: start;
}

.sidebar-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  padding-bottom: 20px;
  border-bottom: 1px dashed #d6d7d8;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
}

.category-item {
  margin: 0;
}

.category-item a {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 400;
  color: #666;
  transition: color 0.3s ease;
  position: relative;
}

.category-item a::before {
  content: "●";
  margin-right: 10px;
  font-size: 10px;
}

.category-item.active a,
.category-item a:hover {
  color: #c8191e;
  font-weight: 600;
}

.news-list-main {
  border-radius: 8px;
  min-height: 600px;
}

.news-items {
  display: flex;
  flex-direction: column;
}

.news-list-main .news-item {
  border-bottom: 1px solid #d0d0d0;
}

.news-list-main .news-item:last-child {
  border-bottom: none;
}

.news-list-main .news-item-link {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 30px 0;
  transition: all 0.3s ease;
}

.news-list-main .news-item-link:hover {
  opacity: 0.7;
}

.news-list-main .news-date {
  font-size: 16px;
  font-weight: 300;
  color: #000;
  flex-shrink: 0;
}

.news-list-main .news-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 24px;
  border: 1px solid #c8191e;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #c8191e;
  text-align: center;
  padding: 0 12px;
  flex-shrink: 0;
}

.news-list-main .news-title {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

.no-posts {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 16px;
}

.news-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.news-pagination .page-numbers {
  display: inline-flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.news-pagination .page-numbers li {
  margin: 0;
}

.news-pagination a,
.news-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  background-color: transparent;
}

.news-pagination a:hover {
  background-color: #c8191e;
  color: #fff;
}

.news-pagination .current {
  background-color: #c8191e;
  color: #fff;
}

.news-pagination .prev,
.news-pagination .next {
  font-size: 20px;
}

/* News Page - Mobile Styles */
@media (max-width: 768px) {
  .shared-hero {
    padding: 30px 35px 0px;
    height: 40vh;
    position: fixed;
  }

  .shared-hero-wrapper {
    margin-bottom: 0;
  }

  .shared-hero-left {
    gap: 0px;
  }

  .news-page .news-title {
    font-size: 40px;
  }

  .news-page .news-subtitle {
    font-size: 16px;
  }

  .news-breadcrumb {
    bottom: 5vh;
    left: 35px;
    font-size: 10px;
  }

  .news-list-section {
    margin-top: 25vh;
    padding: 20px 0 80px;
  }

  .news-list-container {
    padding: 0 30px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .news-list-sidebar {
    position: static;
    top: auto;
    overflow: visible;
  }

  .sidebar-title {
    font-size: 20px;
    padding-bottom: 0;
    border-bottom: none;
  }

  .category-list {
    flex-direction: row;
    gap: 10px;
    padding-top: 10px;
    overflow-x: scroll;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: 30px;
    padding-right: 30px;
  }

  .category-list::-webkit-scrollbar {
    display: none;
  }

  .category-item {
    flex-shrink: 0;
  }

  .category-item a {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    white-space: nowrap;
  }

  .category-item a::before {
    display: none;
  }

  .category-item.active a {
    background-color: #c8191e;
    color: #fff;
    border-color: #c8191e;
  }

  .news-list-main {
    padding: 0px;
  }

  .news-list-main .news-item-link {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 15px;
    padding: 20px 0;
    align-items: start;
  }

  .news-list-main .news-item-link > .news-date {
    grid-column: 1;
    grid-row: 1;
    font-size: 14px;
  }

  .news-list-main .news-item-link > .news-category {
    grid-column: 2;
    grid-row: 1;
    min-width: 90px;
    height: 22px;
    font-size: 12px;
  }

  .news-list-main .news-item-link > .news-title {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 14px;
    width: 100%;
  }

  .news-pagination {
    margin-top: 40px;
  }

  .news-pagination .page-numbers {
    gap: 8px;
  }

  .news-pagination a,
  .news-pagination span {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .news-pagination .prev,
  .news-pagination .next {
    font-size: 16px;
  }
}

/* Footer Section */
.site-footer {
  background-color: #1d1d1d;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.site-footer .footer-absolute-image {
  position: absolute;
  top: 62%;
  left: 80%;
  transform: translate(-50%, -50%);
  width: 1024px;
  height: auto;
  max-width: 100%;
  z-index: 0;
  opacity: 0.5;
}

.footer-contact-section {
  overflow: hidden;
  padding: 100px 0 50px;
  position: relative;
  z-index: 1;
}

.footer-contact-scroll {
  display: flex;
  gap: 50px;
  animation: scrollLeft 20s linear infinite;
  white-space: nowrap;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-shrink: 0;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 50px;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: 120px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1;
  flex-shrink: 0;
}

.footer-contact-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #c8191e;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.footer-contact-circle .footer-arrow {
  width: 60px;
  height: 16px;
  background-image: url("images/arrow-white.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.3s ease;
  display: block;
}

.footer-contact-circle::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 30px;
  background-image: url("images/smile-arrow-large-white.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-contact-section:hover .footer-contact-circle {
  background-color: #c8191e;
  transform: scale(1.05);
}

.footer-contact-section:hover .footer-contact-circle .footer-arrow {
  opacity: 0;
}

.footer-contact-section:hover .footer-contact-circle::after {
  opacity: 1;
}

.footer-content {
  max-width: 1366px;
  margin: 0 auto;
  padding: 50px 120px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  width: 79px;
  height: 46px;
}

.footer-navigation {
  margin-bottom: 40px;
}

.footer-navigation ul {
  display: flex;
  list-style: none;
  gap: 50px;
  padding: 0;
  margin: 0;
}

.footer-navigation a {
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  transition: color 0.3s ease;
}

.footer-navigation a:hover {
  color: #c8191e;
}

.footer-info {
  margin-bottom: 40px;
}

.footer-company-name {
  color: #888888;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 15px;
}

.footer-offices {
  display: flex;
  gap: 60px;
}

.footer-office-title {
  color: #888888;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 5px;
}

.footer-office-address {
  color: #888888;
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 30px;
  gap: 80px;
  border-top: 1px solid #575757;
}

.footer-policies {
  display: flex;
  gap: 40px;
}

.footer-policies a {
  color: #fff;
  font-size: 12px;
  transition: color 0.3s ease;
}

.footer-policies a:hover {
  color: #fff;
}

.footer-copyright {
  color: #fff;
  font-size: 14px;
  margin: 0;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  background-color: #c8191e;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.05);
}

.mobile-menu-toggle .menu-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 10px;
}

.mobile-menu-toggle .menu-icon::before,
.mobile-menu-toggle .menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: #fff;
}

.mobile-menu-toggle .menu-icon::before {
  top: 0;
}

.mobile-menu-toggle .menu-icon::after {
  bottom: 0;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #c8191e;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  display: block;
  overflow: hidden;
  opacity: 1;
}

.mobile-menu-overlay::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  width: 170%;
  height: 130%;
  background-image: url("images/hero-image.png");
  background-size: contain;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.mobile-menu-content {
  position: relative;
  z-index: 1;
  padding: 10px 35px 60px;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.mobile-menu-logo img {
  width: 79px;
  height: 46px;
  filter: brightness(0) invert(1);
}

.mobile-menu-close {
  width: 50px;
  height: 50px;
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.mobile-menu-close .close-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
}

.mobile-menu-close .close-icon::before,
.mobile-menu-close .close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

.mobile-menu-close .close-icon::before {
  transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-close .close-icon::after {
  transform: translateY(-50%) rotate(-45deg);
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-nav > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-nav > li:last-child {
  border-bottom: none;
}

.mobile-menu-nav > li > a,
.mobile-menu-nav > li > .menu-item-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mobile-menu-nav > li > a,
.mobile-menu-nav > li > .menu-item-wrapper:first-child {
  padding-top: 0;
}

.mobile-menu-nav > li > a:hover,
.mobile-menu-nav > li > .menu-item-wrapper:hover {
  padding-left: 10px;
}

.mobile-menu-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.mobile-menu-arrow .arrow-icon {
  color: #fff;
  font-size: 20px;
}

.mobile-menu-nav > li:hover .mobile-menu-arrow {
  background-color: #fff;
}

.mobile-menu-nav > li:hover .mobile-menu-arrow .arrow-icon {
  color: #c8191e;
}

/* Mobile Submenu */
.mobile-submenu {
  list-style: none;
  padding: 0 0 20px 20px;
  margin: 0;
  display: none;
}

.mobile-submenu.active {
  display: block;
}

.has-submenu.open .mobile-submenu {
  display: block;
}

.mobile-submenu li {
  margin-bottom: 0px;
}

.mobile-submenu li:last-child {
  margin-bottom: 0;
}

.mobile-submenu a {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  display: block;
  transition: all 0.3s ease;
}

.mobile-submenu a:hover {
  padding-left: 10px;
}

.mobile-submenu a::before {
  content: "・";
  margin-right: 5px;
}

/* Responsive */
/* Responsive utility classes */
.sp-only {
  display: none;
}

.pc-only {
  display: block;
}

/* Common Title Bar */
.title-bar {
  width: 14px;
  height: 120px;
  background-color: #c8191e;
  display: block;
  border-radius: 5px;
  flex-shrink: 0;
}

/* Common Breadcrumb Styles */
.breadcrumb-link {
  color: #000;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: #c8191e;
}

.breadcrumb-separator {
  color: #999;
}

.breadcrumb-current {
  color: #ccc;
}

@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  .pc-only {
    display: none;
  }

  .title-bar {
    width: 8px;
    height: 70px;
  }
}

@media (max-width: 1400px) {
  .container,
  .header-inner {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* Header */
  .site-header {
    padding: 20px 0;
  }

  .header-inner {
    padding: 0 20px;
  }

  .site-logo img {
    width: 60px;
    height: auto;
  }

  .main-navigation {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hero Section */
  .main-content {
    padding-top: 50px;
  }

  .fv-hero .container {
    padding: 0;
  }

  .fv-hero {
    height: 100vh;
    padding: 0 15px;
  }

  .fv-hero .hero-absolute-image {
    width: 650px;
    max-width: unset;
  }

  .fv-hero h1 {
    font-size: 53px;
    margin-bottom: 0;
    line-height: 1.2;
    font-weight: bold;
    letter-spacing: -0.03em;
    transform: scale(1, 0.9);
  }

  .fv-hero p {
    font-weight: bold;
    font-size: 15px;
  }

  /* About Section */
  .fv-about {
    padding: 63px 0 60px;
    margin-top: 75vh;
    border-radius: 40px 40px 0 0;
  }

  .fv-about-inner {
    padding: 0 30px;
  }

  .fv-about h2 {
    font-size: 48px;
  }

  .fv-about .subtitle {
    font-size: 18px;
    margin-bottom: 55px;
  }

  .fv-about-content p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
  }

  .fv-about-button-section {
    margin-top: 40px;
    padding: 30px 0;
  }

  .about-button-link {
    gap: 20px;
  }

  .about-text {
    font-size: 60px;
  }

  .about-button-circle {
    width: 80px;
    height: 80px;
  }

  .about-button-circle::after {
    width: 40px;
    height: 16px;
  }

  /* Our Service */
  .our-service {
    padding: 35px 0;
  }

  .service-container {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
  }

  .service-images {
    order: -1;
    top: 0;
  }

  .service-content {
    order: 0;
  }

  .service-header {
    gap: 20px;
    padding-top: 0;
    margin-bottom: 23px;
  }

  .service-header h2 {
    font-size: 45px;
  }

  .service-icon {
    width: 40px;
    height: 40px;
  }

  .service-icon-arrow {
    font-size: 18px;
  }

  .service-icon::after {
    width: 20px;
    height: 16px;
  }

  .service-subtitle {
    font-size: 20px;
    margin-bottom: 23px;
  }

  .service-description {
    margin-bottom: 40px;
  }

  .service-description p {
    font-size: 14px;
  }

  .service-item {
    transform: translateX(10px);
  }

  .service-item-header {
    gap: 7px;
    padding: 8px 10px;
    background-color: #c8191e;
  }

  .service-number {
    font-size: 14px;
    min-width: 40px;
    color: #fff;
  }

  .service-title {
    font-size: 16px;
    color: #fff;
  }

  .service-arrow {
    width: 30px;
    height: 30px;
    font-size: 18px;
    background-color: #fff;
    border-color: #fff;
  }

  .service-arrow-icon {
    opacity: 0;
  }

  .service-arrow-smile {
    width: 18px;
    height: 8px;
    opacity: 1;
  }

  .service-item-description {
    max-height: none;
    opacity: 1;
    padding: 20px 15px 30px;
  }

  .service-item-description p:first-child {
    font-size: 16px;
  }

  .service-item-description p:last-child {
    font-size: 13px;
  }

  /* Works */
  .works-uservoice {
    padding: 50px 0;
  }

  .works-container {
    padding: 0 30px;
  }

  .works-title {
    font-size: 48px;
    margin-bottom: 5px;
  }

  .works-subtitle {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .works-item {
    flex: 0 0 300px;
  }

  .works-image {
    height: 200px;
  }

  .works-content {
    padding: 20px;
  }

  .works-item-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .works-excerpt {
    font-size: 13px;
  }

  /* Join Our Team */
  .join-our-team {
    --join-bg-width: 200;
    --join-bg-height: 300;
    --join-bg-radius: 100;
    padding: 0;
  }

  .join-bg-mask {
    width: 200px;
    height: 300px;
    border-radius: 100px;
  }

  .join-container {
    padding: 0 30px;
  }

  .join-content{
    padding: 0 35px;
  }

  .join-title {
    font-size: 36px;
  }

  .join-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .join-description {
    text-align: left;
    margin-bottom: 50px;
  }

  .join-description p {
    font-size: 14px;
  }

  .join-button-wrapper {
    gap: 15px;
  }

  .join-button-text {
    font-size: 16px;
  }

  .join-button {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .join-button::after {
    width: 30px;
    height: 24px;
  }

  /* News */
  .news-section {
    padding: 45px 0;
  }

  .news-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 30px;
  }

  .news-header {
    gap: 20px;
    margin-bottom: 10px;
  }

  .news-header h2 {
    font-size: 48px;
  }

  .news-icon {
    width: 40px;
    height: 40px;
  }

  .news-icon-arrow {
    font-size: 18px;
  }

  .news-icon::after {
    width: 20px;
    height: 16px;
  }

  .news-subtitle {
    font-size: 16px;
  }

  .news-item-link {
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0;
  }

  .news-date {
    font-size: 14px;
  }

  .news-category {
    width: 80px;
    height: 20px;
    font-size: 12px;
  }

  .news-title {
    font-size: 16px;
    flex-basis: 100%;
  }

  /* Footer */
  .site-footer .footer-absolute-image {
    display: block;
    width: 638px;
    max-width: unset;
  }

  .footer-contact-section {
    padding: 60px 0 20px;
  }

  .footer-contact-link {
    gap: 30px;
  }

  .footer-contact-text {
    font-size: 60px;
  }

  .footer-contact-circle {
    width: 80px;
    height: 80px;
  }

  .footer-contact-circle .footer-arrow {
    width: 40px;
    height: 12px;
  }

  .footer-contact-circle::after {
    width: 40px;
    height: 16px;
  }

  .footer-content {
    padding: 35px 30px;
  }

  .footer-logo {
    margin-bottom: 30px;
  }

  .footer-logo img {
    width: 60px;
    height: auto;
  }

  .footer-navigation {
    margin-bottom: 30px;
  }

  .footer-navigation ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 300px;
  }

  .footer-navigation li {
    flex: 0 0 calc(33.333% - 14px);
  }

  .footer-navigation a {
    font-size: 14px;
  }

  .footer-info {
    margin-bottom: 30px;
  }

  .footer-company-name {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .footer-offices {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-office-title {
    font-size: 11px;
  }

  .footer-office-address {
    font-size: 11px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 30px;
  }

  .footer-policies {
    gap: 20px;
    flex-direction: column;
  }

  .footer-policies a {
    font-size: 11px;
  }

  .footer-copyright {
    font-size: 12px;
  }
}

/* ========================================
   About Page Styles
   ======================================== */

/* About Hero Section */
.about-hero {
  background-color: #f3f5f6;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 120px;
}

.about-hero-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 100px;
}

.about-hero-top {
  display: flex;
  margin-bottom: 140px;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.about-hero-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 10px;
}

.about-title {
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  margin: 0;
}

.about-subtitle {
  font-size: 18px;
  color: #000;
  margin: 0;
}

.about-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  position: absolute;
  bottom: 25vh;
  left: 120px;
  right: 0;
}

.about-breadcrumb-sp {
  display: none;
}

.about-hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.about-nav-card {
  background-color: #c8191e;
  border-radius: 20px 0 0 20px;
  padding: 45px 0 45px 65px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 400px;
}

.about-nav-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 5px 0;
}

.nav-check-icon {
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  font-style: normal;
}

.nav-check-icon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-bottom: 3px solid #c8191e;
  border-right: 3px solid #c8191e;
  transform: rotate(45deg);
  position: absolute;
  top: 4px;
  left: 50%;
  margin-left: -5px;
}

.nav-text {
  flex: 1;
}

/* Our Purpose Section */
.our-purpose {
  background-color: #1a1a1a;
  background-image: url("images/our-purpose.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 170px 160px 140px 220px;
  position: relative;
  z-index: 10;
  margin-top: 72vh;
}

.purpose-container {
  max-width: 1366px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.purpose-row {
  display: flex;
  gap: 70px;
  align-items: flex-start;
}

.purpose-label-wrapper {
  min-width: 160px;
  flex-shrink: 0;
}

.purpose-label-text {
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  writing-mode: horizontal-tb;
}

.purpose-main {
  flex: 1;
  max-width: 900px;
}

.purpose-title {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 40px;
  color: #fff;
  letter-spacing: 0.08em;
}

.purpose-description {
  font-size: 16px;
  line-height: 1.8;
  color: #fff;
}

.purpose-description p {
  margin-bottom: 20px;
  line-height: 2.7;
}

.purpose-value {
  flex: 1;
  max-width: 900px;
}

.value-label {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 30px;
}

.value-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 30px;
  color: #fff;
}

.value-description {
  font-size: 16px;
  line-height: 1.8;
  color: #fff;
}

.value-description p {
  margin-bottom: 20px;
}

/* Management Section */
.management {
  background-color: #f3f5f6;
  padding: 130px 80px 40px;
  position: relative;
  z-index: 11;
}

.management-container {
  max-width: 1366px;
  margin: 0 auto;
}

.management-title {
  font-size: 76px;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
}

.management-subtitle {
  font-size: 18px;
  margin-bottom: 60px;
}

.management-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

.management-card {
  overflow: visible;
  transition: transform 0.3s ease;
}

.management-card:hover {
  transform: translateY(-5px);
}

.management-image {
  width: 100%;
  height: 450px;
  overflow: hidden;
  background-color: #e8e8e8;
  border-radius: 20px;
}

.management-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.management-info {
  padding: 30px 0;
}

.management-position {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c8191e;
  margin-bottom: 33px;
}

.management-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #000;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.management-name-en {
  font-size: 13px;
  font-weight: 400;
  color: #666;
}

.management-description {
  font-size: 13px;
  line-height: 1.9;
  color: #333;
  margin-top: 15px;
}

.management-description {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

/* History Section */
.history {
  background-color: #f3f5f6;
  padding: 60px 80px 116px;
  position: relative;
  z-index: 11;
}

.history-container {
  max-width: 1366px;
  margin: 0 auto;
}

.history-title {
  font-size: 75px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
}

.history-subtitle {
  font-size: 16px;
  margin-bottom: 60px;
}

.history-timeline {
  position: relative;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #e1e3e6;
  z-index: 0;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  padding: 40px 0;
}

.history-line {
  position: absolute;
  left: 34px;
  top: 0;
  right: 0;
  height: 1px;
  background-color: #e1e3e6;
}

.history-dot {
  position: absolute;
  left: 4px;
  top: -4px;
  width: 10px;
  height: 10px;
  background-color: #c8191e;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 1;
}

.history-content {
  display: flex;
  align-items: center;
  gap: 116px;
  padding-left: 40px;
  width: 100%;
}

.history-year {
  font-size: 48px;
  font-weight: 700;
  color: #d3d3d3;
  min-width: 150px;
  flex-shrink: 0;
  line-height: 1;
}

.history-events {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.history-event {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.history-month {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  min-width: 60px;
  flex-shrink: 0;
}

.history-text {
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  flex: 1;
}

/* About Contact Section */
.about-contact {
  background-color: #1a1a1a;
  padding: 80px 0;
  overflow: hidden;
  position: relative;
  z-index: 11;
}

.about-contact-container {
  width: 100%;
}

.about-contact-scroll {
  display: flex;
  gap: 80px;
  animation: scrollContact 30s linear infinite;
  width: max-content;
}

.about-contact-item {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
}

.about-contact-text {
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.about-contact-button {
  width: 80px;
  height: 80px;
  background-color: #e63946;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.about-contact-button:hover {
  background-color: #fff;
}

.about-contact-arrow {
  font-size: 32px;
  color: #fff;
  transition: color 0.3s ease;
}

.about-contact-button:hover .about-contact-arrow {
  color: #e63946;
}

@keyframes scrollContact {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Responsive Styles for About Page */
@media (max-width: 768px) {
  .about-hero {
    padding: 70px 0 60px 35px;
    position: fixed;
    height: 84vh;
  }

  .about-hero-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .about-hero-left {
    height: auto;
    gap: 10px;
    align-items: flex-start;
  }

  .about-title-wrapper {
    gap: 8px;
    padding-left: 0;
  }

  .about-title {
    font-size: 48px;
  }

  .about-subtitle {
    font-size: 14px;
  }

  .about-hero-right {
    order: 2;
    margin-top: 20px;
    justify-content: flex-start;
  }

  .about-nav-card {
    border-radius: 20px 0 0 20px;
    padding: 10px 0 10px 50px;
    min-width: auto;
    width: 100%;
  }

  .about-nav-item {
    font-size: 14px;
    gap: 12px;
    padding: 8px 0;
  }

  .about-breadcrumb-pc {
    display: none;
  }

  .about-breadcrumb-sp {
    display: flex;
    position: relative;
    bottom: auto;
    left: auto;
    font-size: 10px;
    order: 1;
    margin-top: 50px;
  }

  .management-subtitle {
    margin-bottom: 20px;
  }

  .our-purpose {
    padding: 80px 30px 50px;
    margin-top: 65vh;
  }

  .purpose-container {
    gap: 25px;
  }

  .purpose-row {
    flex-direction: column;
    gap: 28px;
  }

  .purpose-label-wrapper {
    min-width: auto;
  }

  .purpose-label-text {
    font-size: 16px;
    writing-mode: horizontal-tb;
  }

  .purpose-main {
    max-width: 100%;
  }

  .purpose-title {
    font-size: 38px;
    line-height: 1.4;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
  }

  .purpose-description {
    font-size: 14px;
    line-height: 2.2;
  }

  .purpose-description p {
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 14px;
  }

  .purpose-value {
    max-width: 100%;
  }

  .value-label {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .value-title {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
  }

  .value-description {
    font-size: 14px;
    line-height: 2.2;
  }

  .value-description p {
    margin-bottom: 20px;
    line-height: 2.2;
  }

  .management {
    padding: 65px 30px;
  }

  .management-title {
    font-size: 62px;
    line-height: 1;
  }

  .management-subtitle {
    font-size: 16px;
    margin-bottom: 50px;
  }

  .management-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .management-image {
    height: 210px;
    border-radius: 15px;
  }

  .management-info {
    padding: 10px 0 0;
  }

  .management-position {
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-bottom: 0px;
  }

  .management-name {
    font-size: 24px;
    align-items: center;
    gap: 5px;
    margin-bottom: 0;
  }

  .management-name-en {
    font-size: 12px;
  }

  .management-description {
    font-size: 14px;
    line-height: 2;
    margin-top: 0px;
  }

  .management-image img {
    object-fit: contain;
  }

  .history {
    padding: 80px 30px;
  }

  .history-title {
    font-size: 62px;
    line-height: 1;
    margin-bottom: 10px;
  }

  .history-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .history-timeline::before {
    left: 4px;
  }

  .history-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 0;
  }

  .history-line {
    left: 20px;
  }

  .history-dot {
    left: 0;
    top: -2px;
    width: 8px;
    height: 8px;
  }

  .history-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-left: 25px;
  }

  .history-year {
    font-size: 33px;
    min-width: auto;
    color: #d3d3d3;
  }

  .history-events {
    gap: 15px;
  }

  .history-event {
    align-items: flex-start;
    gap: 30px;
  }

  .history-month {
    font-size: 16px;
    font-weight: 700;
    min-width: auto;
  }

  .history-text {
    font-size: 14px;
    line-height: 1.8;
  }

  .about-contact-text {
    font-size: 48px;
  }

  .about-contact-button {
    width: 60px;
    height: 60px;
  }

  .about-contact-arrow {
    font-size: 24px;
  }
}

/* ========================================
   Company Page Styles
   ======================================== */

/* Shared Hero Section */
.shared-hero {
  background-color: #edf0f2;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 120px;
}

.shared-hero-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  margin-bottom: 100px;
}

.shared-hero-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.company-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 10px;
}

.company-page .company-title {
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  margin: 0;
}

.company-page .company-subtitle {
  font-size: 18px;
  color: #000;
  margin: 0;
}

.company-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  position: absolute;
  bottom: 25vh;
  left: 120px;
  right: 0;
}

.company-page {
  background-color: #f3f5f6;
}

/* Company Content Section */
.company-content-section {
  background-color: #f3f5f6;
  padding: 60px 0 30px;
  position: relative;
  z-index: 10;
  margin-top: 72vh;
}

.company-content-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 30px;
}

/* KV Image Section */
.company-kv-image {
  width: 100%;
  height: 640px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 80px;
}

.company-kv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Company Info Section */
.company-info-section {
  padding: 0 90px;
  margin-bottom: 100px;
}

.company-info-grid {
  display: flex;
  flex-direction: column;
}

.company-info-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
}

.company-info-label {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  padding: 50px 0;
  border-bottom: 1px solid #c8191e;
}

.company-info-content {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  padding: 50px 0 50px 33px;
  border-bottom: 1px solid #d6d7d8;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.company-info-content.location-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: flex-end;
}

.location-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.location-link:hover {
  transform: scale(1.15);
}

.location-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.location-station {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

.company-info-item.clients-item-no-border .company-info-label {
  border-bottom: none;
  padding-bottom: 50px;
}

.company-info-item.clients-item-no-border .company-info-content {
  border-bottom: none;
  padding-bottom: 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 1000px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.client-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.client-logo {
  width: auto;
  height: auto;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.client-logo img {
  object-fit: contain;
}

.client-name {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  font-weight: 500;
}

/* Responsive Styles for Company Page */
@media (max-width: 768px) {
  .shared-hero {
    padding: 30px 35px 0px;
    height: 40vh;
    position: fixed;
  }

  .shared-hero-wrapper {
    margin-bottom: 0;
  }

  .shared-hero-left {
    gap: 0px;
  }

  .company-page .company-title {
    font-size: 46px;
  }

  .company-page .company-subtitle {
    font-size: 16px;
  }

  .company-breadcrumb {
    bottom: 5vh;
    left: 35px;
    font-size: 10px;
  }

  .company-content-section {
    margin-top: 25vh;
    padding: 20px 0 80px;
  }

  .company-content-container {
    padding: 0 20px;
  }

  .company-kv-image {
    height: 350px;
    margin-bottom: 0px;
  }

  .company-info-section {
    padding: 20px 15px;
    margin-bottom: 60px;
  }

  .company-info-item {
    gap: 0;
    grid-template-columns: 90px 1fr;
  }

  .company-info-label {
    font-size: 13px;
    padding: 24px 0px;
    line-height: 1.3;
  }

  .company-info-content.location-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px 15px;
    align-items: center;
  }

  .company-info-content.location-content .location-info {
    grid-column: 1;
    grid-row: 1;
  }

  .company-info-content.location-content .location-link {
    grid-column: 2;
    grid-row: 1;
  }

  .company-info-content.location-content .location-station {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .company-info-item.clients-item-no-border .company-info-label {
    padding-bottom: 25px;
  }

  .company-info-content {
    font-size: 13px;
    padding: 24px 0 24px 18px;
    gap: 15px;
    line-height: 1.3;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 15px;
    width: 100%;
  }

  .company-info-item.clients-item-no-border {
    display: flex;
    flex-direction: column;
  }

  .company-info-item.clients-item-no-border .company-info-content {
    padding: 0;
  }

  .client-logo {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .client-name {
    font-size: 12px;
  }
}

/* ========================================
   Single News Post Page Styles
   ======================================== */

.single-news-page {
  background-color: #edf0f2;
}

/* Single Post Hero Section */
.single-news-hero {
  background-color: #edf0f2;
  position: static;
  padding: 80px 120px 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-news-hero-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 80px;
}

.single-news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.single-news-breadcrumb a {
  color: #000;
  font-weight: 600;
  transition: color 0.3s ease;
}

.single-news-breadcrumb a:hover {
  color: #c8191e;
}

.single-news-breadcrumb span {
  color: #999;
}

.single-news-hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-left: 60px;
}

.single-news-meta {
  display: flex;
  align-items: center;
  gap: 40px;
}

.single-news-date {
  font-size: 16px;
  font-weight: 300;
  color: #000;
}

.single-news-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 24px;
  border: 1px solid #c8191e;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #c8191e;
  text-align: center;
}

.single-news-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: #000;
  margin: 0;
}

/* Single Post Content Section */
.single-news-content-section {
  background-color: #f3f5f6;
  padding: 80px 0 100px;
  position: relative;
  z-index: 10;
}

.single-news-content-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 50px;
}

.single-news-content {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 80px;
}

.single-news-content p {
  margin-bottom: 24px;
}

.single-news-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin: 40px 0 20px 0;
}

.single-news-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  margin: 30px 0 15px 0;
}

.single-news-content ul,
.single-news-content ol {
  margin-bottom: 24px;
  padding-left: 30px;
}

.single-news-content li {
  margin-bottom: 12px;
}

/* Navigation Section */
.single-news-navigation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
  margin-top: 60px;
  border-top: 1px solid #d0d0d0;
}

.single-news-nav-prev,
.single-news-nav-next {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.single-news-nav-prev {
  justify-content: flex-start;
}

.single-news-nav-next {
  justify-content: flex-end;
}

.single-news-nav-prev:hover,
.single-news-nav-next:hover {
  opacity: 0.7;
}

.single-news-nav-arrow {
  font-size: 20px;
  color: #c8191e;
  flex-shrink: 0;
}

.single-news-nav-text {
  font-size: 18px;
  color: #000;
}

.single-news-nav-back {
  grid-column: 2;
  text-align: center;
}

.single-news-nav-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.single-news-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Responsive Styles for Single Post Page */
@media (max-width: 768px) {
  .single-news-hero {
    padding: 0px 30px 30px;
  }

  .single-news-hero-wrapper {
    gap: 20px;
  }

  .single-news-breadcrumb {
    margin-bottom: 20px;
    font-size: 10px;
    gap: 5px;
  }

  .single-news-hero-content {
    gap: 20px;
    padding-left: 0px;
  }

  .single-news-meta {
    gap: 20px;
  }

  .single-news-date {
    font-size: 14px;
  }

  .single-news-category {
    width: 90px;
    height: 22px;
    font-size: 12px;
  }

  .single-news-title {
    font-size: 22px;
    line-height: 1.4;
  }

  .single-news-content-section {
    padding: 30px 0 60px;
  }

  .single-news-content-container {
    padding: 0 30px;
  }

  .single-news-content {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 40px;
  }

  .single-news-content p {
    margin-bottom: 16px;
  }

  .single-news-content h2 {
    font-size: 22px;
    margin: 25px 0 15px 0;
  }

  .single-news-content h3 {
    font-size: 18px;
    margin: 20px 0 10px 0;
  }

  .single-news-content ul,
  .single-news-content ol {
    margin-bottom: 16px;
    padding-left: 20px;
  }

  .single-news-content li {
    margin-bottom: 8px;
  }

  .single-news-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0;
    margin-top: 40px;
  }

  .single-news-nav-prev,
  .single-news-nav-next {
    grid-column: 1;
  }

  .single-news-nav-prev {
    order: 1;
  }

  .single-news-nav-next {
    order: 3;
  }

  .single-news-nav-back {
    grid-column: 1;
    order: 2;
  }

  .single-news-nav-back a {
    width: 100%;
    justify-content: center;
    font-size: 13px;
  }

  .single-news-nav-text {
    font-size: 13px;
  }
}

/* ============================================================================
   Contact Page Form Styles
   ============================================================================ */

.contact-hero {
  background-color: #edf0f2;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 120px;
}

.contact-hero-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  margin-bottom: 100px;
}

.contact-hero-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 10px;
}

.contact-page .contact-title {
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  margin: 0;
}

.contact-page .contact-subtitle {
  font-size: 18px;
  color: #000;
  margin: 0;
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  position: absolute;
  bottom: 25vh;
  left: 120px;
  right: 0;
}

.contact-page {
  background-color: #f3f5f6;
}

/* Contact Content Section */
.contact-content-section {
  background-color: #f3f5f6;
  padding: 30px 0 30px;
  position: relative;
  z-index: 10;
  margin-top: 72vh;
}

.contact-content-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Contact Description */
.contact-description {
  padding: 0 80px;
  margin: 0 auto;
  max-width: 1000px;
}

.contact-description-text {
  font-size: 19px;
  color: #000;
  line-height: 1.8;
  margin: 0;
}

.contact-form-wrapper {
  padding: 0 90px;
  margin-bottom: 100px;
}

.contact-form-content {
  background-color: #f3f5f6;
  padding: 70px 50px;
  border-radius: 10px;
}

/* Contact Form - MW WP Form */
.Contact__form {
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 20px;
  padding: 0 80px;
}

@media (max-width: 1150px) {
  .contact-form-wrapper {
    padding: 0 50px;
  }
  .Contact__form {
    padding: 0 45px;
  }
}

.Contact__form__box {
  display: grid !important;
  grid-template-columns: 210px 1fr;
  gap: 20px 30px;
  align-items: flex-start;
}

.Contact__form__box:first-child {
  padding-top: 0;
}

.Contact__form__box:last-child {
  border-bottom: none;
}

.Contact__form__box__th {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.Contact__form__box__th__text {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.Contact__form__box__th__hissu {
  background-color: #c8191e;
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 17px;
  display: inline-block;
  width: fit-content;
}

.Contact__form__box__th__optional {
  background-color: #a0a0a0;
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 17px;
  display: inline-block;
  width: fit-content;
}

.Contact__form__box__td {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.Contact__form__box__td--privacy {
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Input Fields */
.Contact__form__box__td input[type="text"],
.Contact__form__box__td input[type="email"],
.Contact__form__box__td textarea,
.Contact__form__box__td select {
  width: 100%;
  font-family:
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 14px;
  color: #333;
  border: none;
  border-radius: 5px;
  padding: 15px 20px 15px 20px;
  box-sizing: border-box;
  background-color: #fff;
}

.Contact__form__box__td input[type="text"]::placeholder,
.Contact__form__box__td input[type="email"]::placeholder,
.Contact__form__box__td textarea::placeholder {
  color: #d4d9e1;
}

.Contact__form__box__td textarea {
  min-height: 250px;
  resize: vertical;
  font-family:
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

/* Error State Styles */
.Contact__form__box__td .error {
  color: #c8191e;
  font-size: 18px;
  display: block;
}

.Contact__form__box__td:has(.error) input[type="text"],
.Contact__form__box__td:has(.error) input[type="email"],
.Contact__form__box__td:has(.error) textarea,
.Contact__form__box__td:has(.error) select {
  border: 1px solid #c8191e;
}

/* Radio Button Error State */
.contact-type:has(.error) {
  border: 1px solid #c8191e;
  border-radius: 5px;
  padding: 12px;
}

.contact-type .error {
  color: #c8191e;
  font-size: 12px;
  margin-top: 8px;
  display: block;
}

.Contact__form__box__td select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 18px;
  padding-right: 25px;
  border: none;
  border-bottom: 1px solid #d6d7d8;
}

/* Radio Button Styles */
.contact-type {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

/* MW WP Form Radio Field Container */
.contact-type .mwform-radio-field {
  display: block;
}

.contact-type .mwform-radio-field label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
  font-size: 18px;
  color: #333;
}

/* Radio Button Input */
.contact-type input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  background-color: white;
  transition: all 0.2s ease;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  position: relative;
}

.contact-type input[type="radio"]:hover {
  border-color: #c8191e;
}

.contact-type input[type="radio"]:checked {
  border-color: #c8191e;
  background-color: white;
}

.contact-type input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #c8191e;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Radio Button Text */
.contact-type .mwform-radio-field-text {
  cursor: pointer;
}

/* Checkbox Styles */
.mwform-checkbox-field-text {
  display: none;
}

.privacy-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  cursor: pointer;
  background-color: white;
  transition: all 0.2s ease;
  margin: 0;
  padding: 0;
  margin-right: 12px;
  flex-shrink: 0;
  position: relative;
  margin-right: 15px !important;
}

.privacy-checkbox:checked {
  background-color: #fff;
  border-color: #fff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8191E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px 20px;
}

.privacy-checkbox:checked::after {
  content: "";
  display: none;
}

/* Checkbox Label */
.Contact__form__box__td--privacy label {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  user-select: none;
}

.privacy-checkbox-label {
  font-size: 14px;
  color: #000;
  line-height: 1.6;
  font-weight: 500;
}

/* Privacy Text - Inside Label */
.Contact__form__box__td--privacy label .contact-form-privacy-text {
  font-size: 16px;
  color: #000;
  margin: 0;
  line-height: 1.6;
  display: inline;
}

.Contact__form__box__td--privacy label .contact-form-privacy-text a {
  color: #000;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.Contact__form__box__td--privacy label .contact-form-privacy-text a:hover {
  opacity: 0.8;
}

/* Privacy Text */
.contact-form-privacy-text {
  font-size: 14px;
  color: #000;
  margin: 0;
  line-height: 1.6;
  display: inline;
}

.contact-form-privacy-text a {
  color: #000;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.contact-form-privacy-text a:hover {
  opacity: 0.8;
}

/* Submit Button */
.Btn__wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-form-submit-button {
  background-color: #c8191e;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 22px 50px;
  border: none;
  border-radius: 40px;
  cursor: not-allowed;
  transition: all 0.3s ease;
  display: inline-block;
  opacity: 0.2;
}

.contact-form-submit-button:not(:disabled) {
  background-color: #c8191e;
  cursor: pointer;
  opacity: 1;
}

.contact-form-submit-button:not(:disabled):hover {
  background-color: #a01418;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 25, 30, 0.2);
}

.Btn__text {
  display: inline;
  margin-left: 8px;
  font-size: 16px;
  font-weight: 600;
}

/* Privacy Policy Note */
.contact-form-privacy-note {
  font-size: 12px;
  color: #999;
  text-align: center;
  line-height: 1.6;
}

.contact-form-privacy-note a {
  color: #c8191e;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.contact-form-privacy-note a:hover {
  opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .contact-hero {
    padding: 0 80px;
  }

  .contact-page .contact-title {
    font-size: 60px;
  }

  .contact-description {
    padding: 0 50px;
  }

  .contact-form-wrapper {
    padding: 0 50px;
  }

  .contact-form-content {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 30px 35px 0px;
    height: 40vh;
    position: fixed;
  }

  .contact-hero-wrapper {
    gap: 0px;
    padding-top: 0;
    margin-bottom: 0;
  }

  .contact-hero-left {
    gap: 0px;
    padding-top: 0;
  }

  .contact-title-wrapper {
    padding-left: 5px;
  }

  .contact-page .contact-title {
    font-size: 46px;
  }

  .contact-page .contact-subtitle {
    font-size: 16px;
  }

  .contact-breadcrumb {
    font-size: 10px;
    position: absolute;
    bottom: 5vh;
    left: 35px;
    gap: 5px;
  }

  .contact-content-section {
    margin-top: 25vh;
    padding: 20px 0 80px;
  }

  .contact-content-container {
    padding: 0;
  }

  .contact-description {
    padding: 0 30px;
    margin-bottom: 20px;
  }

  .contact-description-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .contact-form-wrapper {
    padding: 0;
    margin-bottom: 0;
  }

  .contact-form-content {
    padding: 0;
    border-radius: 0;
  }

  .Contact__form {
    padding: 0 30px;
    margin-bottom: 0px;
  }

  .Contact__form__box {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0;
    border-bottom: none;
  }

  .Contact__form__box:last-child {
    padding-bottom: 0;
  }

  .Contact__form__box__th {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
  }

  .Contact__form__box__th__text {
    font-size: 15px;
    font-weight: 600;
  }

  .Contact__form__box__th__hissu {
    font-size: 11px;
    padding: 3px 12px;
    font-weight: 700;
  }

  .Contact__form__box__th__optional {
    font-size: 13px;
    padding: 3px 14px;
    font-weight: 700;
  }

  .Contact__form__box__td {
    width: 100%;
    gap: 8px;
  }

  .Contact__form__box__td input[type="text"],
  .Contact__form__box__td input[type="email"],
  .Contact__form__box__td textarea,
  .Contact__form__box__td select {
    font-size: 14px;
    padding: 12px 15px;
  }

  .Contact__form__box__td textarea {
    min-height: 300px;
  }

  /* Radio Button Styles for Mobile */
  .contact-type {
    gap: 0px;
  }

  .contact-type .mwform-radio-field label {
    font-size: 14px;
    gap: 12px;
  }

  .contact-type input[type="radio"] {
    width: 32px;
    height: 32px;
  }

  .contact-type input[type="radio"]:checked::after {
    width: 22px;
    height: 22px;
  }

  /* Privacy Policy Section for Mobile */
  .Contact__form__box__td--privacy {
    padding: 0;
    gap: 5px;
    margin-top: 10px;
  }

  .Contact__form__box__td--privacy label {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
  }

  .privacy-checkbox {
    width: 32px;
    height: 32px;
    margin-right: 28px !important;
    flex-shrink: 0;
  }

  .privacy-checkbox:checked {
    background-size: 20px 16px;
  }

  .Contact__form__box__td--privacy label .contact-form-privacy-text {
    font-size: 12px;
    line-height: 1.8;
    text-align: left;
  }

  /* Submit Button for Mobile */
  .Btn__wrap {
    padding: 0 30px;
  }

  .contact-form-submit-button {
    font-size: 15px;
    padding: 18px 50px;
    width: 100%;
    border-radius: 50px;
  }

  .Btn__text {
    font-size: 15px;
  }

  /* Error Message Styles for Mobile */
  .Contact__form__box__td .error {
    font-size: 13px;
    margin-top: 5px;
  }

  .contact-type .error {
    font-size: 13px;
  }
}

/* ========================================
   Entry Form Specific Styles
======================================== */

/* Entry Form Section Title */
.entry-form-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 50px 0 30px 0;
  padding-bottom: 0;
}

.entry-form-section-title:first-child {
  margin-top: 0;
}

/* Add dashed border above additional education sections */
.entry-form-section-additional {
  padding-top: 40px;
  border-top: 1px dashed #d6d7d8;
}

/* Add border between phone number and education section */
.Contact__form__box:has(input.phone-number) {
  padding-bottom: 30px;
  margin-bottom: 20px;
  border-bottom: 1px solid #d6d7d8;
}

/* Entry Period Fields */
.entry-period-fields {
  width: 100%;
}

.period-group {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 100%;
}

.period-input {
  width: 80px !important;
  flex: 1;
  font-size: 14px;
  padding: 12px 15px !important;
  border: none;
  border-radius: 5px;
  background-color: #fff;
  box-sizing: border-box;
}

.period-input::placeholder {
  color: #d4d9e1;
}

.period-label {
  font-size: 16px;
  color: #333;
}

.period-separator {
  font-size: 16px;
  color: #333;
  margin: 0;
}

/* Add Education Button */
.entry-add-education-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}

.entry-add-education-button {
  background-color: #000;
  border: 2px solid #000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 40px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.entry-add-education-button:hover {
  background-color: #000;
  color: #fff;
}

.add-button-text {
  font-size: 16px;
  font-weight: 600;
}

/* Remove Education Button */
.entry-remove-education-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.entry-remove-education-button {
  background-color: transparent;
  border: 1px solid #c8191e;
  color: #c8191e;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.entry-remove-education-button:hover {
  background-color: #c8191e;
  color: #fff;
}

.remove-button-text {
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 1024px) {
.period-group {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 8px 10px;
    width: 100%;
  }

  .period-group > :nth-child(1),
  .period-group > :nth-child(2),
  .period-group > :nth-child(3),
  .period-group > :nth-child(4),
  .period-group > :nth-child(5) {
    grid-row: 1;
  }

  .period-group > :nth-child(6),
  .period-group > :nth-child(7),
  .period-group > :nth-child(8),
  .period-group > :nth-child(9) {
    grid-row: 2;
  }

  .period-input {
    width: 100% !important;
    font-size: 14px;
    padding: 12px 10px !important;
  }

  .period-label {
    font-size: 16px;
    margin-right: 0;
  }

  .period-separator {
    font-size: 16px;
    margin: 0;
  }
}

/* Entry Form Mobile Responsive */
@media (max-width: 768px) {
  .entry-form-section-title {
    font-size: 18px;
    margin: 40px 0 20px 0;
    padding-bottom: 12px;
  }

  .entry-add-education-button {
    font-size: 14px;
    padding: 10px 10px;
    min-width: 150px;
  }

  .add-button-text {
    font-size: 13px;
    font-weight: 400;
    margin: 0 auto;
  }

  .entry-remove-education-button {
    font-size: 14px;
    padding: 10px;
    min-width: 150px;
  }

  .remove-button-text {
    font-size: 12px;
    margin: 0 auto;
  }
}

/* ========================================
   Service Page Styles
   ======================================== */

/* Service Hero Section */
.service-hero {
  background-color: #edf0f2;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 120px;
}

.service-hero-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 100px;
}

.service-hero-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.service-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 10px;
}

.service-hero .service-title {
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  margin: 0;
}

.service-hero .service-subtitle {
  font-size: 18px;
  color: #000;
  margin: 0;
}

.service-hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.service-nav-card {
  background-color: #c8191e;
  border-radius: 20px 0 0 20px;
  padding: 45px 0 45px 65px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 400px;
}

.service-nav-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 5px 0;
  text-decoration: none;
}

.service-nav-item:hover {
  opacity: 0.8;
}

/* Service Introduction Section */
.service-introduction {
  background-color: #f3f5f6;
  padding: 35px 30px;
  position: relative;
  z-index: 10;
  margin-top: 72vh;
}

.service-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  position: absolute;
  bottom: 25vh;
  left: 120px;
  right: 0;
}

.service-breadcrumb-sp {
  display: none;
}

.service-introduction-container {
  max-width: 1306px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.service-intro-image {
  width: 100%;
  max-width: 1306px;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  background-color: #e8e8e8;
}

.service-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-intro-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0 90px;
}

.service-intro-text {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.8;
  color: #000;
  margin: 0;
}

.service-intro-text .text-highlight {
  color: #c8191e;
  font-size: 34px;
  font-weight: 700;
}

/* Service List Section */
.service-list-section {
  background-color: #f3f5f6;
  padding: 60px 120px 140px;
  position: relative;
  z-index: 10;
}

.service-list-container {
  max-width: 1306px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-list-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px 0;
  border-top: 1px solid #d1d1d1;
  position: relative;
}

.service-list-item:last-child {
  border-bottom: 1px solid #d1d1d1;
}

.service-list-top {
  width: 100%;
}

.service-list-label {
  font-size: 14px;
  font-weight: 500;
  color: #c8191e;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.service-list-bottom {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.service-list-left {
  min-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.service-list-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.service-list-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
  margin: 0;
}

.service-list-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-list-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-list-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  color: #000;
  margin: 0;
  padding-top: 0;
}

.service-list-description {
  font-size: 14px;
  line-height: 2;
  color: #000;
}

.service-list-description p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

/* Service List Page - Custom Icon Size */
.service-list-section .service-icon {
  width: 30px;
  height: 30px;
}

.service-list-section .service-icon-arrow {
  font-size: 16px;
}

.service-list-section .service-icon::after {
  width: 18px;
  height: 15px;
  content: "";
  position: absolute;
  background-image: url("images/smile-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Service List Header Hover Effects */
.service-list-header:hover .service-icon {
  transform: scale(1.05);
}

.service-list-header:hover .service-icon-arrow {
  opacity: 0;
}

.service-list-header:hover .service-icon::after {
  opacity: 1;
}

/* Service Detail Section - Remove old styles */
.service-detail-section {
  display: none;
}

/* Responsive Styles for Service Page */
@media (max-width: 768px) {
  .service-hero {
    padding: 70px 0 60px 35px;
    position: fixed;
    height: 84vh;
  }

  .service-hero-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .service-hero-left {
    height: auto;
    gap: 10px;
    align-items: flex-start;
  }

  .service-title-wrapper {
    gap: 0px;
    padding-left: 0;
  }

  .service-hero .service-title {
    font-size: 46px;
  }

  .service-hero .service-subtitle {
    font-size: 14px;
  }

  .service-hero-right {
    order: 2;
    margin-top: 20px;
    justify-content: flex-start;
  }

  .service-nav-card {
    border-radius: 20px 0 0 20px;
    padding: 10px 0 10px 50px;
    min-width: auto;
    width: 100%;
  }

  .service-nav-item {
    font-size: 14px;
    gap: 12px;
    padding: 8px 0;
  }

  .nav-check-icon {
    width: 20px;
    height: 20px;
  }

  .nav-check-icon::before {
    width: 6px;
    height: 6px;
    border-bottom-width: 2px;
    border-right-width: 2px;
    top: 5px;
    margin-left: -4px;
  }

  /* Service Introduction */
  .service-introduction {
    padding: 10px 20px 40px;
    margin-top: 62vh;
  }

  .service-breadcrumb-pc {
    display: none;
  }

  .service-breadcrumb-sp {
    display: flex;
    position: relative;
    bottom: auto;
    left: auto;
    font-size: 10px;
    order: 1;
    margin-top: 50px;
  }

  .service-introduction-container {
    gap: 30px;
  }

  .service-intro-content {
    gap: 15px;
    padding: 0 15px;
  }

  .service-intro-text {
    font-size: 16px;
    line-height: 1.6;
  }

  .service-intro-text .text-highlight {
    font-size: 22px;
  }

  .service-intro-image {
    order: -1;
    height: 350px;
  }

  /* Service List Section */
  .service-list-section {
    padding: 40px 35px 170px;
  }

  .service-list-item {
    flex-direction: column;
    gap: 20px;
    padding: 35px 0;
  }

  .service-list-description p {
    font-size: 13px;
  }

  .service-list-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .service-list-content {
    gap: 10px;
  }

  .service-list-left {
    min-width: auto;
    gap: 15px;
  }

  .service-list-header {
    gap: 15px;
  }

  .service-list-label {
    font-size: 12px;
    letter-spacing: 0;
  }

  .service-list-title {
    font-size: 24px;
  }

  .service-list-heading {
    font-size: 15px;
  }

  .service-list-description {
    font-size: 13px;
    line-height: 1.8;
  }

  /* Service Detail Section */
  .service-detail-section {
    padding: 60px 20px;
  }

  .service-detail-header {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }

  .service-label-wrapper {
    min-width: auto;
  }

  .service-detail-title {
    font-size: 28px;
  }

  .service-badge {
    font-size: 12px;
    padding: 6px 16px;
  }

  .service-detail-content {
    padding-left: 0;
  }

  .service-detail-heading {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .service-detail-description {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* ====================================
   Marketing Support Page Styles
==================================== */

.marketing-page {
  background-color: #edf0f2;
}

/* Marketing Hero Section */
.marketing-hero {
  background-color: #edf0f2;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 120px;
  overflow: hidden;
}

.marketing-hero::before {
  content: "OUR SERVICE OUR SERVICE OUR SERVICE OUR SERVICE";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Gotham", sans-serif;
  font-size: 180px;
  font-weight: 900;
  color: #fff;
  opacity: 0.4;
  letter-spacing: 0.01em;
  white-space: nowrap;
  z-index: -1;
  pointer-events: none;
}

.marketing-hero-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  margin-bottom: 270px;
}

.marketing-hero-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.marketing-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.marketing-service-label {
  font-family: "Gotham", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #c8102e;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.marketing-title {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.marketing-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  position: absolute;
  bottom: 41vh;
  left: 120px;
  right: 0;
  color: #000;
}

.marketing-breadcrumb .breadcrumb-link {
  transition: color 0.3s ease;
}

.marketing-breadcrumb .breadcrumb-link:hover {
  color: #c8102e;
}

.marketing-breadcrumb .breadcrumb-separator {
  color: #999;
}

/* Marketing Content Section */
.marketing-content-section {
  background-color: #f3f5f6;
  position: relative;
  z-index: 1;
  margin-top: 53vh;
}

/* Scroll Down Button */
.marketing-content-section .scroll-down-button-wrapper {
  position: absolute;
  top: -80px;
  right: 120px;
  width: 160px;
  height: 160px;
  background-color: #f3f5f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.marketing-content-section .scroll-down-button {
  width: 140px;
  height: 140px;
  background-color: #c8102e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.marketing-content-section .scroll-down-button:hover {
  background-color: #a00d26;
  transform: scale(1.05);
}

.marketing-content-section .scroll-down-button svg {
  width: 57px;
  height: 57px;
}

.marketing-content-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 80px 40px;
}

/* Marketing Introduction */

.marketing-intro-title {
  font-size: 48px;
  font-weight: 700;
  color: #000;
  line-height: 1.5;
  margin-bottom: 25px;
}

.marketing-intro-highlight {
  color: #c8102e;
}

.marketing-intro-text {
  font-size: 19px;
  line-height: 1.9;
  color: #333;
}

.pc-br {
  display: block;
}

/* Philosophy Section */
.marketing-philosophy-section {
  background-color: #ecf0f2;
  margin-bottom: 0;
  width: 100%;
}

.philosophy-header {
  text-align: center;
  margin-bottom: 80px;
}

.philosophy-header-label {
  font-family: "Gotham", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #c8102e;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.philosophy-title {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
}

.philosophy-title-highlight {
  color: #c8102e;
}

.philosophy-description {
  font-size: 18px;
  line-height: 2.1;
  color: #333;
}

.philosophy-content {
  position: relative;
}

.philosophy-item {
  position: relative;
  background-color: #ffffff;
  margin-bottom: 85px;
  padding: 75px 60px 60px;
  border-radius: 40px;
}

.philosophy-quote {
  text-align: center;
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.quote-icon {
  width: 60px;
  height: auto;
}

.philosophy-item-subtitle {
  font-family: "Gotham", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #c8102e;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  text-align: center;
  text-transform: uppercase;
}

.philosophy-item-main-title {
  font-size: 38px;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 30px;
}

.philosophy-item-sub-title {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.philosophy-item-description {
  font-size: 18px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
}

.philosophy-item-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 25px;
}

.philosophy-card {
  background-color: #f3f5f6;
  border: none;
  border-radius: 20px;
  padding: 12px 28px 12px 60px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.philosophy-card-number {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 35px;
  background-color: #c8191e;
  border-radius: 20px 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Gotham", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 20px 0;
}

.philosophy-card-label {
  font-size: 18px;
  font-weight: 700;
  color: #c8191e;
  margin-bottom: 8px;
}

.philosophy-card-text {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

/* Visualization Detail Section */
.visualization-detail-section {
  border-radius: 16px;
  padding: 100px 100px;
}

.visualization-detail-header {
  text-align: center;
  margin-bottom: 50px;
}

.visualization-detail-label {
  font-family: "Gotham", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #c8102e;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.visualization-detail-title {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  line-height: 1.5;
  margin-bottom: 24px;
}

.visualization-detail-highlight {
  color: #c8191e;
}

.visualization-detail-description {
  font-size: 18px;
  line-height: 1.9;
  color: #333;
}

.visualization-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.visualization-detail-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  gap: 0;
}

.visualization-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-bottom: #d6d7d8 solid 1px;
  padding: 30px 0;
}

.visualization-step-number {
  min-width: 40px;
  height: 40px;
  background-color: #c8102e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Gotham", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.visualization-step-content {
  flex: 1;
}

.visualization-step-title {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.visualization-step-text {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.visualization-detail-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visualization-graph {
  width: 100%;
}

.visualization-graph img {
  width: 100%;
  height: auto;
}

/* Our Positioning Section */
.our-positioning-section {
  padding: 100px 100px;
  background-color: #ecf0f2;
}

.our-positioning-header {
  text-align: center;
  margin-bottom: 80px;
}

.our-positioning-label {
  font-family: "Gotham", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #c8102e;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.our-positioning-title {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  line-height: 1.5;
  margin-bottom: 24px;
}

.our-positioning-highlight {
  color: #c8191e;
}

.our-positioning-description {
  font-size: 18px;
  line-height: 1.9;
  color: #333;
}

.our-positioning-image {
  max-width: 1200px;
  margin: 0 auto;
}

.our-positioning-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Core Competence Section */
.core-competence-section {
  padding: 100px 100px;
}

.core-competence-header {
  text-align: center;
  margin-bottom: 60px;
}

.core-competence-label {
  font-family: "Gotham", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #c8102e;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.core-competence-title {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  line-height: 1.5;
  margin-bottom: 24px;
}

.core-competence-description {
  font-size: 18px;
  line-height: 1.9;
  color: #333;
}

.core-competence-table {
  max-width: 1200px;
  margin: 0 auto;
}

.competence-table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}

.competence-header-cell {
  padding: 24px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  border-radius: 20px 20px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.competence-header-empty {
  background-color: transparent;
}

.competence-header-general {
  background-color: #7a8891;
}

.competence-header-bfj {
  background-color: #c8102e;
}

.bfj-header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.bfj-logo {
  font-family: "Gotham", sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.bfj-text {
  font-size: 18px;
  font-weight: 700;
}

.bfj-advantage {
  font-size: 14px;
  font-weight: 400;
}

.competence-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}

.competence-row-label {
  padding: 40px 34px;
  background-color: #ecf0f2;
  font-size: 20px;
  font-weight: 500;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: #d4d9e1 solid 1px;
}

.competence-table-row:last-child .competence-row-label {
  border-bottom: none;
}

.competence-cell {
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  border-bottom: #d4d9e1 solid 1px;
}

.competence-table-row:last-child .competence-cell {
  border-bottom: none;
  border-radius: 0 0 20px 20px;
}

.competence-cell p {
  margin: 0;
}

.competence-cell-general {
  background-color: #fff;
}

.competence-cell-bfj {
  background-color: #fff;
}

.highlight-red {
  color: #c8102e;
  font-weight: 700;
}

/* Data Learning Flow */
.data-learning-flow {
  margin-top: 50px;
  padding: 40px 60px;
  background-color: #d4d9e1;
  border-radius: 40px;
}

.data-flow-title {
  font-size: 27px;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 40px;
}

.data-flow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 193px;
}

.data-flow-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  height: 100%;
}

.data-flow-item {
  background-color: #fff;
  padding: 15px 24px;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-flow-label {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.data-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.data-flow-center {
  flex: 1.2;
  height: 100%;
}

.data-flow-center-box {
  background-color: #fff;
  padding: 40px 24px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.data-flow-center-label {
  font-family: "Gotham", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #c8102e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.data-flow-center-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.data-flow-center-subtitle {
  font-size: 16px;
  color: #333;
}

.data-flow-right {
  flex: 1;
  height: 100%;
}

.data-flow-right-box {
  background-color: #fff;
  padding: 40px 24px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.data-flow-right-label {
  font-family: "Gotham", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #c8102e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.data-flow-right-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.data-flow-right-subtitle {
  font-size: 16px;
  color: #333;
}

/* Case Studies Section */
.case-studies-section {
  margin-top: 80px;
  padding: 80px 60px;
  background-color: #fff;
  border-radius: 40px;
}

.case-studies-title {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 100px;
}

.case-studies-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.case-study-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.case-study-image {
  position: relative;
  flex-shrink: 0;
  width: 350px;
  height: 230px;
  border-radius: 16px;
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-content {
  flex: 1;
}

.case-study-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.case-study-industry {
  font-family: "Gotham", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #c8102e;
  text-transform: uppercase;
}

.case-study-type {
  font-size: 14px;
  color: #a2a2a2;
  background-color: #f3f5f6;
  padding: 4px 12px;
  border-radius: 16px;
}

.case-study-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
}

.case-study-description {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 24px;
}

.case-study-tags {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.case-study-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-study-tag svg {
  flex-shrink: 0;
}

.case-study-tag span {
  font-size: 16px;
  color: #333;
}

.case-study-divider {
  height: 0;
  border-top: 2px dotted #d6d7d8;
  margin: 50px 0;
}

.visualization-detail-right {
  display: flex;
  flex-direction: column;
}

.visualization-graph {
  width: 100%;
}

.visualization-graph img {
  width: 100%;
  height: auto;
}

/* Black Box Section */
.marketing-blackbox-section {
  background-color: #fff;
  border-radius: 16px;
  padding: 80px 60px;
  margin-bottom: 80px;
}

.blackbox-container {
  max-width: 1000px;
  margin: 0 auto;
}

.blackbox-title {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 24px;
}

.blackbox-title-highlight {
  color: #c8102e;
}

.blackbox-description {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  text-align: center;
  margin-bottom: 60px;
}

.blackbox-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.blackbox-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.blackbox-icon {
  width: 60px;
  min-width: 60px;
  height: 60px;
  background-color: #c8102e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blackbox-icon img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.blackbox-item-content {
  flex: 1;
}

.blackbox-item-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.blackbox-item-text {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.blackbox-cta {
  text-align: center;
}

.blackbox-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background-color: #c8102e;
  color: #fff;
  padding: 20px 48px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.blackbox-cta-button:hover {
  background-color: #a00d26;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.cta-button-arrow {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.blackbox-cta-button:hover .cta-button-arrow {
  transform: translateX(4px);
}

.blackbox-cta-note {
  font-size: 13px;
  color: #666;
  margin-top: 16px;
}

/* Pain Points Section */
.marketing-painpoints-section {
  background-color: #fff;
  border-radius: 16px;
  padding: 80px 60px;
  margin-bottom: 80px;
}

.painpoints-container {
  max-width: 1000px;
  margin: 0 auto;
}

.painpoints-title {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 24px;
}

.painpoints-title-highlight {
  color: #c8102e;
}

.painpoints-description {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.painpoints-note {
  text-align: center;
  margin-bottom: 60px;
}

.painpoints-note p {
  font-size: 13px;
  color: #666;
  font-style: italic;
}

.painpoints-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.painpoints-column {
  display: flex;
  flex-direction: column;
}

.painpoints-column-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  padding: 16px 24px;
  background-color: #f8f9fa;
  border-left: 4px solid #c8102e;
  margin-bottom: 24px;
}

.painpoints-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.painpoints-card {
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 24px;
}

.painpoints-card-label {
  font-size: 16px;
  font-weight: 700;
  color: #c8102e;
  margin-bottom: 12px;
}

.painpoints-card-text {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

/* Case Studies Section */
.marketing-cases-section {
  background-color: #fff;
  border-radius: 16px;
  padding: 80px 60px;
}

.cases-container {
  max-width: 1000px;
  margin: 0 auto;
}

.cases-title {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 60px;
}

.cases-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.case-item {
  display: flex;
  gap: 32px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f8f9fa;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.case-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.case-image {
  width: clamp(280px, 25vw, 320px);
  min-width: clamp(280px, 25vw, 320px);
  height: 240px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-content {
  flex: 1;
  padding: 32px 32px 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-label {
  font-family: "Gotham", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #c8102e;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.case-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 1.6;
  margin-bottom: 20px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tag {
  font-size: 12px;
  color: #666;
  background-color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid #e5e5e5;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .marketing-hero {
    padding: 0 0 0 60px;
  }

  .marketing-hero::before {
    font-size: 120px;
    top: 27%;
  }

  .marketing-content-section .scroll-down-button-wrapper {
    top: -50px;
    right: 30px;
    width: 145px;
    height: 145px;
  }

  .marketing-content-section .scroll-down-button {
    width: 120px;
    height: 120px;
  }

  .marketing-content-section .scroll-down-button svg {
    width: 48px;
    height: 48px;
  }

  .marketing-title {
    font-size: 38px;
  }

  .marketing-breadcrumb {
    left: 60px;
    bottom: 30px;
  }

  .marketing-philosophy-section,
  .marketing-blackbox-section,
  .marketing-painpoints-section,
  .marketing-cases-section {
    padding: 60px 40px;
  }

  .philosophy-title {
    font-size: 32px;
  }

  .philosophy-item-main-title {
    font-size: 38px;
  }

  .philosophy-item-cards {
    grid-template-columns: 1fr;
  }

  .blackbox-title,
  .painpoints-title {
    font-size: 30px;
  }

  .painpoints-grid {
    grid-template-columns: 1fr;
  }

  .case-item {
    flex-direction: column;
  }

  .case-image {
    width: 100%;
    height: 200px;
  }

  .case-content {
    padding: 24px;
  }

  .visualization-detail-left {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .visualization-detail-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .marketing-hero {
    padding: 0 0 0 20px;
    height: 46dvh;
  }

  .marketing-hero::before {
    font-size: 90px;
    left: 135%;
    top: 30%;
  }
  .marketing-hero-wrapper {
    margin-bottom: 0px;
  }
  .marketing-content-section .scroll-down-button-wrapper {
    top: -50px;
    right: 12px;
    width: 100px;
    height: 100px;
  }

  .marketing-content-section .scroll-down-button {
    width: 70px;
    height: 70px;
  }

  .marketing-content-section .scroll-down-button svg {
    width: 32px;
    height: 32px;
  }

  .marketing-hero-left {
    gap: 20px;
  }

  .marketing-hero-left .title-bar {
    height: 80px;
  }

  .marketing-title {
    font-size: 28px;
  }

  .marketing-service-label {
    font-size: 12px;
  }

  .marketing-breadcrumb {
    left: 20px;
    bottom: 9dvh;
    font-size: 10px;
  }

  .marketing-content-section {
    padding: 60px 0 0;
    margin-top: 30dvh;
  }

  .visualization-graph img {
    content: url("/wp-content/themes/bfj-theme/images/visualization-img-sp.png");
  }

  .marketing-content-container {
    padding: 0 30px;
  }

  .marketing-philosophy-section .marketing-content-container {
    padding: 0 10px;
  }

  .marketing-intro {
    margin-bottom: 60px;
  }

  .marketing-intro-title {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .marketing-intro-text {
    font-size: 14px;
    line-height: 1.1;
  }

  .pc-br {
    display: none;
  }

  .marketing-philosophy-section,
  .marketing-blackbox-section,
  .marketing-painpoints-section,
  .marketing-cases-section {
    padding: 40px 24px 0;
    margin-bottom: 0px;
  }

  .philosophy-header-label {
    font-size: 12px;
  }

  .philosophy-title {
    font-size: 21px;
    margin-bottom: 10px;
  }

  .philosophy-description {
    font-size: 13px;
  }

  .philosophy-quote {
    margin: 0;
    top: 2%;
  }

  .quote-icon {
    width: 40px;
  }

  .philosophy-item {
    margin-bottom: 40px;
    padding: 45px 13px 30px;
    border-radius: 16px;
  }

  .philosophy-item-subtitle {
    font-size: 10px;
  }

  .philosophy-item-main-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .philosophy-item-sub-title {
    font-size: 16px;
  }

  .philosophy-item-description {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .philosophy-item-cards {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }

  .philosophy-card {
    padding: 10px 20px 10px 40px;
  }

  .philosophy-card-number {
    width: 25px;
    font-size: 9px;
    padding: 15px 0;
    border-radius: 10px 0 0 10px;
  }

  .philosophy-card-label {
    font-size: 13px;
    margin-bottom: 3px;
  }

  .philosophy-card-text {
    font-size: 11px;
  }

  .blackbox-title,
  .painpoints-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .blackbox-description {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .blackbox-items {
    gap: 32px;
    margin-bottom: 40px;
  }

  .blackbox-item {
    flex-direction: column;
    gap: 16px;
  }

  .blackbox-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;
  }

  .blackbox-icon img {
    width: 24px;
    height: 24px;
  }

  .blackbox-item-title {
    font-size: 18px;
  }

  .blackbox-item-text {
    font-size: 14px;
  }

  .blackbox-cta-button {
    padding: 16px 36px;
    font-size: 16px;
  }

  .painpoints-description {
    font-size: 14px;
  }

  .painpoints-note p {
    font-size: 12px;
  }

  .painpoints-column-title {
    font-size: 16px;
    padding: 12px 16px;
  }

  .painpoints-card {
    padding: 20px;
  }

  .painpoints-card-label {
    font-size: 14px;
  }

  .painpoints-card-text {
    font-size: 13px;
  }

  .cases-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .case-item {
    gap: 0;
  }

  .case-image {
    height: 180px;
  }

  .case-content {
    padding: 20px;
  }

  .case-label {
    font-size: 11px;
  }

  .case-title {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .case-tag {
    font-size: 11px;
    padding: 5px 12px;
  }

  /* Visualization Detail Section - Mobile */
  .visualization-detail-section {
    padding: 65px 30px;
  }

  .visualization-detail-header {
    margin-bottom: 10px;
  }

  .visualization-detail-label {
    font-size: 12px;
  }

  .visualization-detail-title {
    font-size: 21px;
    margin-bottom: 16px;
  }

  .visualization-detail-description {
    font-size: 12px;
    line-height: 1.8;
  }

  .visualization-detail-left {
    gap: 0;
  }

  .visualization-step {
    padding: 20px 0;
  }

  .visualization-step-number {
    min-width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .visualization-step-title {
    font-size: 16px;
  }

  .visualization-step-text {
    font-size: 13px;
  }

  /* Our Positioning Section - Mobile */
  .our-positioning-section {
    padding: 45px 20px;
  }

  .our-positioning-header {
    margin-bottom: 40px;
  }

  .our-positioning-label {
    font-size: 14px;
  }

  .our-positioning-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .our-positioning-description {
    font-size: 13px;
    line-height: 1.6;
  }

  .our-positioning-image img {
    content: url("/wp-content/themes/bfj-theme/images/our-positioning-img-sp.png");
  }

  /* Core Competence Section - Mobile */
  .core-competence-section {
    padding: 60px 20px;
  }

  .core-competence-header {
    margin-bottom: 10px;
  }

  .core-competence-label {
    font-size: 14px;
  }

  .core-competence-title {
    font-size: 21px;
    margin-bottom: 10px;
  }

  .core-competence-description {
    font-size: 13px;
    line-height: 1.8;
  }

  .core-competence-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .competence-table-header,
  .competence-table-row {
    min-width: 658px;
  }

  .competence-header-cell {
    font-size: 14px;
    padding: 12px;
    border-radius: 16px 16px 0 0;
  }

  .bfj-text {
    font-size: 16px;
  }

  .bfj-advantage {
    font-size: 12px;
  }

  .competence-row-label {
    font-size: 14px;
    padding: 24px 16px;
  }

  .competence-cell {
    font-size: 12px;
    padding: 12px;
  }

  .data-learning-flow {
    padding: 30px 20px;
    border-radius: 16px;
    margin-top: 30px;
  }

  .data-flow-title {
    font-size: 17px;
    margin-bottom: 30px;
  }

  .data-flow-container {
    flex-direction: column;
    gap: 5px;
  }

  .data-flow-arrow {
    transform: rotate(90deg);
    width: 40px;
    margin: 0 auto;
  }

  .data-flow-left,
  .data-flow-center,
  .data-flow-right {
    width: 100%;
  }

  .data-flow-item,
  .data-flow-center-box,
  .data-flow-right-box {
    padding: 13px;
  }

  .data-flow-label,
  .data-flow-center-label,
  .data-flow-right-label {
    font-size: 13px;
  }

  .data-flow-center-label {
    font-size: 11px;

    margin-bottom: 10px;
  }

  .data-flow-center-title,
  .data-flow-right-title {
    font-size: 18px;
  }

  .data-flow-center-subtitle,
  .data-flow-right-subtitle {
    font-size: 14px;
  }

  .case-studies-title {
    font-size: 21px;
    margin-bottom: 15px;
  }

  .case-studies-section {
    margin-top: 40px;
    padding: 35px 15px;
    border-radius: 20px;
  }

  .case-study-item {
    flex-direction: column;
    gap: 15px;
  }

  .case-study-image {
    width: 100%;
    height: auto;
  }

  .case-study-item:nth-child(1) .case-study-image img {
    content: url("/wp-content/themes/bfj-theme/images/jirei-car-maker-sp.png");
  }

  .case-study-item:nth-child(3) .case-study-image img {
    content: url("/wp-content/themes/bfj-theme/images/jirei-saas-sp.png");
  }

  .case-study-content {
    padding: 0px;
  }

  .case-study-industry {
    font-size: 12px;
  }

  .case-study-type {
    font-size: 12px;
    padding: 4px 12px;
  }

  .case-study-title {
    font-size: 19px;
    margin-bottom: 8px;
  }

  .case-study-header {
    justify-content: space-between;
  }
  .case-study-description {
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.7;
  }

  .case-study-tags {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .case-study-tag span {
    font-size: 11px;
  }
  .case-study-tag img {
    width: 20px;
    height: 20px;
  }

  .case-study-tag {
    font-size: 13px;
  }

  .case-study-divider {
    margin: 30px 0;
  }
}

/* ========================================
   THANKS PAGE STYLES
   ======================================== */

/* Thanks Page */
.thanks-page {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding: 0;
}

.thanks-container {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px;
}

.thanks-content {
  text-align: center;
  max-width: 800px;
  width: 100%;
}

/* Thanks Logo */
.thanks-logo {
  /* margin-bottom: 60px; */
}

.thanks-logo-image {
  width: 240px;
  height: auto;
}

/* Thanks Title */
.thanks-title {
  font-size: 80px;
  font-weight: 700;
  color: #000;
  margin: 0 0 25px;
  line-height: 1.2;
}

/* Thanks Message */
.thanks-message {
  margin-bottom: 50px;
}

.thanks-text {
  font-size: 16px;
  line-height: 2;
  color: #000;
  margin: 0 0 12px;
}

.thanks-text:last-child {
  margin-bottom: 0;
}

/* Thanks Button */
.thanks-button-wrapper {
  display: flex;
  justify-content: center;
}

.thanks-button {
  display: inline-block;
  width: 100%;
  max-width: 300px;
  padding: 18px 80px;
  background-color: #c8191e;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.thanks-button:hover {
  background-color: #a01419;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 25, 30, 0.3);
}

/* Responsive Styles for Thanks Page */
@media (max-width: 768px) {
  .thanks-container {
    padding: 40px 20px;
  }

  .thanks-logo {
    margin-bottom: 0px;
  }

  .thanks-logo-image {
    width: 200px;
  }

  .thanks-title {
    font-size: 45px;
    margin-bottom: 10px;
  }

  .thanks-message {
    margin-bottom: 40px;
  }

  .thanks-text {
    font-size: 14px;
    line-height: 1.8;
  }

  .thanks-button {
    padding: 16px 60px;
    font-size: 14px;
    max-width: 230px;
  }
}

/* ========================================
   Recruit Page Styles
   ======================================== */
.recruit-page {
  padding-top: 0;
}

/* Recruit Hero Section */
.recruit-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #f3f5f6;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 40px;
}

.recruit-hero-content {
  position: absolute;
  bottom: 13dvh;
  z-index: 10;
  text-align: left;
  color: #c8191e;
  max-width: 1200px;
  padding: 0;
}

.recruit-hero-subtitle {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: #c8191e;
}

.recruit-hero-title {
  font-size: 110px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
  letter-spacing: 0.01em;
  color: #c8191e;
}

/* Infinite Scroll Images */
.recruit-hero-images {
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  opacity: 1;
}

.recruit-scroll-row {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.recruit-scroll-track {
  display: flex;
  gap: 20px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

.recruit-scroll-top.sp-only {
  display: none;
}

.recruit-scroll-top .recruit-scroll-track {
  animation: scrollLeft 200s linear infinite;
}

.recruit-scroll-top.sp-only .recruit-scroll-track {
  animation: none;
}

.recruit-scroll-bottom .recruit-scroll-track {
  animation: scrollRight 200s linear infinite;
}

.recruit-scroll-track picture {
  display: block;
  height: 100%;
  width: 420px;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
}

.recruit-scroll-img {
  height: auto;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-33.333%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Recruit Introduction Section */
.recruit-intro {
  background-color: #f3f5f6;
  padding: 0 0 110px;
  position: relative;
  z-index: 10;
}

.recruit-intro-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 130px;
  text-align: left;
}

.recruit-intro-title {
  font-size: 52x;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.recruit-intro-text {
  font-size: 23px;
  color: #000;
  margin: 0;
  letter-spacing: 0.03em;
}

/* Recruit Identity Section */
.recruit-identity {
  background-color: #c8191e;
  padding: 80px 0;
  position: relative;
  z-index: 10;
  overflow: visible;
}

.recruit-identity-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 130px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}

.recruit-identity-content {
  padding-right: 0;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.recruit-identity-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 30px;
}

.recruit-identity-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 50px;
  letter-spacing: 0.02em;
}

.recruit-identity-text {
  font-size: 16px;
  line-height: 2.2;
  color: #fff;
  letter-spacing: 0.03em;
}

.recruit-identity-text p {
  margin-bottom: 10px;
  color: #fff;
}

.recruit-identity-text p:last-child {
  margin-bottom: 0;
}

.recruit-identity-image {
  position: relative;
  width: calc(100% + 130px);
  height: 600px;
  z-index: 1;
}

.recruit-identity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px 0 0 40px;
}

/* Recruit Benefits Section */
.recruit-benefits {
  background-color: #c8191e;
  padding: 0 0 80px;
  position: relative;
  z-index: 10;
}

.recruit-benefits-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 80px;
}

.recruit-benefits-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 70px;
  text-align: center;
  letter-spacing: 0.02em;
}

.recruit-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.recruit-benefit-card {
  background-color: #c8191e;
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 40px 20px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}

.recruit-benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 2px;
  background-color: #c8191e;
  z-index: 2;
}

.benefit-number {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #c8191e;
  padding: 0 30%;
  z-index: 3;
}

.benefit-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 35px;
}

.benefit-title {
  display: flex;
  align-items: center;
  min-height: 87px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

.benefit-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-text {
  font-size: 15px;
  line-height: 1.8;
  color: #fff;
  margin: 0;
  letter-spacing: 0.02em;
}

/* Recruit Types Section */
.recruit-types {
  background-color: #f3f5f6;
  padding: 120px 0;
  position: relative;
  z-index: 10;
}

.recruit-types-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.recruit-type-card {
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 410px;
}

.recruit-type-label-vertical {
  background-color: #c8191e;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 50px;
  writing-mode: sideways-lr;
  transform: rotate(180deg);
}

.recruit-type-content {
  flex: 1;
  padding: 0 10px 0 50px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.recruit-type-header {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 15px;
  transition: all 0.3s ease;
}

.recruit-type-title {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  margin: 0;
  transition: color 0.3s ease;
}

.recruit-type-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #c8191e;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.recruit-type-arrow::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 16px;
  background-image: url("images/smile-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.recruit-type-header:hover .recruit-type-arrow {
  transform: scale(1.1);
  color: transparent;
}

.recruit-type-header:hover .recruit-type-arrow::after {
  opacity: 1;
}

.recruit-type-header:hover .recruit-type-title {
  color: #c8191e;
}

.recruit-type-text {
  font-size: 16px;
  line-height: 1.8;
  color: #000;
  margin: 0;
}

.recruit-type-image {
  flex-shrink: 0;
  max-width: 400px;
  width: 100%;
  padding: 20px 20px 20px 0;
}

.recruit-type-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* CEO Message Section */
.recruit-ceo-message {
  padding: 120px 0;
  background-color: #eaedef;
}

.recruit-ceo-message-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 0 0 80px;
}

.recruit-ceo-message-heading {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  width: 100%;
}

.recruit-ceo-message-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-left: 40px;
}

.recruit-ceo-message-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5px;
  padding-top: 40px;
}

.ceo-label {
  font-size: 125px;
  color: #000;
  font-weight: bold;
  line-height: 1;
}

.message-label {
  font-size: 125px;
  color: #c8191e;
  font-weight: bold;
  line-height: 1;
}

.recruit-ceo-message-title {
  font-size: 36px;
  line-height: 1.6;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
}

.recruit-ceo-message-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recruit-ceo-message-text p {
  font-size: 18px;
  line-height: 2;
  color: #333;
  margin: 0;
}

.recruit-ceo-message-signature {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 50px;
}

.ceo-title {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.ceo-name {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.recruit-ceo-message-image {
  position: relative;
  top: -20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.recruit-ceo-message-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 40px 0 0 40px;
}

/* Interview Section */
.recruit-interview {
  padding: 120px 0 80px;
}

.recruit-interview-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 120px;
}

.recruit-interview-header {
  margin-bottom: 50px;
}

.recruit-interview-title {
  font-size: 80px;
  font-weight: 700;
  color: #000;
  line-height: 1;
}

.recruit-interview-subtitle {
  font-size: 20px;
  color: #000;
  margin: 0;
  font-weight: 400;
}

.recruit-interview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.recruit-interview-card {
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.recruit-interview-card:nth-child(1) {
  margin-top: 0;
}

.recruit-interview-card:nth-child(2) {
  margin-top: 80px;
}

.recruit-interview-card:nth-child(3) {
  margin-top: 20px;
}

.recruit-interview-card:hover {
  transform: translateY(-5px);
}

.interview-card-image {
  border-radius: 20px;
  width: 100%;
  height: 470px;
  overflow: hidden;
  position: relative;
}

.interview-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recruit-interview-card:hover .interview-card-image img {
  transform: scale(1.05);
}

.interview-card-content {
  position: relative;
  padding: 25px 10px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.interview-card-role {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.interview-card-name {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.interview-card-button {
  position: absolute;
  top: -40px;
  right: 20px;
  width: 80px;
  height: 80px;
  background-color: #c8191e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.interview-button-arrow {
  color: #fff;
  font-size: 30px;
  transition: opacity 0.3s ease;
  display: block;
}

.interview-card-button::after {
  content: "";
  position: absolute;
  width: 35px;
  height: 24px;
  background-image: url("images/smile-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.recruit-interview-card:hover .interview-card-button {
  transform: scale(1.05);
}

.recruit-interview-card:hover .interview-button-arrow {
  opacity: 0;
}

.recruit-interview-card:hover .interview-card-button::after {
  opacity: 1;
}

/* Responsive Styles for Recruit Page */
@media (max-width: 1024px) {
  .recruit-hero {
    padding-left: 60px;
  }

  .recruit-hero-title {
    font-size: 70px;
  }

  .recruit-scroll-row {
    height: calc(35vh - 10px);
  }

  .recruit-scroll-track picture {
    width: 370px;
  }

  .recruit-scroll-img {
    height: 280px;
    width: 370px;
  }

  .recruit-intro-container {
    padding: 0 60px;
  }

  .recruit-intro-title {
    font-size: 36px;
  }

  .recruit-identity-container {
    padding: 0 60px;
    gap: 60px;
  }

  .recruit-identity-content {
    max-width: 700px;
  }

  .recruit-identity-image {
    right: -60px;
    width: calc(100% + 60px);
    height: auto;
  }

  .recruit-identity-image img {
    height: auto;
    max-height: 400px;
  }

  .recruit-identity-title {
    font-size: 36px;
  }

  .recruit-benefits-container {
    padding: 0 60px;
  }

  .recruit-type-card {
    min-height: 300px;
    border-radius: 20px;
    margin: 0 auto;
  }

  .recruit-type-image {
    width: 300px;
  }

  .recruit-benefits-title {
    font-size: 36px;
    margin-bottom: 60px;
  }

  .recruit-benefits-grid {
    gap: 60px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .benefit-title {
    font-size: 22px;
  }

  .recruit-types-container {
    padding: 0 60px;
  }

  .recruit-type-card::before {
    width: 60px;
  }

  .recruit-type-label-vertical {
    width: 60px;
    font-size: 12px;
  }

  .recruit-type-content {
    padding: 40px 40px 40px 30px;
  }

  .recruit-type-title {
    font-size: 28px;
  }

  .recruit-ceo-message {
    padding: 80px 0;
  }

  .recruit-ceo-message-container {
    padding: 0 60px;
    gap: 50px;
  }

  .recruit-ceo-message-heading {
    gap: 6px;
    flex-wrap: wrap;
  }

  .recruit-ceo-message-heading .ceo-label,
  .recruit-ceo-message-heading .message-label {
    font-size: 80px;
  }

  .recruit-ceo-message-content {
    gap: 60px;
  }

  .recruit-ceo-message-title {
    font-size: 28px;
  }

  .recruit-interview {
    padding: 80px 0;
  }

  .recruit-interview-container {
    padding: 0 60px;
  }

  .recruit-interview-title {
    font-size: 60px;
    margin-bottom: 8px;
  }

  .recruit-interview-subtitle {
    font-size: 18px;
  }

  .recruit-interview-header {
    margin-bottom: 60px;
  }

  .recruit-interview-grid {
    overflow-x: scroll;
    gap: 25px;
    display: flex;
    padding-bottom: 20px;
    scroll-behavior: smooth;
  }

  .recruit-interview-grid::-webkit-scrollbar {
    height: 8px;
  }

  .recruit-interview-grid::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
  }

  .recruit-interview-grid::-webkit-scrollbar-thumb {
    background: #c8191e;
    border-radius: 4px;
  }

  .recruit-interview-card {
    min-width: 210px;
    flex-shrink: 0;
  }

  .recruit-interview-card:nth-child(1),
  .recruit-interview-card:nth-child(2),
  .recruit-interview-card:nth-child(3) {
    margin-top: 0px;
  }

  .interview-card-image {
    height: 240px;
  }

  .interview-card-button {
    width: 55px;
    height: 55px;
    bottom: 25px;
    right: 25px;
  }
}

@media (max-width: 768px) {
  .recruit-hero {
    padding-left: 20px;
    height: 82vh;
  }

  .recruit-identity-image img {
    border-radius: 20px 0 0 20px;
  }

  .recruit-hero-title {
    font-size: 60px;
    margin-bottom: 0;
    line-height: 1;
  }

  .recruit-hero-subtitle {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .recruit-scroll-top.sp-only {
    display: block;
  }

  .recruit-scroll-top.sp-only .recruit-scroll-track {
    animation: scrollLeft 20s linear infinite;
  }

  .recruit-scroll-row {
    height: calc(25vh - 10px);
  }

  .recruit-scroll-track picture {
    width: 280px;
  }

  .recruit-scroll-img {
    height: 210px;
    width: 280px;
  }

  .recruit-hero-content {
    padding: 0;
    bottom: 0dvh;
  }

  .recruit-intro {
    padding: 20px 0 40px;
  }

  .recruit-intro-container {
    padding: 0 30px;
  }

  .recruit-intro-title {
    font-size: 22px;
    margin-bottom: 8px;
    line-height: 1.7;
  }

  .recruit-intro-text {
    font-size: 14px;
  }

  .recruit-identity {
    padding: 50px 0 0;
  }

  .recruit-identity-container {
    padding: 0 30px;
    gap: 30px;
  }

  .recruit-identity-image {
    right: 0px;
    width: calc(100% + 40px);
    height: auto;
  }

  .recruit-identity-label {
    margin-bottom: 15px;
    font-size: 10px;
  }

  .recruit-identity-title {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.5;
  }

  .recruit-identity-text {
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 0.06em;
  }

  .recruit-identity-text p {
    margin-bottom: 0px;
  }

  .recruit-benefits-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .recruit-benefits {
    padding: 20px 0 60px;
  }

  .recruit-benefits-container {
    padding: 0 30px;
  }

  .recruit-benefits-title {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .recruit-benefit-card {
    padding: 35px 35px 0;
    min-height: 350px;
  }

  .benefit-number {
    font-size: 25px;
    margin-bottom: 0px;
    top: -10px;
  }

  .benefit-label {
    font-size: 10px;
    margin-bottom: 0px;
  }

  .recruit-type-header {
    gap: 8px;
  }

  .benefit-title {
    font-size: 17px;
    margin-bottom: 8px;
    min-height: 65px;
  }

  .benefit-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
  }

  .benefit-text {
    font-size: 13px;
    text-align: left;
  }

  .recruit-types {
    padding: 50px 0;
  }

  .recruit-types-container {
    padding: 0 60px;
    gap: 10px;
  }

  .recruit-type-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
  }

  .recruit-type-card::before {
    display: none;
  }

  .recruit-type-label-vertical {
    display: none;
  }

  .recruit-type-content {
    padding: 25px 25px 5px;
    gap: 16px;
  }

  .recruit-type-content::before {
    content: attr(data-label);
    font-size: 14px;
    font-weight: 600;
    color: #c8191e;
    text-transform: lowercase;
  }

  .recruit-type-title {
    font-size: 19px;
  }

  .recruit-type-arrow {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .recruit-type-text {
    font-size: 12px;
  }

  .recruit-type-image {
    height: auto;
    max-width: 400px;
    width: 100%;
    padding: 20px 20px 5px;
    margin: 0 auto;
  }

  .recruit-type-image img {
    border-radius: 20px 20px 0 0;
  }

  .recruit-ceo-message {
    padding: 50px 0;
  }

  .recruit-ceo-message-container {
    padding: 0 30px;
    gap: 30px;
  }

  .ceo-label,
  .message-label {
    font-size: 60px;
  }

  .recruit-ceo-message-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
  }

  .recruit-ceo-message-text-wrapper {
    display: contents;
  }

  .recruit-ceo-message-title {
    width: 100%;
    order: 1;
    font-size: 20px;
  }

  .recruit-ceo-message-image {
    order: 2;
    width: 100%;
  }

  .recruit-ceo-message-image img {
    height: 360px;
    object-fit: contain;
  }

  .recruit-ceo-message-text {
    order: 3;
    gap: 12px;
  }

  .recruit-ceo-message-text p {
    font-size: 14px;
    line-height: 1.9;
  }

  .recruit-ceo-message-signature {
    order: 4;
    margin-top: 10px;
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
    align-items: baseline;
  }

  .ceo-title {
    font-size: 12px;
  }

  .ceo-name {
    font-size: 18px;
  }

  .recruit-interview {
    padding: 50px 0 80px;
  }

  .recruit-interview-container {
    padding: 0 0 0 30px;
  }

  .recruit-interview-title {
    font-size: 40px;
  }

  .recruit-interview-subtitle {
    font-size: 14px;
  }

  .recruit-interview-header {
    margin-bottom: 40px;
  }

  .interview-card-image {
    height: 260px;
  }

  .interview-card-content {
    padding: 20px 0 25px;
    gap: 0;
  }

  .interview-card-role {
    font-size: 12px;
  }

  .interview-card-name {
    font-size: 20px;
  }

  .interview-card-button {
    width: 60px;
    height: 60px;
    bottom: 18px;
    right: 18px;
  }

  .interview-button-arrow {
    font-size: 18px;
  }

  .interview-card-button::after {
    width: 22px;
    height: 18px;
  }
}

@media (max-width: 460px) {
  .recruit-types-container {
    padding: 0 20px;
  }
}

/* ================================
   Internship Page Styles
   ================================ */

/* Hero Section - Internship */
.internship-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 10px;
}

.internship-page .internship-title {
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  margin: 0;
}

.internship-page .internship-subtitle {
  font-size: 18px;
  color: #000;
  margin: 0;
}

.internship-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  position: absolute;
  bottom: 25vh;
  left: 120px;
  right: 0;
}

.internship-page {
  background-color: #f3f5f6;
}

/* Internship Content Section */
.internship-content-section {
  background-color: #f3f5f6;
  padding: 60px 0 80px;
  position: relative;
  z-index: 10;
  margin-top: 72vh;
}

.internship-content-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 30px;
}

/* KV Image Section */
.internship-kv-image {
  width: 100%;
  height: 640px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 80px;
}

.internship-kv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Philosophy Section */
.internship-philosophy-section {
  padding: 0px 80px;
  margin-top: 80px;
  margin-bottom: 100px;
  display: grid;
  grid-template-columns: minmax(180px, 25%) 1fr;
  gap: 70px;
}

.intern-philosophy-label {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #000;
}

.intern-philosophy-content {
  display: flex;
  flex-direction: column;
  gap: 95px;
}

.intern-philosophy-item {
}

.intern-philosophy-title {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  color: #c8191e;
  margin-bottom: 35px;
}

.intern-philosophy-text {
  font-size: 18px;
  line-height: 1.9;
  color: #000;
  margin-bottom: 45px;
}

.intern-philosophy-text:last-child {
  margin-bottom: 0;
}

/* Internship Image Section */
.internship-image-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.internship-image-section img {
  width: 3200px;
  max-width: none;
  height: auto;
  display: block;
  pointer-events: none;
    user-select: none;
}

/* Features Section */
.intern-features-section {
  background-color: #ecf0f2;
  padding: 110px 0 120px;
  z-index: 10;
  position: relative;
}

.intern-features-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 120px;
}

.intern-features-title {
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  color: #000;
}

.intern-features-header {
  display: flex;
  gap: 100px;
  margin-bottom: 50px;
  justify-content: space-between;
  align-items: center;
}

.intern-features-subtitle {
  font-size: 28px;
  color: #000;
  margin: 0;
  font-weight: 500;
}

.intern-features-intro {
  font-size: 18px;
  line-height: 2;
  color: #000;
}

.intern-features-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.intern-feature-item {
  display: grid;
  grid-template-columns: 375px 1fr;
  gap: 80px;
  align-items: center;
}

.intern-feature-image {
  width: 100%;
  height: 253px;
}

.intern-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.intern-feature-content {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.intern-feature-label {
  font-size: 16px;
  font-weight: 500;
  color: #c8191e;
  margin-bottom: 7px;
}

.intern-feature-title {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.intern-feature-text {
  font-size: 16px;
  line-height: 1.8;
  color: #000;
  margin: 0;
}

/* Work Section */
.intern-work-section {
  background-color: #c8191e;
  padding: 110px 0 120px;
  position: relative;
  z-index: 10;
}

.intern-work-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 120px;
}

.intern-work-title {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
  text-align: center;
}

.intern-work-intro {
  font-size: 18px;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 80px;
  text-align: center;
}

.intern-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 30px;
}

.intern-work-card {
  background-color: #c8191e;
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}

.intern-work-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 2px;
  background-color: #c8191e;
  z-index: 2;
}

.intern-work-number {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #c8191e;
  padding: 0 30%;
  z-index: 3;
  margin: 0;
}

.intern-work-card-title {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
  line-height: 2;
}

.intern-work-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intern-work-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intern-work-text {
  font-size: 17px;
  line-height: 1.7;
  color: #fff;
  margin: 0;
}

/* Show More Button - Hidden on Desktop */
.intern-work-more-button-wrapper {
  display: none;
}

.intern-schedule-section {
  background-color: #f3f5f6;
  padding: 110px 96px 120px;
  position: relative;
  z-index: 10;
}

.intern-schedule-container {
  max-width: 1200px;
  margin: 0 auto;
}

.intern-schedule-title {
  font-size: 40px;
  font-weight: bold;
  color: #000;
  text-align: center;
  margin-bottom: 20px;
}

.intern-schedule-title .title-red {
  color: #c8191e;
}

.intern-schedule-intro {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  text-align: center;
  line-height: 2;
  margin-bottom: 110px;
}

/* Schedule Slider */
.intern-schedule-slider {
  position: relative;
}

/* Schedule Header */
.intern-schedule-header {
  background-color: #c8191e;
  border-radius: 20px 20px 0 0;
  padding: 60px 100px 30px;
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  overflow: visible;
}

.intern-schedule-header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-40%, -40%);
  width: 50%;
  height: 140%;
  background-image: url("images/hero-image.png");
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Navigation Buttons */
.schedule-nav-btn {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.schedule-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.schedule-nav-btn:active {
  transform: scale(0.95);
  background-color: rgba(255, 255, 255, 0.2);
}

.schedule-nav-buttons {
  display: flex;
  gap: 20px;
}

.schedule-nav-prev,
.schedule-nav-next {
  position: static;
  transform: none;
}

/* Member Info */
.schedule-member-info {
  display: grid;
  grid-template-columns: min(50%, 320px) 1fr;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.schedule-member-image {
  object-fit: cover;
  object-position: top;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: relative;
  margin-top: -150px;
  margin-bottom: -70px;
}

.schedule-member-image.active {
  display: block;
  opacity: 1;
}

.schedule-member-details {
  text-align: left;
  align-self: flex-start;
}

.schedule-member-name,
.schedule-member-fullname,
.schedule-member-school {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.schedule-member-name.active,
.schedule-member-fullname.active,
.schedule-member-school.active {
  display: block;
  opacity: 1;
}

.schedule-member-name {
  font-size: 32px;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.schedule-member-fullname {
  font-size: 16px;
  color: #fff;
}

.schedule-member-school {
  font-size: 16px;
  color: #fff;
}

/* Schedule Content */
.intern-schedule-content {
  background-color: #fff;
  border-radius: 0 0 20px 20px;
  padding: 30px 30px 50px;
  position: relative;
  overflow: hidden;
}

.schedule-image {
  width: 100%;
  height: auto;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
    user-select: none;
}

.schedule-image.active {
  display: block;
  opacity: 1;
}

/* ========================================
   Intern Seniors Section
   ======================================== */

.intern-seniors-section {
  background-color: #ecf0f2;
  padding: 110px 120px 140px;
  position: relative;
  z-index: 10;
}

.intern-seniors-container {
  max-width: 1200px;
  margin: 0 auto;
}

.intern-seniors-title {
  font-size: 40px;
  font-weight: bold;
  color: #000;
  text-align: center;
  margin-bottom: 18px;
}

.intern-seniors-title .title-red {
  color: #c8191e;
}

.intern-seniors-intro {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  text-align: center;
  margin-bottom: 60px;
}

/* Note Slider */
.note-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.note-slider {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.note-slider-track {
  display: flex;
  gap: 15px;
  transition: transform 0.5s ease;
}

.note-item {
  flex: 0 0 380px;
  display: block;
  transition: transform 0.3s ease;
}

.note-item:hover {
  transform: scale(1.05);
}

.note-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Note Navigation Buttons */
.note-nav-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.note-nav-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.note-nav-btn:active {
  transform: scale(0.95);
}

.note-nav-btn.note-nav-prev {
  transform: translate(50%, 0%);
  z-index: 10;
}

.note-nav-btn.note-nav-next {
  transform: translate(-50%, 0%);
  z-index: 10;
}

/* Note Button */
.note-button-wrapper {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  background-color: #c8191e;
  border-radius: 100px;
  padding: 50px 80px;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.note-button-wrapper:hover {
  transform: translateY(-5px);
}

.note-button-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.note-button-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
}

.note-logo {
  height: auto;
  width: 250px;
}

.note-button-text {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

/* Note Button Circle (based on about-button-circle) */
.note-button-circle {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.note-button-circle .note-arrow {
  color: #c8191e;
  transition: opacity 0.3s ease;
  display: block;
}

.note-button-circle::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 20px;
  background-image: url("images/smile-arrow-large.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.note-button-wrapper:hover .note-button-circle {
  transform: scale(1.05);
}

.note-button-wrapper:hover .note-arrow {
  opacity: 0;
}

.note-button-wrapper:hover .note-button-circle::after {
  opacity: 1;
}

/* ========================================
   Work Flow Section
   ======================================== */

.work-flow-section {
  background-color: #f3f5f6;
  padding: 110px 120px 180px;
  position: relative;
  z-index: 10;
}

.work-flow-container {
  max-width: 1200px;
  margin: 0 auto;
}

.work-flow-title {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 45px;
  color: #000;
}

.work-flow-cards {
  display: flex;
  gap: 45px;
  justify-content: center;
}

.work-flow-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 60px 20px 40px;
  flex: 1;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* STEP Label */
.work-flow-step-label {
  position: absolute;
  top: -10px;
  left: -20px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: #c8191e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #fff;
  gap: 0;
}

.step-text {
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 0.05em;
}

.step-number {
  font-size: 32px;
  font-weight: bold;
}

/* Icon */
.work-flow-icon {
  width: 130px;
  height: 130px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-flow-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Card Title */
.work-flow-card-title {
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  color: #000;
}

/* Card Text */
.work-flow-card-text {
  font-size: 16px;
  line-height: 1.9;
  color: #000;
  text-align: left;
  margin: 0;
}

/* Work Conditions */
.work-conditions {
  background-color: #fff;
  border-radius: 40px;
  padding: 100px 95px;
  margin-top: 100px;
}

.work-conditions-title {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: #000;
}

.work-conditions-list {
  display: flex;
  flex-direction: column;
}

.work-condition-item {
  display: flex;
  align-items: stretch;
}

.work-condition-label {
  width: 252px;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  padding: 35px 0;
  border-top: 1px solid #cccccc;
}

.work-condition-item:last-child .work-condition-label {
  border-bottom: 1px solid #cccccc;
}

.work-condition-content {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: #000;
  padding: 35px 0 35px 70px;
  border-top: 1px solid #ebebeb;
}

.work-condition-item:last-child .work-condition-content {
  border-bottom: 1px solid #ebebeb;
}

/* Q&A Section */
.qa-section {
  max-width: 840px;
  margin: 120px auto 0;
  padding: 0 20px;
}

.qa-title {
  font-size: 36px;
  font-weight: bold;
  color: #000;
  text-align: center;
  margin-bottom: 30px;
}

.qa-list {
  display: flex;
  flex-direction: column;
}

.qa-item {
}

.qa-question {
  display: flex;
  align-items: center;
  gap: 45px;
  padding: 30px 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
  border-bottom: 1px solid #e0e0e0;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.qa-question:hover {
  opacity: 0.7;
}

.qa-q-label {
  font-size: 32px;
  font-weight: bold;
  color: #c8191e;
  flex-shrink: 0;
}

.qa-question-text {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin: 0;
  flex: 1;
}

.qa-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #c8191e;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.qa-toggle:hover {
  transform: scale(1.1);
}

.qa-icon-minus {
  display: none;
}

.qa-item.active .qa-icon-plus {
  display: none;
}

.qa-item.active .qa-icon-minus {
  display: block;
}

.qa-answer {
  display: grid;
  grid-template-rows: 0fr;
  gap: 45px;
  transition:
    grid-template-rows 0.4s ease,
    padding 0.4s ease;
  padding: 0;
}

.qa-answer > * {
  overflow: hidden;
}

.qa-answer-content {
  display: flex;
  gap: 45px;
}

.qa-item.active .qa-answer {
  grid-template-rows: 1fr;
  padding: 30px 0;
  border-bottom: 1px solid #e0e0e0;
}

.qa-a-label {
  font-size: 32px;
  font-weight: bold;
  color: #000;
  flex-shrink: 0;
}

.qa-answer-text {
  font-size: 16px;
  line-height: 1.9;
  color: #000;
  margin: 0;
  flex: 1;
}

/* Entry Section */
.entry-section {
  background-color: #c8191e;
  padding: 80px 140px 120px;
  border-radius: 40px 40px 0 0;
  margin-top: 0;
  position: relative;
  z-index: 10;
}

.entry-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.entry-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.entry-title {
  font-size: 80px;
  font-weight: bold;
  color: #fff;
  margin: 0;
  line-height: 1;
}

.entry-text {
  color: #fff;
}

.entry-text p {
  font-size: 18px;
  font-weight: 600;
  line-height: 2;
  margin: 0;
}

.entry-button {
  display: flex;
  align-items: center;
  width: 380px;
  min-height: 100px;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.entry-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.entry-button-text {
  font-size: 18px;
  font-weight: 600;
  color: #c8191e;
  flex: 1;
  text-align: center;
}

.entry-button-circle {
  right: 20px;
  width: 48px;
  height: 48px;
  background-color: #c8191e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  overflow: hidden;
  position: absolute;
}

.entry-arrow {
  transition: opacity 0.3s ease;
  display: block;
  color: #fff;
}

.entry-button-circle::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 12px;
  background-image: url("images/smile-arrow-large-white.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.entry-button:hover .entry-button-circle {
  transform: scale(1.05);
}

.entry-button:hover .entry-arrow {
  opacity: 0;
}

.entry-button:hover .entry-button-circle::after {
  opacity: 1;
}

/* Responsive Design for Work Flow Section */
@media screen and (max-width: 1024px) {
  .work-flow-section {
    padding: 60px 80px;
  }

  .work-flow-cards {
    gap: 30px;
  }

  .work-flow-card {
    padding: 50px 30px 30px;
  }

  .work-conditions {
    padding: 60px 80px;
    margin-top: 60px;
  }

  .work-condition-label {
    width: 200px;
  }

  .work-condition-content {
    padding-left: 30px;
  }

  .intern-seniors-section {
    padding: 60px 80px;
  }

  .note-item {
    flex: 0 0 320px;
  }

  .internship-image-section img {
    width: 1500px;
    max-width: none;
  }

  /* Tablet - Features Section */
  .intern-features-section {
    padding: 80px 0 100px;
  }

  .intern-features-container {
    padding: 0 60px;
  }

  .intern-features-title {
    font-size: 60px;
    margin-bottom: 30px;
  }

  .intern-features-header {
    gap: 60px;
  }

  .intern-features-subtitle {
    font-size: 24px;
  }

  .intern-feature-item {
    grid-template-columns: 300px 1fr;
    gap: 50px;
  }

  .intern-feature-image {
    height: 400px;
  }

  /* Tablet - Work Section */
  .intern-work-section {
    padding: 80px 0 100px;
  }

  .intern-work-container {
    padding: 0 60px;
  }

  .intern-work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }

  /* Tablet - Schedule Section */
  .intern-schedule-section {
    padding: 80px 60px 100px;
  }
}

@media screen and (max-width: 768px) {
  .work-flow-section {
    padding: 40px 24px 70px;
  }

  .work-flow-container {
    overflow: visible;
  }

  .work-flow-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .work-flow-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }

  .work-flow-cards {
    display: flex;
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    justify-content: flex-start;
  }

  .work-flow-cards::-webkit-scrollbar {
    height: 8px;
  }

  .work-flow-cards::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
  }

  .work-flow-cards::-webkit-scrollbar-thumb {
    background: #c8191e;
    border-radius: 4px;
  }

  .work-flow-step-label {
    width: 50px;
    height: 50px;
    top: -8px;
    left: -15px;
  }
  .step-text {
    font-size: 10px;
  }
  .step-number {
    font-size: 20px;
  }
  .work-flow-card {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
    padding: 60px 20px 30px;
    scroll-snap-align: start;
  }

  .work-flow-card-title {
    font-size: 20px;
  }

  .work-conditions {
    padding: 30px 24px 40px;
    margin-top: 60px;
    border-radius: 24px;
  }

  .work-conditions-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .work-condition-item {
    flex-direction: column;
  }

  .work-condition-label {
    font-size: 13px;
    width: 100%;
    padding: 10px 0;
  }

  .work-condition-content {
    padding: 0 0 10px;
    border-top: none;
    font-weight: 400;
    font-size: 13px;
  }

  .work-condition-item:last-child .work-condition-label {
    border-bottom: none;
  }
  .qa-section {
    margin-top: 60px;
    padding: 0 35px;
  }

  .qa-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .qa-question {
    gap: 10px;
    padding: 10px 0;
    align-items: start;
  }

  .qa-q-label {
    font-size: 20px;
    line-height: 1;
  }

  .qa-question-text {
    font-size: 14px;
  }

  .qa-toggle {
    width: 30px;
    height: 30px;
  }

  .qa-answer {
    margin-left: 48px;
  }

  .qa-answer-content {
    gap: 20px;
  }

  .qa-item.active .qa-answer {
    padding-bottom: 24px;
  }

  .qa-a-label {
    font-size: 28px;
  }

  .qa-answer-text {
    font-size: 15px;
  }

  .entry-section {
    padding: 60px 24px;
    border-radius: 24px 24px 0 0;
  }

  .entry-container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .entry-button-text {
    font-size: 14px;
    text-align: left;
  }

  .entry-button-circle {
    width: 30px;
    height: 30px;
    right: 15px;
  }
  .entry-button-circle .entry-arrow {
    width: 20px;
    height: 15px;
  }
  .entry-content {
    gap: 15px;
  }

  .entry-title {
    font-size: 40px;
  }

  .entry-text p {
    font-size: 13px;
    font-weight: 200;
  }

  .entry-button {
    width: 100%;
    min-height: 20px;
  }

  .work-flow-card-text {
    font-size: 15px;
  }

  .intern-seniors-section {
    padding: 40px 24px 60px;
  }

  .intern-seniors-title {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .intern-seniors-intro {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: normal;
  }

  .note-slider-wrapper {
    gap: 0px;
    margin-bottom: 40px;
  }

  .note-slider-track {
    gap: 8px;
  }
  .note-item {
    flex: 0 0 350px;
  }

  .note-nav-btn {
    width: 50px;
    height: 50px;
  }

  .note-button-wrapper {
    padding: 15px 40px;
  }

  .note-button-content {
    gap: 30px;
  }

  .note-button-text {
    font-size: 10px;
    text-align: center;
  }

  .note-button-text-wrapper {
    align-items: flex-start;
    gap: 10px;
  }

  .note-logo {
    width: 100px;
  }

  .note-button-circle {
    width: 35px;
    height: 35px;
    margin-right: -10px;
  }
  .note-arrow {
    width: 20px;
    height: 15px;
  }
  .note-button-circle::after {
    width: 20px;
    height: 15px;
  }

  /* Internship Image Section - SP */
  .internship-image-section {
    margin-top: 60px;
  }

  .internship-image-section img {
    width: 900px;
    max-width: none;
  }

  /* Features Section - SP */
  .intern-features-section {
    padding: 60px 0 50px;
  }

  .intern-features-container {
    padding: 0 34px;
  }

  .intern-features-title {
    font-size: 42px;
    margin-bottom: 0px;
  }

  .intern-features-header {
    flex-direction: column;
    gap: 22px;
    margin-bottom: 20px;
    align-items: flex-start;
  }

  .intern-features-subtitle {
    font-size: 18px;
  }

  .intern-features-intro {
    font-size: 18px;
    line-height: 1.8;
  }

  .intern-feature-item {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .intern-feature-image {
    height: 200px;
  }

  .intern-feature-label {
    font-size: 14px;
    margin-bottom: 0px;
  }

  .intern-feature-content {
    gap: 3px;
  }
  .intern-feature-title {
    font-size: 18px;
    line-height: 1.6;
  }

  .intern-feature-text {
    font-size: 13px;
    line-height: 1.7;
  }

  /* Work Section - SP */
  .intern-work-section {
    padding: 50px 0 80px;
  }

  .intern-work-container {
    padding: 0 35px;
  }

  .intern-work-title {
    font-size: 21px;
    margin-bottom: 20px;
  }

  .intern-work-intro {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 35px;
  }

  .intern-work-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  /* Hide cards 5-8 by default on SP */
  .intern-work-card:nth-child(n + 5) {
    display: none;
  }

  /* Show all cards when expanded */
  .intern-work-grid.expanded .intern-work-card:nth-child(n + 5) {
    display: flex;
  }

  /* Hide button wrapper when expanded */
  .intern-work-grid.expanded ~ .intern-work-more-button-wrapper {
    display: none;
  }

  .intern-work-card {
    padding: 30px 24px 20px;
    border-radius: 16px;
  }

  .intern-work-number {
    font-size: 32px;
    top: -20px;
  }

  .intern-work-card-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .intern-work-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
  }

  .intern-work-text {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Show More Button - SP Only */
  .intern-work-more-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -70px;
    position: relative;
    padding-top: 100px;
  }

  .intern-work-more-button-wrapper::before {
    content: "";
    position: absolute;
    bottom: 90px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(
      to bottom,
      rgba(200, 25, 30, 0) 0%,
      rgba(200, 25, 30, 1) 100%
    );
    pointer-events: none;
  }

  .intern-work-more-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 50px;
    background-color: #fff;
    border-radius: 150px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
  }

  .intern-work-more-button .more-button-text {
    color: #c8191e;
    font-size: 16px;
    font-weight: 700;
  }

  .intern-work-more-button .more-button-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #c8191e;
    border-radius: 50%;
    transition: transform 0.3s ease;
  }

  .intern-work-more-button .more-button-arrow {
    transition: transform 0.3s ease;
  }

  /* Schedule Section - SP */
  .intern-schedule-content {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 15px 15px 20px;
  }

  .intern-schedule-content .schedule-image {
    scroll-snap-align: start;
  }
}

/* Responsive Styles for Internship Page */
@media (max-width: 1024px) {
  .internship-philosophy-section {
    margin-top: 60px;
    grid-template-columns: 140px 1fr;
    gap: 40px;
  }

  .intern-philosophy-content {
    gap: 50px;
  }

  .intern-philosophy-text {
    font-size: 15px;
  }

  .intern-schedule-section {
    padding: 60px 48px;
  }

  .schedule-nav-prev {
    left: 50px;
  }

  .schedule-nav-next {
    left: 160px;
  }

  .intern-schedule-header {
    padding: 60px 50px 30px;
  }
}

@media (max-width: 768px) {
  .internship-content-section {
    margin-top: 25vh;
    padding: 20px 0 80px;
  }
  .internship-page .internship-title {
    font-size: 48px;
  }

  .internship-page .internship-subtitle {
    font-size: 14px;
  }

  .internship-breadcrumb {
    bottom: 5vh;
    left: 35px;
    font-size: 10px;
  }

  .internship-content-container {
    padding: 0 20px;
  }

  .internship-kv-image {
    height: 360px;
    margin-bottom: 40px;
  }

  .internship-philosophy-section {
    padding: 0 10px;
    margin-top: 40px;
    margin-bottom: 60px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .intern-philosophy-label {
    font-size: 12px;
  }

  .intern-philosophy-content {
    gap: 40px;
  }

  .intern-philosophy-title {
    font-size: 32px;
    margin-bottom: 22px;
    line-height: 1.5;
  }

  .intern-philosophy-text {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 30px;
  }

  .intern-schedule-section {
    padding: 40px 24px;
  }

  .intern-schedule-title {
    font-size: 32px;
  }

  .intern-schedule-intro {
    font-size: 16px;
    margin-bottom: 80px;
  }

  .intern-schedule-header {
    padding: 40px 20px 30px;
    grid-template-columns: 1fr;
    gap: 30px;
    z-index: 10;
  }

  .intern-schedule-header::before {
    display: none;
  }

  /* SP Layout: Text info and image side by side */
  .schedule-member-info {
    grid-template-columns: 1fr 300px;
    align-items: flex-start;
    gap: 20px;
    order: 1;
  }

  .schedule-member-details {
    order: 1;
  }

  .schedule-member-image {
    order: 2;
    width: 270px;
    height: 300px;
    margin-top: 0;
    margin-bottom: 0;
    position: absolute;
    right: 20px;
    bottom: 0;
  }

  /* Navigation buttons below */
  .schedule-nav-buttons {
    order: 2;
    margin-top: 20px;
  }

  .schedule-nav-btn {
    width: 60px;
    height: 60px;
    position: static;
  }

  .schedule-nav-btn svg {
    width: 20px;
    height: 20px;
  }

  .schedule-member-name {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .schedule-member-fullname {
    font-size: 16px;
    margin-bottom: 3px;
  }

  .schedule-member-school {
    font-size: 13px;
  }

  /* Schedule Content - SP Horizontal Scroll */
  .intern-schedule-content {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .intern-schedule-content::-webkit-scrollbar {
    height: 8px;
  }

  .intern-schedule-content::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
  }

  .intern-schedule-content::-webkit-scrollbar-thumb {
    background: #c8191e;
    border-radius: 4px;
  }

  .schedule-image {
    min-width: 800px;
    width: auto;
    height: auto;
  }
}

@media screen and (max-width: 480px) {
  .intern-schedule-section {
    padding: 30px 16px;
  }

  .intern-schedule-title {
    font-size: 28px;
  }

  .intern-schedule-intro {
    font-size: 14px;
    line-height: 1.6;
  }

  .schedule-member-info {
    grid-template-columns: 1fr 70px;
    align-items: flex-start;
    gap: 20px;
    order: 1;
  }

  .note-nav-btn {
    width: 30px;
    height: 30px;
  }

  .note-nav-btn svg {
    width: 15px;
    height: 15px;
  }

  .schedule-nav-btn {
    width: 50px;
    height: 50px;
  }

  .schedule-nav-prev {
    left: 10px;
  }

  .schedule-nav-next {
    left: 75px;
  }

  .schedule-member-image {
    width: 200px;
    height: 300px;
    right: 10px;
    bottom: 0;
    order: 2;
    margin-top: 0;
    margin-bottom: 0;
    z-index: -1;
  }

  .schedule-member-name {
    font-size: 20px;
  }

  .schedule-member-fullname {
    font-size: 16px;
  }

  .schedule-member-school {
    font-size: 13px;
  }
  .note-nav-btn.note-nav-prev {
    transform: translate(0%, 0%);
    z-index: 10;
    position: absolute;
    left: -10px;
  }
  .note-nav-btn.note-nav-next {
    transform: translate(0%, 0%);
    z-index: 10;
    position: absolute;
    right: -10px;
  }
  .note-item {
    flex: 0 0 240px;
  }
  .intern-feature-image {
    height: 200px;
  }
}
