@charset "UTF-8";

/* ============================================
   Sayuu Zendesk Theme
   Based on support.bot.app reference design
   ============================================ */

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

html {
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  font-size: 15px;
}

body {
  margin: 0;
  font-family: 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
/*  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; */
  font-size: 15px;
  color: #555;
  background-color: #FCF9F5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #555;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #EA8D8E;
}

h1, h2, h3, h4, h5, h6 {
  color: #555;
  font-weight: 700;
  line-height: 1.4;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

/* --- Skip Navigation --- */
.skip-navigation {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-navigation:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 10px 20px;
  background: #fff;
  z-index: 10000;
  border: 2px solid #EA8D8E;
  border-radius: 4px;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  transition: box-shadow 0.2s ease;
}

.header.is-scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

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

.header-tagline {
  margin-left: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-search {
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .header-search {
    display: block;
  }
}

.header-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #718096;
  pointer-events: none;
  z-index: 1;
}

.header-search .search input[type="search"] {
  padding: 8px 12px 8px 34px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 14px;
  width: 200px;
  transition: width 0.3s, border-color 0.2s;
  outline: none;
  background: #f7f7f7;
}

.header-search .search input[type="search"]:focus {
  width: 280px;
  border-color: #EA8D8E;
  background: #fff;
}

.header-nav {
  display: none;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
  }
}

.header-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  padding: 6px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  transition: all 0.2s;
}

.header-nav-link:hover {
  background: #EA8D8E;
  color: #fff;
  border-color: #EA8D8E;
  text-decoration: none;
}

/* User Info Dropdown */
.user-info {
  position: relative;
}

.user-info .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.2s;
}

.user-info .dropdown-toggle:hover {
  background: #f5f5f5;
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  z-index: 1001;
  padding: 8px 0;
}

.dropdown-menu a,
.dropdown-menu [role="menuitem"] {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: background 0.15s;
}

.dropdown-menu a:hover,
.dropdown-menu [role="menuitem"]:hover {
  background: #f5f5f5;
  text-decoration: none;
}

.dropdown.is-active .dropdown-menu {
  display: block;
}


/* ============================================
   Hero Section (Home Page)
   ============================================ */
.hero {
  background-color: #FCF9F5;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: 'Zen Maru Gothic'; 
  font-size: 32px;
  font-weight: 700;
  color: #313131;
  margin: 0 0 8px;
}

.hero-subtitle {
  font-size: 16px;
  color: #333;
  margin: 0 0 32px;
}

/* Hero Search */
.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 580px;
  margin: 0 auto 24px;
}

.hero-search-input-wrap {
  position: relative;
  flex: 1;
}

.hero-search-input-wrap .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #718096;
  pointer-events: none;
  z-index: 1;
}

.hero-search .search input[type="search"] {
  width: 100%;
  padding: 14px 20px 14px 44px;
  border: 2px solid #e2e8f0;
  border-radius: 30px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}

.hero-search .search input[type="search"]:focus {
  border-color: #EA8D8E;
  box-shadow: 0 0 0 3px rgba(246, 183, 179, 0.25);
}

/* Hide Zendesk default submit button */
.hero-search .search input[type="submit"] {
  display: none;
}

/* Custom search button */
.hero-search-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  background: #EA8D8E;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.hero-search-btn:hover {
  background: #f0a09b;
}

/* Popular Keywords */
.popular-keywords {
  margin-top: 16px;
}

.popular-keywords-heading {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px;
}

.popular-keywords-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.popular-keywords-list li a {
  display: inline-block;
  padding: 8px 18px;
  background: #EA8D8E;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: all 0.2s;
  border: none;
}

.popular-keywords-list li a:hover {
  background: #e9a09b;
  color: #fff;
  text-decoration: none;
}

/* ============================================
   FAQ Section (Home Page)
   ============================================ */
.faq-section {
  padding: 48px 0 64px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.section-heading-en {
  font-size: 24px;
  font-weight: 700;
  color: #EA8D8E;
  letter-spacing: 0.05em;
}

.section-heading-jp {
  font-size: 16px;
  font-weight: 700;
  color: #555;
}

.faq-list {
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.faq-category {
  border-bottom: none;
  margin-bottom: 15px;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 40px 15px 15px;
  background: #EA8D8E;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  font-family: 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
  color: #fff;
  text-align: left;
  transition: background 0.15s;
  position: relative;
  background: #EA8D8E;
}

.faq-category-toggle:hover {
  background: #f0a8a3;
}

/* +/- icon via pseudo elements */
.faq-category-toggle::before {
  position: absolute;
  content: '';
  width: 15px;
  height: 3px;
  background: #555;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-category-toggle::after {
  position: absolute;
  content: '';
  width: 3px;
  height: 15px;
  background: #555;
  right: 21px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease-in-out;
}

.faq-category-toggle[aria-expanded="true"] {
  border-radius: 10px 10px 0 0;
}

.faq-category-toggle[aria-expanded="true"]::after {
  opacity: 0;
}

.faq-chevron {
  display: none;
}

.faq-category-content {
  padding: 10px 0 0;
  background: transparent;
  border-top: none;
}

.faq-category-content[hidden] {
  display: none;
}

.faq-section-group {
  padding: 0;
  border-bottom: none;
  margin-bottom: 8px;
}

.faq-section-group:last-child {
  margin-bottom: 0;
}

.faq-section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #555;
}

.faq-article-list li {
  padding: 0;
  margin-bottom: 12px;
}

.faq-article-link {
  display: block;
  background: #FCEAD0;
  font-size: 15px;
  font-weight: 700;
  color: #555;
  padding: 16px 50px 16px 20px;
  border-radius: 10px;
  transition: background 0.15s;
  position: relative;
}

/* --- Q&A Accordion (v2) --- */
.faq-qa-item {
  margin-bottom: 12px;
}

.faq-qa-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 50px 16px 20px;
  background: #FCEAD0;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #555;
  text-align: left;
  transition: background 0.15s;
  position: relative;
  gap: 10px;
}

.faq-qa-toggle:hover {
  background: #f5dfc0;
}

.faq-qa-toggle::before {
  position: absolute;
  content: '';
  width: 13px;
  height: 2px;
  background: #333;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-qa-toggle::after {
  position: absolute;
  content: '';
  width: 2px;
  height: 13px;
  background: #333;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease-in-out;
}

.faq-qa-toggle[aria-expanded="true"] {
  border-radius: 10px 10px 0 0;
}

.faq-qa-toggle[aria-expanded="true"]::after {
  opacity: 0;
}

.faq-qa-label {
  color: #EA8D8E;
  font-family: 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

.faq-qa-title {
  flex: 1;
}

.faq-qa-answer {
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-radius: 0 0 10px 10px;
  background: #fff;
}

.faq-qa-answer[hidden] {
  display: none;
}

.faq-qa-answer-inner {
  padding: 20px;
  display: flex;
  gap: 10px;
}

.faq-qa-answer-label {
  color: #EA8D8E;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.faq-qa-body {
  font-size: 14px;
  font-family: 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  line-height: 1.8;
  color: #555;
  flex: 1;
  min-width: 0;
}

.faq-qa-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.faq-qa-body a {
  color: #EA8D8E;
  text-decoration: underline;
}

.faq-qa-body p {
  margin: 0 0 12px;
}

.faq-qa-body p:last-child {
  margin-bottom: 0;
}

.faq-article-link:hover {
  background: #f5dfc0;
  color: #555;
  text-decoration: none;
}

.faq-loading {
  padding: 12px 0;
  font-size: 14px;
  color: #a0aec0;
}

.faq-empty {
  padding: 12px 0;
  font-size: 14px;
  color: #a0aec0;
  margin: 0;
}

.faq-see-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: #EA8D8E;
  font-weight: 500;
}

/* ============================================
   Sub Navigation Bar
   ============================================ */
.sub-nav-bar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
}

.sub-nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sub-nav-bar .search-container {
  position: relative;
  flex-shrink: 0;
}

.sub-nav-bar .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #718096;
  pointer-events: none;
}

.sub-nav-bar .search input[type="search"] {
  padding: 8px 12px 8px 34px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 14px;
  width: 200px;
  outline: none;
  transition: border-color 0.2s;
}

.sub-nav-bar .search input[type="search"]:focus {
  border-color: #EA8D8E;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #718096;
  min-width: 0;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs li::after {
  content: ">";
  margin: 0 6px;
  color: #cbd5e0;
}

.breadcrumbs li:last-child::after {
  display: none;
}

.breadcrumbs a {
  color: #718096;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.breadcrumbs a:hover {
  color: #EA8D8E;
}

/* ============================================
   Category Page
   ============================================ */
.category-container {
  padding: 32px 0 64px;
}

.page-header {
  margin-bottom: 32px;
}

.page-header h1 {
  font-size: 28px;
  margin: 0 0 8px;
}

.page-header-description {
  font-size: 15px;
  color: #718096;
  margin: 0;
}

.section-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #edf2f7;
}

.section-block:last-child {
  border-bottom: none;
}

.section-block-title {
  font-size: 18px;
  margin: 0 0 16px;
}

.section-block-title a {
  color: #555;
}

.section-block-title a:hover {
  color: #EA8D8E;
}

/* ============================================
   Section Page
   ============================================ */
.section-container {
  padding: 32px 0 64px;
}

.section-list {
  margin-bottom: 24px;
}

.section-list-item {
  border-bottom: 1px solid #edf2f7;
}

.section-list-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  color: #333;
  font-weight: 500;
  transition: color 0.15s;
}

.section-list-item a:hover {
  color: #EA8D8E;
  text-decoration: none;
}

.section-list-item svg {
  color: #cbd5e0;
  flex-shrink: 0;
}

/* Article List (shared) */
.article-list {
  margin: 0;
}

.article-list-item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.article-list-link {
  color: #333;
  font-size: 15px;
  transition: color 0.15s;
}

.article-list-link:hover {
  color: #EA8D8E;
}

.see-all-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: #EA8D8E;
  font-weight: 500;
}

/* ============================================
   Article Page
   ============================================ */
.article-container {
  display: flex;
  gap: 40px;
  padding: 32px 0 64px;
}

.article-sidebar {
  width: 260px;
  flex-shrink: 0;
  display: none;
}

@media (min-width: 1024px) {
  .article-sidebar {
    display: block;
  }
}

.article {
  flex: 1;
  min-width: 0;
}

.collapsible-sidebar {
  position: sticky;
  top: 92px;
}

.collapsible-sidebar-title {
  font-size: 14px;
  font-weight: 700;
  color: #EA8D8E;
  display: block;
  margin-bottom: 12px;
}

.collapsible-sidebar-toggle {
  display: none;
}

@media (max-width: 1023px) {
  .collapsible-sidebar-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    color: #333;
  }
}

.collapsible-sidebar-body ul {
  margin: 0;
}

.sidenav-item {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: #555;
  border-radius: 6px;
  transition: all 0.15s;
  line-height: 1.5;
}

.sidenav-item:hover {
  background: #f0f0f0;
  color: #555;
  text-decoration: none;
}

.sidenav-item.current-article {
  display: none;
}

.article-sidebar-item {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: #EA8D8E;
  font-weight: 500;
}

/* Article Header */
.article-header {
  margin-bottom: 32px;
}

.article-title {
  font-size: 28px;
  margin: 0 0 16px;
  line-height: 1.5;
  color: #333;
  font-weight: 700;
}

@media (min-width: 768px) {
  .article-title {
    font-size: 32px;
  }
}

.article-meta .meta-group {
  display: flex;
  gap: 12px;
}

.meta-data {
  font-size: 13px;
  color: #718096;
}

/* Article Body */
.article-body {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  background: #fff;
  padding: 32px;
  border-radius: 10px;
  border: 1px solid #eee;
}

.article-body h2 {
  font-size: 20px;
  margin: 40px 0 16px;
  padding: 10px 0;
  border-bottom: 2px solid #EA8D8E;
  color: #333;
}

.article-body h3 {
  font-size: 17px;
  margin: 28px 0 12px;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 10px;
  color: #333;
}

.article-body p {
  margin: 0 0 16px;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
  margin: 0 0 16px;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 6px;
}

.article-body img {
  border-radius: 8px;
  margin: 16px 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.article-body th,
.article-body td {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  text-align: left;
}

.article-body th {
  background: #f7fafc;
  font-weight: 600;
}

.article-body code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

.article-body pre {
  background: #f1f5f9;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
}

.article-body blockquote {
  border-left: 4px solid #EA8D8E;
  margin: 16px 0;
  padding: 12px 20px;
  background: #FCF9F5;
  border-radius: 0 8px 8px 0;
}

.article-body a {
  color: #EA8D8E;
  text-decoration: underline;
}

.article-body a:hover {
  color: #e9a09b;
}

/* Article Attachments */
.article-attachments {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #edf2f7;
}

.attachment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.attachment-meta {
  font-size: 12px;
  color: #718096;
}

/* Article Footer */
.article-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #edf2f7;
}

.article-votes {
  text-align: center;
  margin-bottom: 32px;
}

.article-votes-question {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
}

.article-votes-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.article-vote {
  padding: 8px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.article-vote:hover {
  border-color: #EA8D8E;
  color: #EA8D8E;
}

.article-vote.button-primary {
  background: #EA8D8E;
  color: #fff;
  border-color: #EA8D8E;
}

.article-votes-count {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #718096;
}

.article-more-questions {
  text-align: center;
  margin-bottom: 24px;
}

.article-return-to-top {
  text-align: center;
}

.article-return-to-top a {
  font-size: 14px;
  color: #EA8D8E;
}

.article-return-to-top a:hover {
  color: #e9a09b;
}

/* Related Articles */
.article-relatives {
  margin-top: 48px;
}

/* Comments */
.article-comments {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #edf2f7;
}

.comment-heading {
  font-size: 18px;
  margin: 0 0 16px;
}

.comment-list {
  margin: 0;
}

.comment {
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-author .user-avatar {
  width: 36px;
  height: 36px;
}

.comment-body {
  font-size: 14px;
  line-height: 1.7;
}

.comment-form {
  margin-top: 24px;
}

.comment-form-controls {
  margin-top: 12px;
  text-align: right;
}

/* ============================================
   Search Results
   ============================================ */
.search-results {
  display: flex;
  gap: 40px;
  padding: 32px 0 64px;
}

.search-results-sidebar {
  width: 220px;
  flex-shrink: 0;
  display: none;
}

@media (min-width: 768px) {
  .search-results-sidebar {
    display: block;
  }
}

.search-results-column {
  flex: 1;
  min-width: 0;
}

.search-results-heading {
  font-size: 18px;
  margin: 0 0 24px;
  color: #718096;
  font-weight: 500;
}

.sidenav-title {
  font-size: 13px;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 24px 0 8px;
}

.sidenav-title:first-child {
  margin-top: 0;
}

.filter-list li {
  margin-bottom: 2px;
}

.filter-list .sidenav-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px;
  font-size: 14px;
  color: #555;
  border-radius: 4px;
}

.filter-list .sidenav-item.current {
  background: #eef4ff;
  color: #EA8D8E;
  font-weight: 600;
}

.doc-count {
  color: #a0aec0;
  font-size: 13px;
}

.search-results-list {
  margin: 0;
}

.search-result-item {
  padding: 20px 0;
  border-bottom: 1px solid #edf2f7;
}

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

.search-result-link {
  display: block;
  color: inherit;
}

.search-result-link:hover {
  text-decoration: none;
}

.search-result-link:hover .search-result-title {
  color: #EA8D8E;
}

.search-result-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #555;
  transition: color 0.15s;
}

.search-result-description {
  font-size: 14px;
  color: #718096;
  line-height: 1.6;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.search-result-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-result-breadcrumbs li::after {
  content: ">";
  margin: 0 4px;
  color: #cbd5e0;
}

.search-result-breadcrumbs li:last-child::after {
  display: none;
}

.search-result-breadcrumbs a {
  color: #718096;
  font-size: 12px;
}

.no-results {
  text-align: center;
  padding: 48px 0;
  color: #718096;
}

/* ============================================
   Footer
   ============================================ */
.footer-contact {
  background: #FCF9F5;
  padding: 48px 20px;
  text-align: center;
}

.footer-contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.footer-contact .section-heading-en {
  display: block;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: #EA8D8E;
}

.footer-contact .section-heading-jp {
  display: block;
  font-size: 15px;
  margin-top: 4px;
  color: #555;
}

.footer-contact-text {
  font-size: 14px;
  color: #718096;
  margin: 16px 0 24px;
  line-height: 1.7;
}

.footer-contact-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: #EA8D8E;
  color: #fff;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
}

.footer-contact-button:hover {
  background: #e9a09b;
  text-decoration: none;
  color: #fff;
}

.footer-contact-button svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

.footer-bottom {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 24px 20px;
}

.footer-bottom-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 12px;
  color: #a0aec0;
  margin: 0;
}

.footer-language {
  font-size: 13px;
}

.language-selector .dropdown-toggle {
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
}

/* ============================================
   Error Page
   ============================================ */
.error-page {
  text-align: center;
  padding: 64px 20px;
}

.error-page h1 {
  font-size: 48px;
  margin: 0 0 16px;
}

.error-page h2 {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 16px;
  color: #718096;
}

.error-page a {
  color: #EA8D8E;
}

/* ============================================
   Buttons
   ============================================ */
.button {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  text-decoration: none;
  background: #fff;
  color: #333;
}

.button:hover {
  border-color: #cbd5e0;
  background: #f7fafc;
  text-decoration: none;
}

.button-primary {
  background: #EA8D8E;
  color: #fff;
  border-color: #EA8D8E;
}

.button-primary:hover {
  background: #e9a09b;
  border-color: #e9a09b;
  color: #fff;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 32px 0;
}

.pagination a,
.pagination .current {
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 14px;
}

.pagination a {
  color: #333;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}

.pagination a:hover {
  border-color: #EA8D8E;
  color: #EA8D8E;
  text-decoration: none;
}

.pagination .current {
  background: #EA8D8E;
  color: #fff;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 767px) {
  .hero {
    padding: 40px 16px;
  }

  .hero-title {
    font-size: 24px;
    font-weight: 700;
    
  }

  .hero-search .search input[type="search"] {
    font-size: 15px;
    padding: 12px 16px 12px 40px;
  }

  .faq-section {
    padding: 32px 0 48px;
  }

  .article-container {
    flex-direction: column;
    gap: 0;
    padding: 20px 0 48px;
  }

  .article-title {
    font-size: 22px;
  }

  .search-results {
    flex-direction: column;
    gap: 0;
    padding: 20px 0 48px;
  }

  .search-results-sidebar {
    display: none;
  }

  .category-container,
  .section-container {
    padding: 20px 0 48px;
  }

  .page-header h1 {
    font-size: 22px;
  }

  .sub-nav-bar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .sub-nav-bar .search-container {
    width: 100%;
  }

  .sub-nav-bar .search input[type="search"] {
    width: 100%;
  }

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

/* ============================================
   Instant Search Dropdown
   ============================================ */
[role="listbox"] {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-top: 4px;
  max-height: 400px;
  overflow-y: auto;
}

[role="option"] {
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.1s;
}

[role="option"]:hover,
[role="option"][aria-selected="true"] {
  background: #eef4ff;
}

/* ============================================
   Utilities
   ============================================ */
.visibility-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
