/*
Theme Name: Sunatec Custom Theme
Theme URI: https://example.com/sunatec
Author: Antigravity AI
Author URI: https://example.com
Description: A premium, modern custom theme built for Sunatec Food Analysis Center.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sunatec
*/

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700;900&family=Outfit:wght@400;500;600;700;800&family=Roboto+Slab:wght@700&display=swap');

/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
  --primary:       #008b94;
  --primary-dark:  #006b72;
  --primary-light: #00c8d2;
  --accent-red:    #e74c3c;
  --dark:          #1e293b;
  --dark-soft:     #334155;
  --light:         #f5f7f8;
  --white:         #ffffff;
  --border:        #e2e8f0;
  --text:          #1a1a1a;
  --text-mid:      #555555;
  --text-muted:    #888888;
  --font:          'Noto Sans JP','Inter',sans-serif;
  --font-en:       'Outfit','Noto Sans JP',sans-serif;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.07);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 10px 32px rgba(0,0,0,.12);
  --radius:        10px;
  --trans:         all .25s ease;
  --section-bg:    #ffffff;
}

/* ─────────────────────────────────────────
   BASE RESET
───────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

body {
  font-family: var(--font);
  background: var(--section-bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration:none; color:inherit; transition: var(--trans); }
img { max-width:100%; height:auto; display:block; }
ul { list-style:none; }

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
header.site-header {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 500;
  border-bottom: none;
  height: 105px;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.logo-area a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.header-logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-jp {
  font-size: .6rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: .5px;
}
.logo-brand {
  font-family: var(--font-en);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.logo-en {
  font-size: .55rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Nav */
nav.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}
nav.main-nav li {
  /* border removed */
}
nav.main-nav li + li {
  border-left: 1px solid #E6F3F2;
}
nav.main-nav a {
  display: block;
  padding: .55rem 1.1rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--dark-soft);
  transition: color .2s;
  white-space: nowrap;
}
nav.main-nav a:hover,
nav.main-nav .current-menu-item > a { color: var(--primary); }


/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.btn-header-member {
  background: #00d2c4;
  color: #fff;
  padding: .55rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  white-space: nowrap;
  transition: var(--trans);
  box-shadow: 0 4px 10px rgba(0,210,196,.25);
}
.btn-header-member:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-header-menu {
  background: var(--primary);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border: none;
  transition: background .2s;
  flex-shrink: 0;
}
.btn-header-menu span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.btn-header-menu:hover { background: var(--primary-dark); }
/* X state */
.btn-header-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btn-header-menu.active span:nth-child(2) { opacity: 0; }
.btn-header-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Header mega menu */
.header-mega-menu {
  position: fixed;
  top: 105px;
  left: 0;
  right: 0;
  z-index: 490;
  padding: 0 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .25s ease, transform .25s ease;
}
.header-mega-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.header-mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.4rem 3.5rem 1.55rem;
  background: rgba(62, 160, 159, 0.95);
  overflow: hidden;
}
.header-mega-nav {
  position: relative;
  display: grid;
  gap: 1.05rem;
}
.header-mega-group {
  position: relative;
  z-index: 1;
}
.header-mega-title {
  margin: 0 0 .6rem;
  padding-bottom: .65rem;
  border-bottom: 2px solid #FFFFFF;
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: -0.012em;
  color: #FFFFFF;
}
.header-mega-links {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
}
.header-mega-links a {
  display: inline-flex;
  align-items: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #FFFFFF;
  white-space: nowrap;
}
.header-mega-links a::before {
  content: '■';
  margin-right: .25rem;
  font-size: 10px;
}
.header-mega-links a:hover {
  color: #e4fffe;
}

/* Responsive */
/* Desktop: hamburger remains visible */
@media (min-width: 1025px) {
  .btn-header-menu { display: flex; }
}
/* Tablet / Mobile: ẩn nav, hiện hamburger */
@media (max-width: 1024px) {
  nav.main-nav { display: none; }
  .btn-header-menu { display: flex; }
  .hero-vertical-label { display: none; }
  .header-mega-menu {
    padding: 0 1rem;
  }
  .header-mega-inner {
    max-height: calc(100vh - 105px);
    overflow-y: auto;
    padding: 1.25rem 1.25rem 1.4rem;
  }
  .header-mega-links {
    gap: .55rem .8rem;
  }
}
@media (max-width: 480px) {
  .btn-header-member { display: none; }
  .header-container { padding: 0 1rem; }
  .header-mega-menu {
    padding: 0;
  }
  .header-mega-inner {
    padding: 1rem;
  }
  .header-mega-links {
    display: grid;
    grid-template-columns: 1fr;
  }
  .header-mega-links a {
    white-space: normal;
  }
}



/* ─────────────────────────────────────────
   SECTION BADGE  (①②③⑤⑥ red circles)
───────────────────────────────────────── */
.sec-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 900;
  font-size: .95rem;
  font-family: var(--font-en);
  flex-shrink: 0;
}

.sec-badge-red {
  border: 3px solid var(--accent-red);
  color: var(--accent-red);
}

/* ─────────────────────────────────────────
   HERO SLIDER  ①
───────────────────────────────────────── */
.hero-slider-section {
  position: relative;
  margin: clamp(10px, 3vw, 40px) clamp(10px, 3vw, 40px) 0;
  border-radius: clamp(12px, 2vw, 28px);
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  aspect-ratio: 15 / 8;
}
/* Chuyển slide mượt mà hơn: easing dịu (easeInOutCubic) thay cho 'ease' mặc định + GPU hint.
   !important để thắng inline/CSS của swiper-bundle. */
.hero-swiper .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.65, 0, 0.35, 1) !important;
  will-change: transform;
}
/* Slide giờ chỉ là ảnh nền (content tách ra overlay cố định .hero-fixed).
   Selector .hero-swiper .hero-slide để THẮNG rule .swiper-slide{height:auto} của swiper-bundle.css. */
.hero-swiper .hero-slide {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
}

/* Content CỐ ĐỊNH (không trượt) phủ trên slider, canh bottom-left như cũ.
   container-type: size để cqw/cqh trong content/label hoạt động như trước. */
.hero-fixed {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  container-type: size;
  container-name: hero;
  pointer-events: none; /* vẫn vuốt được slider bên dưới */
}

/* Mỗi slide có link riêng phủ kín slide → click slide nào ra URL của slide đó.
   .hero-fixed ở trên nhưng pointer-events:none nên click xuyên xuống link của slide active. */
.hero-slide-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}
/* CTA là text; hover khi rê chuột lên vùng hero */
.hero-slider-section:hover .hero-slide-cta { opacity: .85; }

/* Hero slider: ẩn pagination (không hiển thị dots) */
.hero-swiper .swiper-pagination { display: none; }


/* Vertical teal strip on right */
.hero-vertical-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(6px, 1vw, 10px);
  gap: clamp(6px, 1vw, 10px);
  overflow: hidden;

  position: absolute;
  width: clamp(36px, 4.5vw, 64px);
  height: calc(100% - clamp(20px, 3vw, 40px));
  right: clamp(10px, 2vw, 20px);
  top: clamp(10px, 2vw, 20px);

  background: rgba(0, 143, 141, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: clamp(10px, 1.5vw, 16px);
  z-index: 3;
}

.hero-vertical-label span {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(12px, 2vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: clamp(260px, calc(100% - 110px), 900px);
}

@media (min-width: 676px) {
  .hero-slide-content {
    padding: clamp(0rem, 0.5rem, 1.5rem) 0;
  }
}

.hero-slide-sub {
  font-size: clamp(0.7rem, 1.3cqw, 0.95rem);
  color: rgba(255,255,255,.85);
  margin-bottom: .4rem;
}

.hero-slide-title {
  font-family: var(--font);
  font-size: clamp(1.2rem, 3.7cqw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
  margin-bottom: 1.1rem;
}

.hero-slide-bottom { display:flex; flex-direction:column; gap:clamp(6px, 3cqh, 44px); }

.hero-slide-caption {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: #243752;
}

.hero-slide-cta {
  font-family: 'Roboto Slab', serif;
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #008E8C;
  padding: 0;
}

/* Slide number indicator */
.hero-slide-indicator {
  position: absolute;
  bottom: 1.4rem;
  left: calc(50% - 17px);
  z-index: 4;
}
.hero-slide-indicator span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  color: var(--primary);
  font-weight: 900;
  font-size: .95rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}

/* Dots */
.hero-slider-dots {
  position: absolute;
  bottom: 1rem;
  right: 54px;
  display: flex;
  gap: 7px;
  z-index: 5;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.8);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s;
}
.hero-dot.active { background: #fff; }

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255,255,255,.18);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.35); }
.hero-arrow-prev { left: .75rem; }
.hero-arrow-next { right: 2.75rem; }

/* ─────────────────────────────────────────
   NEWS ①-1
───────────────────────────────────────── */
/* ─────────────────────────────────────────
   NEWS ①-1 (Redesigned per Figma Specs)
───────────────────────────────────────── */
.news-section-v3 {
  position: relative;
  background: var(--section-bg);
  padding: 2rem 1.5rem 6rem;
  overflow: hidden;
}

.news-section-v3::after {
  content: '';
  position: absolute;
  top: 200px;
  left: -15px;
  width: clamp(160px, 28vw, 400px);
  height: min(100%, 520px);
  background: url('images/clip_path_01.png') top right / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

.news-v3-card {
  position: relative;
  z-index: 1;
}

.news-v3-card {
  max-width: 1200px;
  margin: 0 auto;
  background: #FFFFFF;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 28px;
  padding: 25px 47px 35px;
}

.news-v3-cols {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 3.5rem;
}

/* Left Column */
.news-v3-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-v3-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #008E8C;
}

.news-v3-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* Vertical Tab Styling */
.news-v3-tab {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 1px 12px;
  gap: 10px;
  width: fit-content;
  height: clamp(28px, 3.5vw, 35px);
  border-radius: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(13px, 1.8vw, 20px);
  line-height: 1.3;
  cursor: pointer;
  border: 1px solid #D6E6E6;
  transition: all 0.2s ease;
  width: max-content;
  flex: 0 0 auto;
}

/* Tab - All */
.news-v3-tab.tab-all {
  background: #EDEFF2;
  color: #4B5563;
}
.news-v3-tab.tab-all.active {
  background: #008E8C;
  color: #FFFFFF;
  border: 1px solid #D6E6E6;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
}

/* Tab - お知らせ */
.news-v3-tab.tab-osirase {
  background: #DDF1F0;
  color: #007C7A;
  border: 1px solid #D6E6E6;
}
.news-v3-tab.tab-osirase.active {
  background: #007C7A;
  color: #FFFFFF;
}

/* Tab - ご案内 */
.news-v3-tab.tab-goannai {
  background: #EDEFF2;
  color: #4B5563;
  border: 1px solid #D6E6E6;
}
.news-v3-tab.tab-goannai.active {
  background: #4B5563;
  color: #FFFFFF;
}

/* Tab - セミナー */
.news-v3-tab.tab-seminar {
  background: #E5ECFF;
  color: #1E40AF;
  border: 1px solid #D6E6E6;
}
.news-v3-tab.tab-seminar.active {
  background: #1E40AF;
  color: #FFFFFF;
}

/* Hover effects for tabs (only when NOT active) */
.news-v3-tab:not(.active):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Right Column */
.news-v3-right {
  display: flex;
  flex-direction: column;
}

.news-v3-right-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 1.25rem;
  height: 48px; /* Aligns vertically with the NEWS label */
}

.news-v3-viewall {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-decoration-line: underline;
  color: #008E8C;
  transition: color 0.2s;
}
.news-v3-viewall:hover {
  color: #007C7A;
}

/* List Rows */
.news-v3-list {
  display: flex;
  flex-direction: column;
}

.news-v3-row {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #CCCCCC;
  transition: all 0.2s ease;
}
.news-v3-row:first-child {
  padding-top: 0;
}
.news-v3-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.news-v3-row:hover {
  background: rgba(0, 142, 140, 0.02);
}

/* Badge tags inside rows */
.news-v3-tag {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 1px clamp(10px, 1.5vw, 20px);
  gap: 10px;
  height: clamp(26px, 3vw, 35px);
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(12px, 1.6vw, 20px);
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  margin-right: clamp(0.75rem, 2vw, 2.5rem);
  flex-shrink: 0;
}

.news-v3-tag.tag-osirase {
  width: clamp(80px, 10vw, 120px);
  background: #DDF1F0;
  color: #007C7A;
  border-radius: 30px;
}
.news-v3-tag.tag-goannai {
  width: clamp(70px, 8vw, 100px);
  background: #EDEFF2;
  color: #4B5563;
  border-radius: 30px;
}
.news-v3-tag.tag-seminar {
  width: clamp(80px, 10vw, 120px);
  background: #E5ECFF;
  color: #1E40AF;
  border-radius: 30px;
}

/* Date inside rows */
.news-v3-date {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(13px, 1.8vw, 20px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: #243752;
  margin-right: clamp(0.75rem, 2vw, 2.5rem);
  width: clamp(80px, 9vw, 110px);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Text title inside rows */
.news-v3-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(13px, 1.8vw, 20px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: #243752;
  flex-grow: 1;
  transition: color 0.2s;
}
.news-v3-text:hover {
  color: #008E8C;
}

/* ─────────────────────────────────────────
   SHARED SECTION LAYOUT
───────────────────────────────────────── */
.sn-section {
  padding: 0px 1.5rem 2rem;
}

.sn-container {
  max-width: 900px;
  margin: 0 auto 0;
  padding-top: 2rem;
}

.sn-section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.sn-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin-bottom: 16px;
}

.sn-label-en {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
  line-height: 1;
}

.sn-label-jp {
  font-size: 1rem;
  color: var(--text-mid);
  font-weight: 500;
  margin-bottom: .5rem;
}

.sn-desc {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-top: .75rem;
}

/* ─────────────────────────────────────────
   SERVICE ACCORDION  ③
───────────────────────────────────────── */
.sn-service-section {
  position: relative;
  background: var(--section-bg);
}

.sn-service-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1369px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%),
    url('images/service_bg.png') top center / cover no-repeat;
  border-radius: 0 16px 16px 0;
  z-index: 0;
  pointer-events: none;
}

.sn-service-section .sn-container {
  position: relative;
  z-index: 1;
}

.sn-service-section .sn-section-head {
  text-align: left;
}

.sn-service-section .sn-label-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(18px, 3vw, 32px);
  line-height: 1.3;
  color: #243752;
}

.sn-service-copy {
  margin-top: clamp(0.5rem, 1.5vw, 0.75rem);
  max-width: 991px;
  width: 100%;
}

.sn-service-copy .sn-service-intro,
.sn-service-copy .sn-service-tagline,
.sn-service-copy .sn-desc {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: clamp(16px, 3vw, 31px) !important;
  line-height: 1.5 !important;
  color: #243752 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sn-service-section .sn-label-en {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(0, 142, 140, 0.4);
  letter-spacing: normal;
}

.sn-accordion {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.15);
  border-radius: clamp(10px, 1.5vw, 16px);
  padding: clamp(1.5rem, 3vw, 3rem);
  max-width: 991px;
  width: 100%;
}

.sn-acc-item {
  border-radius: 16px;
  overflow: hidden;
  border: none;
}

.sn-acc-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(0.75rem, 2vw, 1.5rem);
  min-height: clamp(60px, 8vw, 102px);
  background: #008E8C;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(16px, 2.8vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
  border: none;
  border-radius: 16px;
  transition: background .2s;
}
.sn-acc-header:hover { background: var(--primary-dark); }

.sn-acc-item.open .sn-acc-header { border-radius: 16px 16px 0 0; }

.sn-acc-icon {
  width: clamp(32px, 4vw, 48px);
  height: clamp(32px, 4vw, 48px);
  min-width: clamp(32px, 4vw, 48px);
  background: #D9D9D9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  color: #fff;
  transition: transform .25s;
}

.sn-acc-item.open .sn-acc-icon { transform: rotate(45deg); }

.sn-acc-item.open {
  background: rgba(0, 142, 140, 0.8);
  border-radius: 16px;
}

.sn-acc-item.open .sn-acc-header {
  background: rgba(0, 142, 140, 0.8);
  border-radius: 16px 16px 0 0;
}

.sn-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease, padding .35s ease;
  padding: 0 1.5rem;
  background: transparent;
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  border-radius: 0 0 16px 16px;
}

.sn-acc-item.open .sn-acc-body {
  max-height: 1200px;
  padding: 1rem 1.5rem 1.5rem;
}

.sn-acc-body-inner {
  background: #ffffff;
  border-radius: 6px;
  padding: 1.25rem;
}

.sn-acc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sn-acc-card img {
  width: 100%;
  height: clamp(100px, 150px, 150px);
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.sn-acc-card-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: #000000;
  margin-top: 8px;
}

.sn-acc-card-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  color: #000000;
  margin-top: 6px;
}

/* ─────────────────────────────────────────
   ABOUT / VISION  ②
───────────────────────────────────────── */
.sn-about-section {
  background: var(--section-bg);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.sn-about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(160px, 28vw, 400px);
  height: min(100%, 520px);
  background: url('images/clip_path_02.png') top left / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

.sn-about-section .sn-container {
  position: relative;
  z-index: 1;
}

.sn-about-section .sn-container {
  max-width: 1200px;
}

.sn-about-section .sn-section-head {
  text-align: left;
}

.sn-about-section .sn-label-en {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1.2;
  color: rgba(0, 142, 140, 0.1);
  letter-spacing: normal;
  position: relative;
  top: -100px;
  margin-bottom: -30px;
}

.sn-about-section .sn-label-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 3vw, 32px);
  line-height: 1.3;
  color: #243752;
}

.sn-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.sn-about-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sn-about-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #243752;
}

.sn-about-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #243752;
}

.sn-about-btns {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: .5rem;
}

.sn-about-btn {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  width: clamp(220px, 80%, 288px);
  height: clamp(44px, 5vw, 56px);
  background-color: #008E8C;
  background-image: url('images/Btn_background.png');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  color: #ffffff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 24px);
  line-height: 1.2;
  overflow: hidden;
  transition: opacity .2s, transform .2s;
}
.sn-about-btn:hover { opacity: .9; color: #fff; transform: translateY(-2px); }

.sn-about-btn-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sn-btn-primary {
  background: var(--primary);
  color: #fff;
  padding: .6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  transition: var(--trans);
}
.sn-btn-primary:hover { background: var(--primary-dark); color:#fff; transform:translateY(-2px); }

.sn-btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: .6rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  transition: var(--trans);
}
.sn-btn-outline:hover { background: var(--primary); color:#fff; transform:translateY(-2px); }

/* About image grid */
.sn-about-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.625rem;
  height: clamp(220px, 38vw, 516px);
}

.sn-about-img-main {
  grid-column: 1 / 2;
  overflow: hidden;
}

.sn-about-img-side {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  overflow: hidden;
}

.sn-about-img-main img,
.sn-about-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform .3s;
}

.sn-about-img-main img {
  border-radius: 16px 0 0 16px;
}

.sn-about-img-side img:last-child {
  border-radius: 0 16px 16px 0;
}

.sn-about-img-main img:hover,
.sn-about-img-side img:hover { transform: scale(1.03); }

/* ─────────────────────────────────────────
   EVENTS & MEMBERS ⑤  /  RECRUITMENT ⑥
───────────────────────────────────────── */
.sn-events-section {
  background: var(--section-bg);
  position: relative;
  overflow: hidden;
}

.sn-events-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(160px, 28vw, 400px);
  height: min(100%, 520px);
  background: url('images/clip_path_03.png') top right / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

.sn-events-section .sn-container {
  position: relative;
  z-index: 1;
}
.sn-recruit-section { background: var(--section-bg); padding-bottom: 64px; }

.sn-events-section .sn-container,
.sn-recruit-section .sn-container {
  max-width: 1200px;
}

.sn-events-section .sn-section-head,
.sn-recruit-section .sn-section-head { text-align: left; }

.sn-events-section .sn-label-en,
.sn-recruit-section .sn-label-en {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1.2;
  color: rgba(0, 142, 140, 0.1);
  letter-spacing: normal;
}

.sn-events-section .sn-label-jp,
.sn-recruit-section .sn-label-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 3vw, 32px);
  line-height: 1.3;
  color: #243752;
}

/* Event cards grid */
.sn-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
}

.sn-event-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 256px;
  display: block;
  cursor: pointer;
}

.sn-event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

.sn-event-card:hover img { transform: scale(1.05); }

.sn-event-card-title {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(18px, 3.5vw, 36px);
  line-height: 1.2;
  color: #008F8D;
}

.sn-event-card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
}

.sn-cards-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
}

.sn-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: var(--trans);
}
.sn-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.sn-card-img {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.sn-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.sn-card:hover .sn-card-img img { transform: scale(1.07); }

.sn-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.25));
}

/* Teal placeholder for e-Service card */
.sn-card-img-teal {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sn-card-img-label {
  color: #fff;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.2rem;
  text-align: center;
  line-height: 1.3;
}
.sn-card-img-label small { font-size: .75rem; font-weight: 400; display:block; }

.sn-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex-grow: 1;
}

.sn-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.sn-card-desc {
  font-size: .82rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex-grow: 1;
}

.sn-card-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: .25rem;
  transition: gap .2s;
}
.sn-card-link:hover { gap: .6rem; color: var(--primary-dark); }

/* ─────────────────────────────────────────
   CONTACT BANNER  (in footer.php)
───────────────────────────────────────── */
.contact-banner {
  position: relative;
}

.contact-banner-overlay {
  background: rgba(144, 209, 208, 0.6);
  padding: 4rem 1.5rem;
}

.contact-banner-inner {
  max-width: 1070px;
  margin: 0 auto;
}

.contact-banner-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(20px, 3.5vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: center;
  margin-bottom: clamp(32px, 6vw, 76px);
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 90px);
}

.contact-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card-icon img { max-width: 100%; height: auto; display: block; }
.contact-mail-icon { width: 48px; height: auto; }

.contact-card-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 40px;
  letter-spacing: -0.02em;
  color: #243752;
}

.contact-card-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: #243752;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: var(--section-bg);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.site-footer::before,
.site-footer::after {
  content: '';
  position: absolute;
  top: -300px;
  width: clamp(140px, 28vw, 400px);
  height: min(100%, 520px);
  pointer-events: none;
  background-size: contain;
  background-repeat: no-repeat;
}
.site-footer::before {
  left: 0;
  background-image: url('images/clip_path_01.png');
  background-position: top left;
}
.site-footer::after {
  right: 0;
  background-image: url('images/clip_path_04.png');
  background-position: top right;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.footer-logo-area {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

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

.footer-logo-text-wrap { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.footer-logo-jp    { font-size: .65rem; font-weight: 700; color: var(--primary); }
.footer-logo-brand { font-family: var(--font-en); font-size: 1.75rem; font-weight: 900; color: var(--primary); line-height: 1; }
.footer-logo-en    { font-size: .5rem; font-weight: 600; color: var(--primary); letter-spacing: .8px; text-transform: uppercase; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-nav-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: #000000;
  transition: color .2s;
}
.footer-nav-link:hover { color: var(--primary); }

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav-group-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: #000000;
  transition: color .2s;
}
a.footer-nav-group-title:hover {
  color: var(--primary);
}

.footer-nav-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  color: #243752;
  padding-left: .6rem;
  transition: color .2s;
}
.footer-nav-sub::before { content: '・'; color: var(--text-muted); }
.footer-nav-sub:hover   { color: var(--primary); }
.footer-nav-sub-plain   { cursor: pointer; }

.footer-nav-sep {
  margin: .4rem 0;
}



.sn-breadcrumb-wrap {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 0 2rem;
}



.footer-copyright {
  text-align: center;
  padding-top: 1.5rem;
  font-size: .8rem;
  color: var(--text-muted);
}

.footer-fab-wrap {
  position: fixed;
  right: 3px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  z-index: 400;
}

.footer-fab-pagetop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 64px;
  padding: .5rem .3rem;
  background: transparent;
  color: #243752;
  transition: opacity .2s;
}
.footer-fab-pagetop .fab-arrow { display: block; }
.footer-fab-pagetop { margin-bottom: 114px; }
.footer-fab-pagetop span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  color: #243752;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: capitalize;
}
.footer-fab-pagetop:hover { opacity: .7; }

.footer-fab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #008E8C;
  border-radius: 8px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
  transition: background .2s;
}
.footer-fab-btn:hover { background: var(--primary-dark); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-slide-caption  { font-size: 20px; }
  .hero-slide-cta      { font-size: 40px; }
}
@media (max-width: 900px) {
  .hero-slide-caption  { font-size: 18px; }
  .hero-slide-cta      { font-size: 36px; }
  .sn-about-grid,
  .sn-cards-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile: 3 ảnh ngang bằng nhau */
  .sn-about-imgs {
    display: flex;
    flex-direction: row;
    gap: 7px;
    height: 324px;
  }
  .sn-about-img-main,
  .sn-about-img-side {
    display: contents;
  }
  .sn-about-imgs img {
    flex: 1;
    height: 324px;
    width: 0;
    object-fit: cover;
    border-radius: 0;
  }
  .sn-about-imgs img:first-child { border-radius: 10px 0 0 10px; }
  .sn-about-imgs img:last-child  { border-radius: 0 10px 10px 0; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .hero-slide-caption  { font-size: 15px; }
}
@media (max-width: 768px) {
  .hero-slide-title    { font-size: 2rem; }
  .hero-slide-caption  { font-size: 10px; }
  .hero-slide-cta      { font-size: 20px; }
  nav.main-nav         { display: none; }
  .menu-toggle         { display: block; }

  .news-v3-cols        { grid-template-columns: 1fr; gap: 1.5rem; }
  .news-v3-left        { gap: 1rem; }
  .news-v3-tabs        { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
  .news-v3-tab         { width: max-content; flex: 0 0 auto; padding: 0.4rem 0.8rem; }
  .news-v3-right-header { height: auto; justify-content: flex-start; margin-bottom: 0.5rem; }
  .news-v3-row         { flex-wrap: wrap; gap: 0.5rem; padding: 1rem 0; }
  .news-v3-tag         { margin-right: 0.75rem; }
  .news-v3-date        { margin-right: 0; }
  .news-v3-text        { width: 100%; margin-top: 0.25rem; }

  .sn-acc-grid         { grid-template-columns: 1fr 1fr; }
  .sn-events-grid      { grid-template-columns: 1fr 1fr; }
  .sn-cards-grid       { grid-template-columns: 1fr 1fr; }
  .contact-banner-overlay { padding-left: 16px; padding-right: 16px; }
  .contact-cards       { grid-template-columns: 1fr 1fr; gap: 30px; }
  .contact-card {
    height: 60px;
    padding: 7px 12px;
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }
  .contact-card-label {
    font-size: 14px;
    line-height: 17px;
  }
  .contact-card-icon img { width: 120px; height: auto; }
  .contact-card-icon img.contact-mail-icon { width: 24px; }
  .contact-cards .contact-card:nth-child(2) {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }
  .contact-cards .contact-card:nth-child(2) .contact-card-desc {
    width: 100%;
    font-size: 8px;
    line-height: 10px;
    font-weight: 700;
    text-align: center;
    color: #243752;
  }
  .sn-about-btns       { align-items: center; }
  .sn-about-btn        { width: 70%; justify-content: center; }
  .sn-acc-card img     { height: 150px; }
  .contact-card        { padding: 16px; height: 80px; }

  .news-section-v3::after,
  .sn-about-section::before,
  .sn-events-section::before {
    width: clamp(120px, 42vw, 220px);
    height: 260px;
    opacity: .65;
  }
  .news-section-v3::after {
    top: 70px;
    left: -60px;
  }
  .sn-about-section::before {
    left: -48px;
  }
  .sn-events-section::before {
    right: -48px;
  }

  .footer-nav { grid-template-columns: 1fr 1fr; }
  .site-footer::before,
  .site-footer::after {
    top: -80px;
    width: clamp(90px, 32vw, 150px);
    height: 220px;
    opacity: .6;
  }
}

@media (max-width: 480px) {
  .sn-about-section .sn-section-head { text-align: right; }
  .sn-about-btns { align-items: center; }
  .sn-about-btn  { width: 60%; justify-content: center; }

  .news-v3-label { display: none; }
  .news-v3-card        { border: none; padding: 0; box-shadow: none; border-radius: 0; }
  .news-v3-tabs    { display: flex; flex-direction: row; flex-wrap: wrap; gap: 14px; justify-content: center; }
  .news-v3-viewall { display: none; }
  /* News rows mobile */
  .news-v3-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 8px 0;
    border-bottom: 0.317px solid #CCCCCC;
    flex-wrap: nowrap;
  }
  .news-v3-tag {
    flex-shrink: 0;
    padding: 4px 8px;
    height: 20px;
    border-radius: 30px;
    font-size: 10px;
    line-height: 12px;
    font-weight: 700;
    margin-right: 8px;
  }
  .news-v3-tag.tag-osirase { background: #DDF1F0; color: #007C7A; }
  .news-v3-tag.tag-goannai { background: #EDEFF2; color: #4B5563; }
  .news-v3-tag.tag-seminar { background: #E5ECFF; color: #1E40AF; }
  .news-v3-date {
    font-size: 9px;
    line-height: 11px;
    color: #243752;
    flex-shrink: 0;
    margin-right: 8px;
    width: auto;
  }
  .news-v3-text {
    font-size: 14px;
    line-height: 17px;
    font-weight: 500;
    color: #243752;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0;
    flex: 1;
    min-width: 0;
  }
  .news-v3-cols        { gap: 16px; }
  .sn-service-section .sn-section-head { text-align: center; }
  .sn-service-section .sn-label-en,
  .sn-service-section .sn-label-jp { text-align: center; }
  .news-v3-right-header { margin-bottom: 0; }
  .news-v3-right       { min-width: 0; width: 100%; }
  .news-v3-list {
    background: #fff;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 32px 8px;
    overflow: hidden;
    width: 100%;
  }
  .news-v3-tab {
    padding: 4px 8px;
    height: 27px;
    background: transparent;
    border: 1px solid #D6E6E6;
    box-shadow: none;
    border-radius: 4px;
  }
  .news-v3-tab.active {
    background: #008E8C;
    border-color: #D6E6E6;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    color: #fff;
  }
  .news-section-v3     { border: none; padding-left: 16px; padding-right: 16px; }
  .sn-service-section  { padding-left: 16px; padding-right: 16px; }
  .sn-about-section    { padding-left: 16px; padding-right: 16px; }
  .sn-events-section   { padding-left: 16px; padding-right: 16px; }
  .sn-recruit-section  { padding-left: 16px; padding-right: 16px; padding-bottom: 38px; }
  .sn-acc-grid         { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .sn-acc-body-inner   { padding: 16px; }
  .sn-acc-body         { padding: 0 8px; }
  .sn-acc-item.open .sn-acc-body { padding: 16px 8px; }
  .sn-events-grid      { grid-template-columns: 1fr; gap: 24px; }
  .sn-cards-grid       { grid-template-columns: 1fr; }
  .hero-slide-title    { font-size: 1.6rem; }
  .hero-slide-caption  { font-size: 8px; }
  .hero-slide-cta      { font-size: 15px; }
  .hero-slide-content  { padding: 0 }
  .news-section-v3::after,
  .sn-about-section::before,
  .sn-events-section::before {
    width: 150px;
    height: 190px;
    opacity: .5;
  }
  .site-footer::before,
  .site-footer::after {
    width: 96px;
    height: 150px;
    opacity: .45;
  }
  .footer-nav          { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 1.5rem; }

  .sn-acc-card img      { height: 100px; }
  .footer-logo-area img { width: 110px; }
  .footer-logo-area     { margin-bottom: 24px; }
  .footer-copyright     { font-size: .65rem; padding-top: 1rem; }
  .sn-breadcrumb-wrap   { padding: 0 16px; }
  .header-logo-img      { width: 110px; height: auto; }
  header.site-header    { height: 80px; }
  .btn-header-member    { display: flex; }
  .footer-inner        { padding: 24px 16px 16px; }
  .footer-logo-img     { width: 140px; }
  .footer-nav-col      { gap: 0; }
  .footer-nav-group-title {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #243752;
    padding-left: .6rem;
    line-height: 2.2;
  }
  .footer-nav-group-title::before { content: '・'; color: var(--text-muted); }
  .footer-nav-link {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #243752;
    padding-left: .6rem;
    line-height: 2.2;
  }
  .footer-nav-link::before { content: '・'; color: var(--text-muted); }
  .footer-nav-sub      { font-size: 12px; line-height: 2.2; padding-left: .6rem; }
  .footer-nav-sep      { display: none; }
}

/* ─────────────────────────────────────────
   eサービス SLIDE-OUT FAB
───────────────────────────────────────── */
.footer-eservice-wrap {
  display: flex;
  align-items: flex-end;
}
/* Card outer: collapsed by default, expands on hover pushing button left */
.footer-eservice-card-outer {
  width: 0;
  overflow: hidden;
  transition: width .3s ease;
}
.footer-eservice-wrap:hover .footer-eservice-card-outer {
  width: 265px;
}
.footer-eservice-card {
  width: 265px;
  min-height: 126px;
  background: #ffffff;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.footer-eservice-icon {
  transition: border-radius .3s ease;
  border-radius: 8px;
  flex-shrink: 0;
}
.footer-eservice-wrap:hover .footer-eservice-icon {
  border-radius: 8px 0 0 8px;
}
.footer-eservice-logo img { height: 38px; width: auto; }
.footer-eservice-wrap--apply { align-items: flex-start; }
.footer-eservice-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #42526B;
  text-align: center;
  line-height: 1.4;
}
.footer-eservice-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 47px;
  background: #00D0CC;
  border-radius: 30px;
  color: #ffffff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  transition: background .2s;
}
.footer-eservice-login-btn:hover { background: #008E8C; color: #fff; }
