@charset "UTF-8";

/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */
:root {
  /* Base Palette */
  --hana-teal-300: #9fc4cc;
  --hana-teal-500: #7ba7b3;
  --hana-teal-700: #5f8f9b;
  --hana-teal-800: #48727d;
  --hana-pale: #dcebee;
  --hana-mist: #f4f8f9;
  --hana-white: #ffffff;
  --hana-ink-900: #3a4a4e;
  --hana-ink-700: #4d5f63;
  --hana-ink-500: #6b7c80;
  --hana-ink-300: #9aacb0;
  --hana-border: #e2ecee;

  /* Semantic Variables */
  --brand-primary: var(--hana-teal-500);
  --brand-deep: var(--hana-teal-700);
  --brand-light: var(--hana-teal-300);
  --brand-pale: var(--hana-pale);
  --surface-page: var(--hana-mist);
  --surface-card: var(--hana-white);
  --surface-section: var(--hana-pale);
  --surface-cta: var(--hana-teal-500);
  --text-heading: var(--hana-ink-900);
  --text-body: var(--hana-ink-700);
  --text-muted: var(--hana-ink-500);
  --text-faint: var(--hana-ink-300);
  --text-on-brand: #ffffff;
  --text-script: var(--hana-teal-300);
  --link: var(--hana-teal-700);
  --link-hover: #3f6d79;

  /* Typography */
  --font-body: 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-script: 'Sacramento', cursive;
  --fs-h1: 34px;
  --lh-h1: 1.7;
  --ls-h1: .08em;
  --fs-h2: 24px;
  --ls-h2: .14em;
  --fs-h3: 17px;
  --ls-h3: .1em;
  --fs-body: 14px;
  --lh-body: 2;
  --fs-small: 13.5px;
  --fs-caption: 12px;
  --fs-script-lg: 28px;
  --fs-script-md: 26px;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;

  /* Spacing & Radii */
  --space-1: 6px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 44px;
  --space-7: 64px;
  --radius-pill: 999px;
  --radius-card: 28px;
  --radius-card-sm: 24px;
  --radius-section: 60px;
  --radius-arch: 260px;
  --shadow-card: 0 4px 20px rgba(77, 95, 99, 0.06);
  --shadow-dropdown: 0 10px 30px rgba(58, 74, 78, 0.12);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--surface-page);
  font-family: var(--font-body);
  color: var(--text-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--link-hover);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(95, 143, 155, 0.25);
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  padding: 10px 24px;
  font-size: 13.5px;
}
.btn-primary:hover {
  background: var(--brand-deep);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--brand-deep);
  padding: 16px 46px;
  font-size: 15px;
}
.btn-white:hover {
  background: #f0f7f8;
  color: var(--brand-deep);
}

.btn-outline {
  background: transparent;
  color: var(--brand-deep);
  box-shadow: inset 0 0 0 1.5px var(--brand-primary);
  padding: 8px 24px;
  font-size: 13px;
}
.btn-outline:hover {
  background: var(--brand-primary);
  color: #fff;
}

/* ==========================================================================
   Section Headings
   ========================================================================== */
.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.section-heading .script {
  font-family: var(--font-script);
  font-size: var(--fs-script-lg);
  line-height: 1;
  color: var(--text-script);
}

.section-heading h2,
.section-heading h1 {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: var(--ls-h2);
  color: var(--text-heading);
}

.section-heading.on-dark .script {
  color: var(--brand-pale);
}

.section-heading.on-dark h2 {
  color: #fff;
}

.ph {
  background: var(--brand-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 12px;
  overflow: hidden;
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Header & Navigation (with 2-level dropdown menu)
   ========================================================================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 44px;
  background: var(--surface-page);
  position: relative;
  z-index: 100;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.brand .script {
  font-family: var(--font-script);
  font-size: 32px;
  color: var(--brand-primary);
  line-height: 1;
}

.brand .name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--text-heading);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* Menu list */
.global-nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav-list > li {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
}

.global-nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-heading);
  padding: 10px 4px;
  position: relative;
}

.global-nav-list > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s ease;
}

.global-nav-list > li > a:hover {
  color: var(--brand-primary);
}

.global-nav-list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav-list .sub-menu li {
  width: 100%;
}

.global-nav-list .sub-menu a {
  display: block;
  font-size: 13.5px;
  color: var(--text-heading);
  transition: background 0.2s ease, color 0.2s ease;
}

/* PC Dropdown Navigation (Desktop Only) */
@media (min-width: 861px) {
  .global-nav-list > li.menu-item-has-children:hover > a::after {
    transform: rotate(-135deg);
    margin-top: 2px;
  }

  .global-nav-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--hana-white);
    min-width: 200px;
    padding: 10px 0;
    border-radius: 16px;
    box-shadow: var(--shadow-dropdown);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    z-index: 1000;
  }

  /* Bridge gap for hover */
  .global-nav-list .sub-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
  }

  .global-nav-list > li:hover > .sub-menu,
  .global-nav-list > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .global-nav-list .sub-menu a {
    padding: 10px 20px;
    font-size: 13px;
    white-space: nowrap;
  }

  .global-nav-list .sub-menu a:hover {
    background: var(--hana-mist);
    color: var(--brand-deep);
  }
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  margin: 5px auto;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 44px 64px;
  gap: 26px;
}

.hero img {
  width: 520px;
  max-width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-arch);
}

.hero .script {
  font-family: var(--font-script);
  font-size: 28px;
  color: var(--text-script);
}

.hero h1 {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 700;
  letter-spacing: var(--ls-h1);
  line-height: var(--lh-h1);
  color: var(--text-heading);
}

.hero p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: var(--text-muted);
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==========================================================================
   Service Section
   ========================================================================== */
#service {
  background: #fff;
  border-radius: var(--radius-section) var(--radius-section) 0 0;
  padding: 64px 44px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 1080px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--surface-page);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card .ph {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin-bottom: 4px;
}

.service-card h3 {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: var(--ls-h3);
  color: var(--brand-deep);
}

.service-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 2;
  color: var(--text-muted);
}

/* ==========================================================================
   Profile Section
   ========================================================================== */
#profile {
  background: var(--surface-section);
  padding: 70px 44px;
  display: flex;
  justify-content: center;
}

.profile-inner {
  display: flex;
  gap: 48px;
  align-items: center;
  max-width: 880px;
  width: 100%;
}

.profile-inner img {
  width: 260px;
  height: 320px;
  flex: none;
  border-radius: 130px;
  object-fit: cover;
  object-position: 72% 20%;
  box-shadow: var(--shadow-card);
}

.profile-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-body .section-heading {
  align-items: flex-start;
  text-align: left;
}

.profile-body p {
  margin: 0;
  font-size: 14px;
  line-height: 2.1;
  color: var(--text-body);
}

.profile-body .lead {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-deep);
}

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

.profile-list li {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-body);
  display: flex;
  gap: 8px;
  text-align: left;
}

.profile-list li::before {
  content: '◇';
  color: var(--brand-primary);
  flex: none;
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  background: var(--hana-white);
  color: var(--brand-deep);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.profile-sns {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.profile-sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-width: 38px;
  padding: 0 9px;
  background: var(--hana-white);
  color: var(--hana-ink-700);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--hana-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.profile-sns-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.profile-sns-link--threads:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.profile-sns-link--instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
  border-color: transparent;
}

.profile-sns-link--note {
  padding: 0 13px;
}

.profile-sns-link--note:hover {
  background: #2cb696;
  color: #ffffff;
  border-color: #2cb696;
}

.sns-icon-svg {
  display: block;
  flex-shrink: 0;
}

.sns-icon-svg--note {
  width: 52px;
  height: 15px;
}


/* ==========================================================================
   Seminar Section (Tabs & Dynamic Cards)
   ========================================================================== */
#seminar {
  background: var(--surface-section);
  padding: 64px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.seminar-tabs {
  display: flex;
  gap: 12px;
}

.seminar-tab {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
}

.seminar-tab.active {
  background: var(--brand-primary);
  color: #fff;
}

.seminar-panel {
  display: none;
  width: 100%;
  max-width: 1080px;
}

.seminar-panel.active {
  display: block;
}

.seminar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

.seminar-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  background: #fff;
  border-radius: var(--radius-card-sm);
  padding: 14px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.seminar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(77, 95, 99, 0.12);
}

.seminar-card .ph {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 16px;
}

.seminar-card .card-date {
  font-size: 12px;
  color: var(--text-faint);
}

.seminar-card .card-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--text-heading);
}

/* ==========================================================================
   Featured / Recommended & Recent Blog Sections
   ========================================================================== */
#blog-new,
#blog-recent {
  background: #fff;
  padding: 64px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

#blog-recent {
  padding-top: 48px;
  border-top: 1px solid var(--hana-border);
}

.blognew-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1080px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card .ph {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-card-sm);
  box-shadow: var(--shadow-card);
}

.blog-card .card-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text-heading);
}

/* ==========================================================================
   Category List Section (Accounting & Tax/Insurance)
   ========================================================================== */
#blog-category {
  background: var(--surface-page);
  padding: 64px 44px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 960px;
}

.cat-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cat-col h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--brand-deep);
  text-align: center;
}

.cat-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}

.cat-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.cat-item .ph {
  width: 96px;
  height: 64px;
  flex: none;
  border-radius: 12px;
}

.cat-item .meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.cat-item .date {
  font-size: 11.5px;
  color: var(--text-faint);
}

.cat-item .title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-col .btn {
  align-self: center;
  margin-top: 6px;
}

/* ==========================================================================
   All Categories Button List Section
   ========================================================================== */
#all-categories {
  background: #fff;
  padding: 64px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--hana-border);
}

.category-buttons-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 960px;
  width: 100%;
}

.category-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1.5px solid var(--brand-primary);
  color: var(--brand-deep);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.category-pill-btn:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(123, 167, 179, 0.25);
}

.category-pill-btn .cat-count {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

/* ==========================================================================
   Contact CTA Section & Footer
   ========================================================================== */
#contact {
  background: var(--surface-cta);
  padding: 64px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  color: #fff;
}

#contact p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: #eef6f7;
}

.site-footer {
  background: var(--brand-deep);
  color: var(--brand-pale);
  padding: 28px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 700;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--brand-pale);
  text-decoration: underline;
}

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

.copyright {
  color: var(--hana-teal-300);
}

/* ==========================================================================
   Page & Single Post & Archive Templates
   ========================================================================== */
.page-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.page-header {
  background: #fff;
  border-radius: var(--radius-section) var(--radius-section) 0 0;
  padding: 48px 24px 32px;
  text-align: center;
}

.breadcrumbs {
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs span.current {
  color: var(--brand-deep);
  font-weight: 700;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 12px;
}

.post-category-tag {
  display: inline-block;
  background: var(--hana-pale);
  color: var(--brand-deep);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 11px;
}

.entry-thumbnail {
  margin: 32px 0;
  text-align: center;
}

.entry-thumbnail img {
  border-radius: var(--radius-card-sm);
  max-height: 480px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.entry-content {
  background: #fff;
  padding: 40px 48px;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  font-size: 15px;
  line-height: 2.1;
  color: var(--text-body);
  box-shadow: var(--shadow-card);
}

.page-template-default .entry-content,
.single .entry-content {
  border-radius: var(--radius-card);
}

.entry-content h2 {
  font-size: 20px;
  color: var(--brand-deep);
  border-left: 4px solid var(--brand-primary);
  padding: 4px 0 4px 14px;
  margin: 40px 0 20px;
  letter-spacing: .06em;
}

.entry-content h3,
.entry-content h4,
.entry-content h5 {
  font-size: 17px;
  color: var(--text-heading);
  margin: 30px 0 16px;
  font-weight: 700;
}

.entry-content p {
  margin: 0 0 24px;
}

.entry-content ul, 
.entry-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

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

.entry-content blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  background: var(--surface-page);
  border-left: 4px solid var(--hana-teal-300);
  border-radius: 0 12px 12px 0;
  color: var(--text-muted);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.entry-content th, 
.entry-content td {
  border: 1px solid var(--hana-border);
  padding: 12px 16px;
  font-size: 13.5px;
}

.entry-content th {
  background: var(--hana-pale);
  color: var(--brand-deep);
  font-weight: 700;
}

.entry-content a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.entry-content a:hover {
  color: var(--link-hover);
}

.entry-content .btn,
.entry-content a.wp-block-button__link {
  text-decoration: none;
}

/* Archive Grid */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.archive-card {
  background: #fff;
  border-radius: var(--radius-card-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: all 0.25s ease;
}

.archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(77, 95, 99, 0.12);
}

.archive-card .ph {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 16px;
}

.archive-card .title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text-heading);
}

.archive-card .excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-deep);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.pagination .page-numbers.current {
  background: var(--brand-primary);
  color: #fff;
}

/* ==========================================================================
   Responsive (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 860px) {
  .site-header {
    padding: 16px 20px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 40px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    z-index: 105;
  }

  .nav-wrapper.is-open {
    right: 0;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    z-index: 104;
  }

  .nav-backdrop.is-open {
    display: block;
  }

  .global-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .global-nav-list > li {
    border-bottom: 1px solid var(--hana-border);
  }

  .global-nav-list > li > a {
    padding: 14px 8px;
    font-size: 15px;
    justify-content: space-between;
  }

  .global-nav-list .sub-menu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    min-width: unset !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 8px 12px;
    background: var(--surface-page);
    border-radius: 12px;
    margin: 4px 0 12px 0;
    display: none;
  }

  .global-nav-list > li:hover > .sub-menu,
  .global-nav-list > li:focus-within > .sub-menu {
    transform: none !important;
  }

  .global-nav-list > li.is-submenu-open .sub-menu {
    display: block;
  }

  .global-nav-list .sub-menu a {
    padding: 8px 10px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-heading);
    border-radius: 6px;
    white-space: normal;
  }

  .global-nav-list .sub-menu a:hover,
  .global-nav-list .sub-menu a:active {
    background: rgba(123, 167, 179, 0.12);
    color: var(--brand-deep);
  }

  .global-nav-list > li.menu-item-has-children > a::after {
    transform: rotate(45deg);
  }
  .global-nav-list > li.is-submenu-open > a::after {
    transform: rotate(-135deg);
  }

  .hero img {
    height: 280px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .service-grid,
  .seminar-grid,
  .blognew-grid,
  .cat-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .profile-inner {
    flex-direction: column;
    text-align: center;
  }

  .profile-body .section-heading {
    align-items: center;
    text-align: center;
  }

  .profile-body .btn {
    align-self: center !important;
  }

  .profile-actions {
    justify-content: center;
  }

  #service, #profile, #seminar, #blog-new, #blog-recent, #blog-category, #all-categories, #contact {
    padding-left: 20px;
    padding-right: 20px;
  }

  .entry-content {
    padding: 24px 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ==========================================================================
   Contact Form 7 - Rich Salon Style
   ========================================================================== */
.wpcf7 {
  max-width: 680px;
  margin: 0 auto;
  padding: 10px 0;
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wpcf7-form p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wpcf7-form label {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.6;
  margin-bottom: 6px;
}

.wpcf7-form label br {
  display: none;
}

/* Badge for Required / Optional fields */
.badge-required {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: unset !important;
  max-width: fit-content !important;
  background: var(--hana-teal-500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
  vertical-align: 1px;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 3px rgba(123, 167, 179, 0.3);
}

.badge-optional {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: unset !important;
  max-width: fit-content !important;
  background: var(--hana-pale);
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
  vertical-align: 1px;
}

/* Inputs & Textarea & Select */
.wpcf7-form-control-wrap {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 6px;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-heading);
  background-color: #f8fbfa;
  border: 1.5px solid var(--hana-border);
  border-radius: 14px;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.wpcf7-text::placeholder,
.wpcf7-textarea::placeholder {
  color: var(--text-faint);
  font-size: 14px;
}

.wpcf7-text:hover,
.wpcf7-textarea:hover,
.wpcf7-select:hover {
  background-color: #fff;
  border-color: var(--hana-teal-300);
}

.wpcf7-text:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus {
  background-color: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(123, 167, 179, 0.18);
}

/* Custom Select Dropdown Arrow */
.wpcf7-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f8f9b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px;
  padding-right: 44px;
}

/* Textarea */
.wpcf7-textarea {
  min-height: 160px;
  line-height: 1.8;
  resize: vertical;
}

/* Submit Button */
.wpcf7-form p:has(.wpcf7-submit),
.wpcf7-submit-wrapper {
  text-align: center;
  align-items: center;
  margin-top: 16px;
}

.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 54px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(95, 143, 155, 0.28);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wpcf7-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(77, 114, 125, 0.36);
}

.wpcf7-submit:active {
  transform: translateY(-1px);
}

/* Validation Tips & Output Messages */
.wpcf7-not-valid-tip {
  font-size: 12.5px;
  color: #d9534f;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wpcf7-not-valid-tip::before {
  content: '⚠️';
  font-size: 11px;
}

.wpcf7-not-valid {
  border-color: #f1aeb5 !important;
  background-color: #fff8f8 !important;
}

.wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 16px 24px !important;
  border-radius: 16px !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  text-align: center;
  border: none !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: #eef8f5;
  color: #247558;
  box-shadow: inset 0 0 0 1.5px #a3e0cc;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  background: #fdf2f2;
  color: #b02a37;
  box-shadow: inset 0 0 0 1.5px #f1aeb5;
}

.wpcf7 .ajax-loader {
  display: block;
  margin: 10px auto 0;
}

