@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


/* ==========================================================================
   Modern Top Page Styles
   ========================================================================== */

:root {
  --primary-color: #007bff; /* Change to your brand color */
  --primary-dark: #0056b3;
  --accent-color: #ff9800;
  --accent-dark: #e68a00;
  --text-main: #333333;
  --text-sub: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #ced4da;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-family-base: 'Noto Sans JP', sans-serif;
  --font-size-base: 16px; /* Base font size increased */
  --width-container: 1380px; /* Define common width */
}

body.modern-theme {
  font-family: var(--font-family-base);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: var(--font-size-base); /* Applied */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Reset tweaks for modern theme if needed */
.modern-theme a {
  text-decoration: none;
  transition: all 0.3s ease;
  color: inherit;
}
.modern-theme a:hover {
  opacity: 0.8;
}
.modern-theme img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Container */
.container {
  max-width: var(--width-container);
  margin: 0 auto;
  padding: 30px 30px; /* Added bottom padding for footer spacing */
  box-sizing: border-box; /* Ensure padding is included */
}
.container2 {
  max-width: var(--width-container);
  margin: 0 auto;
  padding: 0 30px 30px; /* Added bottom padding for footer spacing */
  border-radius: 20px;
  box-sizing: border-box; /* Ensure padding is included */
}
@media (max-width: 767px) {
    .container {
      padding: 20px 15px 20px;
    }
    .container2 {
      padding: 0 2.5vw 20px;
      border-radius: 13px;
    }
}


/* Text */
.content_text_L {
    color: #2a2626;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8em;
    font-feature-settings: "palt";
    letter-spacing: 0.03em;
}
.content_text_M {
    color: #2a2626;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6em;
    font-feature-settings: "palt";
    letter-spacing: 0.03em;
}
.content_text_S {
    color: #2a2626;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4em;
    font-feature-settings: "palt";
    letter-spacing: 0.03em;
}
@media (max-width: 991px) {
    .content_text_L {
        font-size: clamp(15px,3.25vw,16px);
        line-height: 1.6em;
    }
    .content_text_M {
        font-size: clamp(12px,3.0vw,14px);
        line-height: 1.6em;
    }
    .content_text_S {
        font-size: clamp(11px,2.8vw,12px);
        line-height: 1.3em;
    }
}



.content_btn {
    font-size: 18px;
    color: #fff !important;
    background: #009bd2;
    width: 360px;
    height: 80px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 991px) {
    .content_btn {
        font-size: clamp(13px,3.5vw,15px);
        width: 80%;
        height: 60px;
    }
}


/* Search Status - Same as search page */
.search-status {
  margin-bottom: 30px; /* 下線の下に余白を追加 */
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
  padding-top: 0;
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.search-status p {
  margin: 0;
  font-size: 16px;
  color: var(--text-main);
}
.search-status em {
  font-weight: 700;
  font-size: 150%;
  color: var(--primary-color);
  margin: 0 0.5em;
  font-style: normal;
}

/* Section Common */
.section-container {
  padding: 80px 0;
}
.section-container2 {
  padding: 40px 0;
}
.section-container.bg-light {
  background-color: var(--bg-light);
}
.section-header {
  margin-bottom: 30px;
  position: relative;
}
.section-en-title {
  color: #fff;
  font-size: 120px;
  line-height: 1em;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.point_back02 .section-header {
  margin-bottom: 3.5em;
}
.point_back02 .section-en-title { 
    color: #f2f4f8;
    line-height: 0.57em;
}

.section-jp-title {
    font-size: 30px;
    font-weight: 700;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
@media (max-width: 767px) {
  .section-container { padding: 30px 0; }
    
  .section-container2 { padding: 20px 3.5vw; }
    
  .section-header {
      padding-bottom: 1.0em;
      margin-bottom: 20px;
  }
  .section-en-title {
    margin-bottom: 0;
  }
    
  .section-en-title {
    font-size: clamp(20px, 13.5vw, 50px);
  }
  .section-jp-title { 
        font-size: clamp(20px, 6vw, 24px);
        white-space: nowrap;
    }
}



.section-header-sub { 
    width: fit-content;
    text-align: left;
    position: relative;
}
.section-header-sub .section-en-title {
    font-size: 34px;
}
.section-header-sub .section-jp-title {
    font-size: 24px;
    position: static;
    transform: inherit;
}
@media (max-width: 991px) {
    .search-outer .section-header-sub {
        width: 13em;
    }
    .section-header-sub .section-en-title {
        font-size: clamp(28px,3.5vw,32px);
    }
    .section-header-sub .section-jp-title {
        font-size: clamp(18px,3.5vw,20px);
        margin-top: -1em;
    }
}
@media (max-width: 767px) {
    .search-outer .section-header-sub {
        width: 100%;
    }
    .section-header-sub .section-en-title {
        font-size: clamp(28px,3.5vw,32px);
    }
    .section-header-sub .section-jp-title {
        font-size: clamp(18px,3.5vw,20px);
        margin-top: -1em;
    }
}


/* ==========================================================================
   Header Styles (Override & Modernize)
   ========================================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 50;
  height: auto; /* Ensure height is auto */
}

/* Ensure inner container behaves flex-like or clears floats */
/* Increase specificity to override common.css */
body.modern-theme #header .inner,
#header .inner {
  /*max-width: var(--width-container) !important;*/ /* Aligned with variable */
  margin: 0 auto !important;
  padding: 10px 15px !important; /* Aligned padding */
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  box-sizing: border-box !important; /* Match container */
  width: 100% !important; /* Ensure it takes full width up to max-width */
}

/* Logo Fix */
#header .siteid {
  float: none; /* Disable legacy float */
  margin: 0;
  /*padding: 5px 0 5px 0;*/ /* Reduced padding */
  width: auto;
}
#header .siteid h1 {
  margin: 0;
  padding: 0;
  line-height: 1;
}
#header .siteid img {
  max-width: 252px; /* Constrain logo size */
  height: auto;
  display: block;
  /*margin-top: -5px;*/ /* Slight lift up */
}
@media (max-width: 767px) {
  #header .siteid img {
    max-width: 150px;
    max-height: inherit;
    margin-top: 0;
    padding-top: 0;
  }
}

/* Header Navigation */
#header_nav {
  float: none; /* Disable legacy float */
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  #header_nav {
    display: block !important;
  }
}

#gnav, #pnav {
  float: none; /* Disable legacy float */
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center; /* Vertical center alignment */
  gap: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}
/* Separate left menu from right buttons */
#gnav {
  flex-shrink: 0;
}

#gnav li,
#pnav li {
  margin-left: 0;
  float: none; /* Disable legacy float */
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 991px) {
    #gnav {
        flex-direction: column;
    }
}
@media (max-width: 767px) {
    #gnav li, #pnav li {
      padding: 0 0;
      margin-left: 0; 
    }
}


/* Group login/mypage and register buttons together */
#pnav {
  margin-left: 1em;
  flex-shrink: 0;
}
#pnav li:first-child {
  margin-right: 0 !important;
  margin-left: auto;
}
#pnav li.drop_down {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* Add small gap between buttons using the button's margin */
.btn-header-login,
.btn-header-mypage {
  margin-right: 8px;
}

/* Ensure buttons are displayed inline */
#pnav li.pnav-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

#pnav li.pnav-buttons a {
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 991px) {
  #pnav {
    margin: 0 0;
    padding: 0.5em 1.5em;
  }
  #pnav li.pnav-buttons {
    gap: 1em;
  }
  #header_nav #pnav li a {
    width: calc((100% - 1em) / 2);
    margin: 0 0;
  }
}
@media (max-width: 767px) {
  #pnav li:first-child {
    margin-left: 0;
    margin-right: 0;
  }
  #pnav li.pnav-buttons {
    margin-left: 0 ;
    margin-right: 0;
  }
}


#gnav li a,
#pnav li a {
  font-weight: 700;
  font-size: 15px; /* Increased */
  color: var(--text-main);
  display: block;
  padding: 5px 5px;
  line-height: 1.4;
  transition: all 0.3s;
}
#gnav li a:hover,
#pnav li a:hover {
  color: var(--primary-color);
}
@media (max-width: 767px) {
    #gnav li a {
        padding: 15px 15px;
    }
}


#pnav li a {
    padding: 0.8em 3.0em;
    height: 60px;
    border-radius: 50px;
    position: relative;
}
#pnav li .btn-header-login::before,
#pnav li .btn-header-register::before {
    content : "";
    display : inline-block;
}
#pnav li .btn-header-login::before {
    width: 29px;
    height: 25px;
    background: url("../images/i_login.png") no-repeat;
    background-size: contain;
}
#pnav li .btn-header-register::before {
    width: 22px;
    height: 32px;
    background: url("../images/i_register.png") no-repeat;
    background-size: contain;
}

/* Login/MyPage Button Styles */
.btn-header-login,
.btn-header-mypage {
  background: #df588d;
  color: #fff !important;
  border-radius: 25px;
  padding: 0.8em 3.0em !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s;
  /*box-shadow: 0 2px 6px rgba(0, 123, 255, 0.2);*/
}
.btn-header-login:hover,
.btn-header-mypage:hover {
  /*box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);*/
  transform: translateY(-1px);
}
.btn-header-login i,
.btn-header-mypage i {
  font-size: 16px;
  flex-shrink: 0;
  display: none;
}

/* Register Button Styles */
.btn-header-register {
  background: #009bd2;
  color: #fff !important;
  border-radius: 25px;
  padding: 0.8em 3.0em !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(255, 152, 0, 0.2);
}
.btn-header-register:hover {
  box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
  transform: translateY(-1px);
}
.btn-header-register i {
  font-size: 16px;
  flex-shrink: 0;
  display: none;
}

/* Register Page Notice */
.register-page-notice {
  font-size: 1.1em;
  font-weight: 600;
  color: var(--text-main);
}

/* Company Link Box on Register Page */
.company-link-box {
  background: linear-gradient(135deg, #fff5e6 0%, #fff9f0 100%);
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  padding: 32px 28px;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.08);
}
.company-link-title {
  font-size: 1.15em;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.5;
}
.company-link-text {
  font-size: 0.95em;
  color: var(--text-sub);
  margin-bottom: 24px;
  line-height: 1.7;
}
.company-link-button-wrap {
  margin-top: 8px;
}
@media (max-width: 767px) {
    .company-link-box {
        border-radius: 12px;
        padding: 20px 10px;
        margin-top: 30px;
    }
}



/* Company Register Button on Register Page */
.btn-company-register {
  display: inline-block;
  background: var(--accent-color);
  color: #fff !important;
  padding: 14px 36px;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.25);
  font-size: 15px;
  line-height: 1.5;
}
.btn-company-register:hover {
  background: var(--accent-dark);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.35);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-company-register i {
  margin-right: 8px;
  font-size: 16px;
}

/* Login Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  display: none;
}
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}
.modal-close:hover {
  color: var(--text-main);
}
.modal-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main);
}
.modal-message {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 25px;
  line-height: 1.6;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.btn-modal-login {
  display: block;
  height: 53px;
  padding: 12px;
  background: var(--primary-color);
  color: #fff!important;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-modal-login:hover {
  background: var(--primary-dark);
  color: #fff;
}
.btn-modal-register {
  display: block;
  padding: 12px;
  background: #fff;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-modal-register:hover {
  background: var(--accent-color);
  color: #fff;
}

@media (max-width: 767px) {
    .btn-modal-login,
    .btn-modal-register {
        height: 50px;
        border-width: 2px;
        font-size: clamp(13px, 3.0vw, 15px);
        line-height: 1.8em;
    }
    
}

/* ========== Registration Button Highlight ========== */
/* Target the "New Registration" list item specifically */
#pnav li.drop_down {
  margin-left: 30px;
}

#pnav li.drop_down > span {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 12px 28px; /* Increased padding */
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px; /* Increased */
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(255, 152, 0, 0.2);
}
#pnav li.drop_down > span:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(255, 152, 0, 0.3);
}
#pnav li.drop_down > span i {
  display: none; /* Hide legacy icon if not needed */
}

/* Dropdown Menu Override */
.drop_down_list {
  top: 120%; /* Space below button */
  right: 0; /* Align to right edge of parent */
  left: auto; /* Override any left positioning */
  margin-top: 5px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  background: #fff;
  min-width: 220px; /* Increased for Japanese text */
  padding: 10px 0;
  display: none; /* Controlled by hover usually, or JS */
  position: absolute;
  z-index: 100;
  overflow: hidden; /* Fix for hover overflow */
  box-sizing: border-box;
}
/* Show dropdown on hover */
li.drop_down:hover .drop_down_list {
  display: block;
}

/* Specific fix for #pnav dropdown to prevent text overflow */
#pnav .drop_down_list {
  right: 0 !important; /* Force right alignment */
  left: auto !important; /* Override any left positioning */
  min-width: 220px !important; /* Ensure sufficient width for Japanese text */
}

.drop_down_list li {
  margin: 0;
  width: 100%;
}
.drop_down_list li a {
  padding: 12px 20px; /* Increased padding */
  color: var(--text-main);
  font-weight: normal;
  display: block;
  transition: background 0.2s;
  font-size: 15px; /* Increased */
  box-sizing: border-box; /* Fix for width issue */
  white-space: nowrap; /* Prevent text wrapping */
  overflow: visible; /* Ensure text is visible */
  text-overflow: clip; /* Don't clip text */
  text-align: center; /* Center align text */
}
.drop_down_list li a:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

/* SP Menu Button (Hidden on PC usually, but ensure visibility on SP) */
#header_search_btn {
  display: none;
}

#header_nav_btn {
  display: none;
}

@media (max-width: 991px) {
  #header .inner {
    padding: 10px 15px !important;
  }
  #header_nav {
    display: none; /* Typically handled by JS toggle, or show hamburger */
  }
  #header_nav.show {
    display: block !important;
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  #header_search_btn {
    display: flex;
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    border: none;
    background: none;
    padding: 8px;
    cursor: pointer;
    z-index: 999;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
  }
  #header_search_btn i {
    font-size: 20px;
    line-height: 1;
  }
  #header_search_btn:hover {
    color: var(--primary-color);
  }
  #header_nav_btn {
    display: block;
    background: none;
    border: none;
    font-size: 28px; /* Increased */
    cursor: pointer;
    padding: 5px;
  }
}
@media (max-width: 767px) {
  /* 検索アイコンを表示 */
  #header_search_btn {
    display: flex !important;
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
  }
  /* スマホ表示で#pnavのマージンをリセット */
  #pnav {
    padding: 0 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #pnav li:first-child {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #pnav li {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #pnav li.pnav-buttons {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ==========================================================================
   Hero Section (Revamped)
   ========================================================================== */
.hero-section {
  position: relative;
  height: 650px; /* Slightly taller */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  margin-top: -1px; /* Adjust for header border if needed */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/main_v.png');
  background-size: cover;
  background-position: center top;
  z-index: 1;
  /* Add subtle scale animation */
  animation: heroZoom 20s infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* More sophisticated gradient */
  background: linear-gradient(135deg, rgba(0,86,179,0.7) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 2;
  display: none;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--width-container); /* Match container width */
  margin: 0 auto;
  padding: 0 30px; /* Match container padding */
  box-sizing: border-box;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-title > span {
    width: fit-content;
    border-bottom: 1px solid #fff;
    padding: 0 10px;
    font-size: 70px;
    font-feature-settings: "palt";
    letter-spacing: 0.2em;
    line-height: 1.5em;
}
.hero-title .text-highlight {
  color: #fff;
  /* text-decoration: underline; text-decoration-color: var(--accent-color); */
  border-bottom: 5px solid var(--accent-color);
  display: inline-block;
  line-height: 1;
}

.hero-lead {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 500;
}

/* Hero Search Box (Glassmorphism) */
.hero-search-box {
  background: rgba(255, 255, 255, 0.85); /* More transparent */
  padding: 1em 1em;
  border-radius: 20px;
  /*box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);*/
  max-width: 800px;
  margin: 0 auto;
}

.search-form-flex {
  display: flex;
  gap: 0; /* Remove gap, button connected */
}

.search-input-group {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-group i {
  position: absolute;
  left: 25px;
  color: var(--text-sub);
  font-size: 22px;
  z-index: 10;
}

.hero-input {
  width: 100%;
  height: 54px; /* Reduced height */
  padding: 0 20px 0 50px; /* Adjusted padding */
  border: none;
  border-radius: 50px 0 0 50px; /* Left pill */
  font-size: 16px; /* Reduced font size */
  background: #fff;
  color: var(--text-main);
  box-sizing: border-box;
}
.hero-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--primary-color);
}

.hero-submit-btn {
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 0 50px 50px 0; /* Right pill */
  padding: 0 30px; /* Reduced padding */
  font-size: 18px; /* Reduced font size */
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  height: 54px; /* Match input height */
  box-shadow: -5px 0 10px rgba(0,0,0,0.1);
}
.hero-submit-btn:hover {
  background: var(--accent-dark);
  padding-right: 30px; /* Slight animation */
}

.hero-tags {
  margin-top: 20px;
  text-align: center;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}
.hero-tags span { margin-right: 10px; font-weight: bold;}
.hero-tags a {
  color: #fff;
  margin-right: 10px;
  text-decoration: none;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 20px;
  transition: background 0.2s;
}
.hero-tags a:hover {
  background: rgba(255,255,255,0.4);
}

@media (max-width: 991px) {
  .hero-bg {
    background-image: url(../images/main_v.png);
    background-size: cover;
    background-position: top left;
  }
  .hero-overlay {
    display: block;
    background: rgba(255, 255, 255, 0.3);
  }
    
  .hero-title {}
  .hero-title > span {
    font-size: clamp(36px,7.0vw,48px);
    line-height: 1.4em;
  }
  .hero-lead {
    font-size: clamp(18px,5.0vw,26px);
    margin-bottom: 20px;
  }
  .hero-search-box { border-radius: var(--radius-lg); padding: 20px; background: rgba(255,255,255,0.9); }
  .search-form-flex { flex-direction: column; gap: 10px; }
  .hero-input { border-radius: var(--radius-md); height: 60px; }
  .hero-submit-btn { border-radius: var(--radius-md); height: 60px; width: 100%; box-shadow: none; }
  .hero-submit-btn:hover { padding-right: 0; }
  .hero-tags a { color: var(--text-main); background: #fff; } /* If background becomes light on mobile due to form change */
  .hero-tags { color: #fff; }
  .hero-tags a { color: #fff; background: rgba(255,255,255,0.2); }
}
@media (max-width: 767px) {
  .hero-section { height: auto; padding: 120px 0 80px; }
  .hero-container { padding: 0 15px; }
  .hero-title {}
  .hero-title > span { font-size: clamp(28px,6.75vw,38px); }
  .hero-lead { font-size: clamp(16px,3.75vw,18px); }
  .hero-search-box { padding: 15px; }
  .hero-input { font-size: 16px; padding-left: 50px; }
  .search-input-group i { left: 20px; font-size: 18px; }
}



.top_search_wrap form {
    width: fit-content;
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5em 1.5em;
    margin: 0 auto;
    border-radius: 12px;
}
.top_search_form {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
	/*flex-wrap: wrap;*/
	gap: 0 10px;
}
.mv_form_input {
	font-size: 16px;
	width: calc(8.5em + 3em);
    padding: 1em 1.5em;
	margin: 0 0;
	background: url(../images/select_arrow.png) no-repeat #fff;
    background-position: 95% center;
    border: 1px solid #c1c1c1;
    border-radius: 8px;
	outline: none;
	cursor: pointer;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.mv_form_x {
    width: 26px;
    height: 26px !important;
    vertical-align: middle;
    margin: 15px 0;
}
/*.mv_form_submit { 
	width:25%;
	letter-spacing: 1px;
	font-size: 15px;
	height: 55px;
	line-height: 1;
}*/
.btn_img_css {
	color: #fff;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding: 0.5em 2em 0.5em 4em;
    background: url(../images/i_search.png) no-repeat #009bd2;
    background-position: left 1.25em center;
    border-radius: 50px;
    width: fit-content;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
}
@media (max-width: 767px) {
    .top_search_wrap form {
        padding: 1em 0.75em;
    }
    .top_search_form {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px 10px;
    }
    .mv_form_input {
        width: calc((100% - 50px) / 2);
        padding: 0.75em 1.0em;
    }
}


.bnr_container {}
.bnr_container a {
    width: fit-content;
    margin: auto;
    display: block;
}
@media (max-width: 767px) {
    
}



.search-outer {
    margin-bottom: 3.5em; 
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.search-outer .section-header-sub {
    width: 15em;
}
.search-container {
    width: calc(100% - 15em);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
@media (max-width: 991px) {
    .search-outer {
        margin-bottom: 2.0em;
    }
    
    .search-container {
        width: calc(100% - 13em);
    }
}
@media (max-width: 767px) {
    .search-outer { 
        margin-bottom: 2.0em;
        flex-direction: column;
    }
    
    .search-outer .section-header-sub {
        width: 100%; 
        margin-bottom: 20px;
    }
    
    .search-container {
        width: 100%;
    }
}

/* エリアから探す */
.area-container { 
    width: 100%;
    position: relative;
}
.area-container .map {
    width: 90%;
    max-width: 750px;
    margin: auto;
}

.area-container .area-shikoku,
.area-container .area-kansai {
    display: flex;
    align-items: center;
    position: absolute;
    transform: translateY(-50%);
}
.area-container .area-shikoku {
    left: 5em;
    top: 50%;
}
.area-container .area-shikoku .inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
}
.area-container .area-kansai {
    top: 22%;
    right: 3%;
}
.area-container .area-kansai .inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
}

.area-container .area-shikoku::before,
.area-container .area-kansai::before {
    content: "";
    display: inline-block;
    width: 122px;
    height: 122px;
    margin-right: 0.5em;
}
.area-container .area-shikoku::before {
    background: url("../images/area_shikoku.png") no-repeat;
    background-size: contain;
}
.area-container .area-kansai::before {
    background: url("../images/area_kansai.png") no-repeat;
    background-size: contain;
}

.area-container .area-card {
    text-align: center;
    font-size: 16px;
    line-height: 1.4em;
    font-weight: bold;
    padding: 0.25em 1em;
    border: 2px solid;
    border-radius: 25px;
    background: #fff;
}
.area-container .area-shikoku .area-card { color: #df588d; }
.area-container .area-kansai .area-card { color: #009bd2; }


.area-container .area-other {
    cursor: pointer;
    position: absolute;
    bottom: 20%;
    right: 18%;
}
.area-container .area-other .area-card {
    width: 122px;
    height: 122px;
    font-size: 22px;
    padding: 0.25em 1em;
    background: #e9edf3;
    border-color: #e9edf3;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 1200px) {
    .area-container .area-shikoku::before,
    .area-container .area-kansai::before {
        width: 8vw;
        height: 8vw;
    }
}
@media (max-width: 991px) {
    .area-container .map { width: 100%; }
    
    .area-container .area-shikoku {
        left: 0;
        top: 40%;
    }
    .area-container .area-kansai {
        /*top: inherit;
        bottom: 0;*/
    }
}
@media (max-width: 767px) {
    .area-container .area-shikoku,
    .area-container .area-kansai {
        flex-direction: column;
    }
    .area-container .area-shikoku::before,
    .area-container .area-kansai::before {
        width: 12vw;
        height: 12vw;
        margin: 0 0 10px;
    }
    .area-container .area-shikoku {
        left: 0;
        top: 30%;
    }
    .area-container .area-kansai {
        top: 20%;
        bottom: inherit;
        right: 0%;
    }
    .area-container .area-card {
        font-size: clamp(12px, 3.0vw, 14px);
        padding: 0.25em 0.5em;
    }
}


.remodal.area-other-remodal {
    max-width: 980px;
    padding: 2.5em 2.5em;
}
.area-outer {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.area-outer + .area-outer { margin-top: 15px; }
.area-outer .area-othername {
    width: 8em;
    text-align: left;
    font-weight: bold;
}
.area-outer .area-otherlist {
    /*width: calc(100% - 8em);*/
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 1em;
}
.area-outer .area-otherlist a {
    background: #e9edf3;
    border-radius: 25px;
    font-size: 16px;
    line-height: 1.4em;
    font-weight: bold;
    padding: 0.25em 1em;
    display: inline-block;
}
@media (max-width: 1200px) {
}
@media (max-width: 991px) {
    .area-container .area-other {
        bottom: 10%;
        right: 0;
    }
    .area-container .area-other .area-card {
        width: 10vw;
        height: 10vw;
        padding: 0.25em 0.25em;
        font-size: clamp(13px,3.5vw,16px);
    }
    .remodal.area-other-remodal {
        padding: 1.5em 1.5em;
    }

}
@media (max-width: 767px) {
    .area-container .area-other .area-card {
        width: auto;
        height: auto;
        padding: 0.2em 0.75em;
        border-radius: 10px;
    }
    
    .area-outer .area-otherlist a {
        font-size: clamp(12px, 3.0vw, 14px);
        padding: 0.25em 0.5em;
    }
    
}


/* 職種から探す */
.jobtype .search-container {}
.jobtype .category-card {
    width: calc((100% - 40px) / 5);
    background: #e9edf3;
    padding: 0.75em 0.5em;
    border: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.jobtype .category-card::before {
    content: "";
    display: inline-block;
    margin-right: 0.25em;
    width: 41px;
    height: 41px;
    position: static;
    transform: inherit;
}
.jobtype .category-card:nth-child(1)::before {
    background: url("../images/i_syokushu_01.png") no-repeat;
    background-size: contain;
    background-position: center;
}
.jobtype .category-card:nth-child(2)::before {
    background: url("../images/i_syokushu_02.png") no-repeat;
    background-size: contain;
    background-position: center;
}
.jobtype .category-card:nth-child(3)::before {
    background: url("../images/i_syokushu_03.png") no-repeat;
    background-size: contain;
    background-position: center;
}
.jobtype .category-card:nth-child(4)::before {
    background: url("../images/i_syokushu_04.png") no-repeat;
    background-size: contain;
    background-position: center;
}
.jobtype .category-card:nth-child(5)::before {
    background: url("../images/i_syokushu_05.png") no-repeat;
    background-size: contain;
    background-position: center;
}
.jobtype .category-card:nth-child(6)::before {
    background: url("../images/i_syokushu_06.png") no-repeat;
    background-size: contain;
    background-position: center;
}
.jobtype .category-card:nth-child(7)::before {
    background: url("../images/i_syokushu_07.png") no-repeat;
    background-size: contain;
    background-position: center;
}
.jobtype .category-card:nth-child(8)::before {
    background: url("../images/i_syokushu_08.png") no-repeat;
    background-size: contain;
    background-position: center;
}
.jobtype .category-card:nth-child(9)::before {
    background: url("../images/i_syokushu_09.png") no-repeat;
    background-size: contain;
    background-position: center;
}
.jobtype .category-card:nth-child(10)::before {
    background: url("../images/i_syokushu_10.png") no-repeat;
    background-size: contain;
    background-position: center;
}
.jobtype .category-card:nth-child(11)::before {
    background: url("../images/i_syokushu_01.png") no-repeat;
    background-size: contain;
    background-position: center;
}
.jobtype .category-card:nth-child(12)::before {
    background: url("../images/i_syokushu_01.png") no-repeat;
    background-size: contain;
    background-position: center;
}
.jobtype .category-card:hover { 
    border: 1px solid #e5e5e5; 
    box-shadow: none;
}
@media (max-width: 991px) {
    .jobtype .category-card {
        width: calc((100% - 20px) / 3);
        padding: 0.5em 0.75em;
    }
    .jobtype .category-card::before {
        width: 25px;
        height: 25px;
    }
    .jobtype .category-name {
        font-size: clamp(13px, 3.35vw, 14px);
    }
}
@media (max-width: 767px) {
    .jobtype .category-card {
        width: calc((100% - 10px) / 2);
    }
    .jobtype .category-card::before {
        width: 6.5vw;
        height: 6.5vw;
    }
    .jobtype .category-name {
        font-size: clamp(12px, 3.0vw, 13px);
    }
}

/* こだわりから探す */
.detail {}
.detail .category-card {
    font-size: 14px;
    padding: 0.75em 1.75em;
    border: 2px solid #cee0fc;
    border-radius: 25px;
}
.detail .category-card::before { content: none; }
.detail .category-card:hover {
    color: #000;
    background: #cee0fc;
    border: 2px solid #cee0fc;
    box-shadow: none;
}
@media (max-width: 991px) {
    .detail .category-card {
        font-size: clamp(12px, 3.25vw, 14px);
        padding: 0.5em 1.0em;
    }
}
@media (max-width: 767px) {
    
}



/* 強み */
.strength-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3em;
    justify-content: space-between;
    margin-top: 5.5em;
}
.strength-col {
    flex: 1;
    /* min-width: 280px; */
    background: #fff;
    padding: 0 0;
    border-radius: 8px;
    /* text-align: center; */
    /* box-shadow: 0 5px 10px rgba(0,0,0,0.08); */
}
.strength-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.strength-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}
.strength-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}
@media (max-width: 991px) {
    .strength-title {
        font-size: clamp(18px, 3.75vw, 20px);
        margin-bottom: 10px;
    }
}
@media (max-width: 768px) {
  .strength-grid {
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
  }
  .strength-col {
    /*padding: 20px 15px;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.08);*/
  }
  .strength-image {
    width: 25vw;
    height: 25vw;
    margin: 0 auto 10px;
  }
  .strength-title {
    font-size: clamp(16px, 3.75vw, 18px);
    margin-bottom: 10px;
  }
  .strength-desc {
    font-size: clamp(13px, 3.0vw, 14px);
  }
}





/* ==========================================================================
   Category Grid
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.category-card {
  display: flex;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.category-icon {
  width: 45px; /* Increased */
  height: 45px; /* Increased */
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 20px; /* Increased */
  flex-shrink: 0;
}
.category-name {
  flex: 1;
  font-weight: 700;
  font-size: 16px; /* Increased */
}
.category-arrow {
  font-size: 16px;
  color: #ccc;
}

@media (max-width: 767px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-card { padding: 15px 10px; flex-direction: column; text-align: center; }
  .category-icon { margin: 0 0 10px 0; }
  .category-arrow { display: none; }
  .category-name { font-size: 14px; }
}

/* ==========================================================================
   Job Cards (Pickup & Grid)
   ========================================================================== */
.job-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.job-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  height: 100%;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}
.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.job-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.job-card-image {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: #eee;
  overflow: hidden;
  margin: 0;
}
.job-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.job-card:hover .job-card-image img {
  transform: scale(1.05);
}

.badge-pickup {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent-color);
  color: #fff;
  padding: 6px 12px; /* Increased padding */
  font-size: 13px; /* Increased */
  font-weight: bold;
  border-radius: 4px;
  z-index: 2;
}

.job-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.job-card-company {
  font-size: 15px; /* Increased */
  color: var(--text-sub);
  margin-bottom: 10px;
  font-weight: normal;
}

.job-card-text {
  font-size: 18px; /* Increased */
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-text {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 16px; /* Increased */
  display: flex;
  align-items: center;
}
.btn-text i { margin-left: 5px; transition: transform 0.3s; }
.job-card:hover .btn-text i { transform: translateX(5px); }

@media (max-width: 991px) {
  .job-grid-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .job-grid-cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Job List (New Arrival)
   ========================================================================== */
.job-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-list-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.3s;
  overflow: hidden;
}
.job-list-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.job-list-link {
  display: flex;
  padding: 20px;
  gap: 20px;
  align-items: flex-start;
  color: inherit;
}

.job-list-image {
  width: 180px; /* Increased width */
  flex-shrink: 0;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.job-list-image img {
  width: 100%;
  height: auto;
  display: block;
}

.badge-area {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px; /* Increased */
  text-align: center;
  padding: 2px 0;
}

.job-list-content {
  flex: 1;
  min-width: 0; /* flex overflow fix */
}

.job-list-meta {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 10px;
}
.job-company {
  font-size: 14px; /* Increased */
  color: var(--text-sub);
}
.job-date {
  font-size: 12px; /* Increased */
  color: #fff;
  background: #dc3545;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
}

.job-title {
  font-size: 20px; /* Increased */
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.job-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.job-detail-row {
  font-size: 14px; /* Increased */
  color: var(--text-sub);
  display: flex;
  align-items: center;
}
.job-detail-row i { margin-right: 5px; color: var(--primary-color); }

.job-list-action {
  align-self: center;
  padding-left: 20px;
}
.btn-detail {
  display: inline-block;
  background: var(--bg-light);
  color: var(--text-main);
  padding: 12px 24px; /* Increased padding */
  border-radius: 30px;
  font-size: 14px; /* Increased */
  font-weight: 700;
  transition: all 0.3s;
  white-space: nowrap;
}
.job-list-item:hover .btn-detail {
  background: var(--primary-color);
  color: #fff;
}

@media (max-width: 767px) {
  .job-list-link { flex-direction: column; padding: 15px; }
  .job-list-image { width: 100%; height: 180px; margin-bottom: 10px; }
  .job-list-image img { width: 100%; height: 100%; object-fit: cover; }
  .job-list-action { width: 100%; text-align: center; padding: 0; margin-top: 15px; }
  .btn-detail { width: 100%; text-align: center; }
  .job-title { font-size: 18px; }
}

.btn-view-all {
  display: inline-block;
  padding: 15px 50px;
  background: #fff;
  border: 2px solid var(--text-main);
  color: var(--text-main);
  font-weight: 700;
  border-radius: 30px;
  transition: all 0.3s;
  font-size: 16px; /* Increased */
}
.btn-view-all:hover {
  background: var(--text-main);
  color: #fff;
}


.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
@media (max-width: 767px) {
    .sp-mt-10 { margin-top: 10px; }
    .sp-mt-20 { margin-top: 20px; }
    .sp-mt-30 { margin-top: 30px; }
    .sp-mt-40 { margin-top: 40px; }
    .sp-mt-50 { margin-top: 50px; }
}


.text-center { text-align: center; }



/* ==========================================================================
   Search Conditions (Area, Koyou, etc.)
   ========================================================================== */
.search-conditions-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.search-condition-col {
  flex: 1;
  min-width: 280px;
  background: #fff;
  padding: 25px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.condition-title {
  font-size: 20px; /* Increased */
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-light);
  display: flex;
  align-items: center;
}
.condition-title i { margin-right: 10px; color: var(--primary-color); }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.tag-list li a {
  display: inline-block;
  padding: 10px 18px; /* Increased padding */
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 14px; /* Increased */
  color: var(--text-main);
  transition: all 0.2s;
}
.tag-list li a:hover {
  background: var(--primary-color);
  color: #fff;
}

/* ==========================================================================
   Recent Jobs (Small Cards)
   ========================================================================== */
.sm-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.simple-card { border: none; box-shadow: none; background: transparent; }
.simple-card:hover { transform: translateY(-3px); }
.simple-card:hover .sm-image img { transform: scale(1.05); }

.sm-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
  padding-top: 60%;
}
.sm-body { padding: 5px; background: transparent; }
.job-card-title-sm {
  font-size: 16px; /* Increased */
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1.4;
}
.job-card-company-sm {
  font-size: 13px; /* Increased */
  color: var(--text-sub);
}

/* ==========================================================================
   News Section
   ========================================================================== */
/* ==========================================================================
   Blog/Column Section
   ========================================================================== */
.blog-section { 
  padding: 80px 0; 
  background: #fff; 
  border-top: 1px solid var(--border-color); 
}
.blog-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.blog-column-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-column-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.blog-column-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-column-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
}
.blog-column-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.blog-column-card:hover .blog-column-image img {
  transform: scale(1.05);
}
.blog-column-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.blog-column-date {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 10px;
  font-weight: 500;
}
.blog-column-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}
.blog-column-card:hover .blog-column-title {
  color: #007bff;
}
.blog-column-excerpt {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-top: auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 992px) {
  .blog-column-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .blog-section {
    padding: 30px 0;
  }
  .blog-column-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
    
  .blog-column-body {
    padding: 15px;
  }  
  .blog-column-date {
    margin-bottom: 5px;
  }
  .blog-column-title {
    margin-bottom: 0;
    font-size: clamp(14px, 3.75vw, 16px);
  }
  .blog-column-excerpt {
    margin-top: 8px;
    font-size: clamp(13px, 3.0vw, 14px);
  }
}
    
    

.news-section { 
  padding: 60px 0; 
  /*background: #fff; 
  border-top: 1px solid var(--border-color); */
}
.news-wrapper {}
.news-list { 
  list-style: none; 
  padding: 0; 
  margin: 0;
}
.news-list li {
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: baseline;
  gap: 20px;
  transition: background-color 0.2s ease;
}
.news-list li:hover {
  /*background-color: #f8f9fa;
  margin-left: -10px;
  margin-right: -10px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 4px;*/
}
.news-list li:last-child { 
  border-bottom: none; 
}
.news-date {
    width: 7em;
    flex-shrink: 0;
    font-size: 18px;
    color: #2a2626;
    font-weight: 600;
}
.news-content { 
  font-size: 18px; 
  line-height: 1.7; 
  flex-grow: 1;
  color: #2a2626;
}
.news-content a { 
  color: #2a2626;
  text-decoration: none;
  transition: color 0.2s ease;
}
.news-content a:hover {
  color: #007bff;
  text-decoration: underline;
}

@media (max-width: 992px) {
}
@media (max-width: 767px) {
  .news-section {
    padding: 30px 0;
  }
  .news-wrapper {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 0px;
  }
  .news-list li { 
    padding: 10px 0;
    flex-direction: row;
    gap: 1em;
  }
  .news-date { 
    margin-bottom: 0;
    width: auto;
    font-size: clamp(13px, 3.0vw, 14px);
  }
  .news-content {
    font-size: clamp(13px, 3.0vw, 14px);
  }
  .news-list li:hover {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}



.role-section {
    height: auto;
    max-height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.role-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/role_back.png);
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: heroZoom 20s infinite alternate;
}
.role-section .container {
    width: 100%;
    max-width: 1380px;
    padding: 40px 30px;
}
.role-container {
    width: fit-content;
    margin-left: auto;
    color: #fff;
    position: relative;
    z-index: 1;
}
.role-lead {
    font-size: 24px;
    margin: 15px 0 20px;
}
.role-section p { 
    color: #fff;
    font-weight: 300;
    line-height: 1.8em;
    letter-spacing: 0.1em;
}
.role-section p + p {
    margin-top: 10px;
}

@media (max-width: 992px) {
    .role-section {
        max-height: inherit;
    }
    .role-bg {
        background-position: center left;
    }
    .role-section .container {
        background: rgba(0, 155, 210, 0.6);
        z-index: 1;
    }
    
    .role-container { width: 100%; }
}
@media (max-width: 767px) {
    
    .role-section .container {
        padding: 30px 2.5vw;
    }
    .role-lead {
        font-size: clamp(18px, 3.75vw, 20px);
    }
    
}
    




/* ==========================================================================
   Footer & Other Overrides
   ========================================================================== */
.modern-pagetop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  opacity: 0.8;
}
.modern-pagetop a {
  display: block;
  width: 50px;
  height: 50px;
  background: var(--text-main);
  color: #fff;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  font-size: 24px; /* Increased */
}
.modern-pagetop a:hover { opacity: 1; transform: translateY(-3px); }

/* Clearfix helpers if still needed for legacy floats in header/footer */
.cf:after { content: ""; display: table; clear: both; }

/* Slick Slider Customization */
.slick-prev, .slick-next { z-index: 10; width: 40px; height: 40px; }
.slick-prev:before, .slick-next:before { font-size: 40px; color: var(--primary-color); }
.slick-prev { left: -10px; }
.slick-next { right: -10px; }

/* ==========================================================================
   Footer Styles (Modern Footer)
   ========================================================================== */
.modern-footer {
}
.footer-container {
  max-width: var(--width-container);
  /*max-width: 1200px;*/
  margin: 0 auto;
}
.footer-top {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  flex: 0 0 320px;
  margin-bottom: 30px;
}
.footer-logo {
    max-width: 329px;
}
.footer-logo img {
  max-width: 100%;
  height: auto;
}
.footer-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-sns {
  display: flex;
  gap: 15px;
}
.sns-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  text-decoration: none;
  transition: all 0.3s;
}
.sns-link:hover {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}
.footer-nav-group {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  flex: 1;
  justify-content: flex-end;
}
.footer-col {
  min-width: 160px;
}
.footer-heading {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 14px;
}
.footer-links a:hover {
  color: #007bff;
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid #e9ecef;
  padding-top: 20px;
  text-align: center;
}
.copyright {
  color: #888;
  font-size: 12px;
}

/* レスポンス対応（フッター） */
@media (max-width: 991px) {
  .footer-container {
    padding: 0 15px;
  }

}
@media (max-width: 768px) {
  .modern-footer {
    padding: 15px 0 12px !important;
  }
  .footer-container {
    padding: 0 15px !important;
  }
  .footer-top {
    padding: 20px 0;
    flex-direction: column;
  }
      
  .footer-logo {
    width: 60%;
    margin-bottom: 20px;
  }
  .footer-brand {
    display: none !important; /* ロゴと説明文を非表示 */
  }
  .footer-nav-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin-bottom: 8px !important;
  }
  .footer-col {
    width: 100% !important;
    min-width: auto !important;
    margin-bottom: 10px !important;
    text-align: left !important;
  }
  .footer-heading {
    font-size: 13px !important;
    font-weight: bold !important;
    margin-bottom: 6px !important;
    color: #333 !important;
    padding-bottom: 4px !important;
    border-bottom: 1px solid #ddd !important;
  }
  .footer-links {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 12px !important; /* 縦間隔 横間隔 */
    align-items: center !important;
  }
  .footer-links li {
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    display: inline-block !important;
  }
  .footer-links a {
    font-size: 12px !important;
    color: #666 !important;
    padding: 0 !important;
    display: inline-block !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }
  .footer-links a:hover {
    color: #007bff !important;
    text-decoration: underline !important;
  }
  .footer-bottom {
    padding-top: 12px !important;
    border-top: 1px solid #e9ecef !important;
  }
  .copyright {
    font-size: 10px !important;
    color: #888 !important;
  }
}
@media (max-width: 480px) {
  .modern-footer {
    padding: 30px 0 10px !important;
  }
  .footer-nav-group {
    gap: 8px !important;
  }
  .footer-heading {
    font-size: clamp(16px, 3.75vw, 18px)!important;
    margin-bottom: 5px !important;
    padding-bottom: 3px !important;
  }
  .footer-links {
    gap: 6px 10px !important; /* より小さな間隔 */
  }
  .footer-links a {
    font-size: clamp(13px, 3.0vw, 15px)!important;
  }
  .footer-bottom {
    padding-top: 10px !important;
  }
  .copyright {
    font-size: 9px !important;
  }
}


