@charset "UTF-8";
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #ffffff;
}

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

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.container {
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 640px) {
  .container {
    padding: 0 10px;
  }
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 640px) {
  .main-content {
    padding: 0 10px;
  }
}

/* Sections */
.cm-section {
  padding: 2rem;
}
.cm-section.bg-soft {
  background: #f9fafb;
  border-radius: 16px;
}
.cm-section h2 {
  font-size: 1.7rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}
.cm-section p {
  color: #555;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .cm-section {
    padding: 0.5rem;
  }
}
/* Lists */
.cm-list {
  padding-left: 1.2rem;
}
.cm-list li {
  margin-bottom: 0.6rem;
  color: #555;
}

.jp-sections {
  background: #f9fafb;
  padding: 5rem 1.25rem;
}
.jp-sections__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.jp-sections__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.jp-sections__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}
.jp-sections__intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}
.jp-sections__grid {
  display: grid;
  gap: 2rem;
}

.jp-section-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jp-section-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.jp-section-card__title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.8rem;
}
.jp-section-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.6rem;
}
.jp-section-card__link {
  margin-top: auto;
  font-size: 0.9rem;
  color: #d6002a;
  text-decoration: none;
  font-weight: 500;
}
.jp-section-card__link:hover {
  text-decoration: underline;
}

.jp-sections--col-1 .jp-sections__grid {
  grid-template-columns: 1fr;
}

.jp-sections--col-2 .jp-sections__grid {
  grid-template-columns: repeat(2, 1fr);
}

.jp-sections--col-3 .jp-sections__grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .jp-sections--col-3 .jp-sections__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jp-sections--col-2 .jp-sections__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .jp-sections {
    padding: 4rem 1rem;
  }
  .jp-sections__title {
    font-size: 1.9rem;
  }
  .jp-sections__grid {
    grid-template-columns: 1fr;
  }
}
/* Sticky nav */
.sticky-nav {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  position: sticky;
  top: 70px;
  z-index: 10;
}
.sticky-nav ul {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  list-style: none;
  overflow-x: auto;
}
.sticky-nav a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  color: #2c3e50;
  border: 1px solid #e6e6e6;
  white-space: nowrap;
}
.sticky-nav a:hover {
  background: #e74c3c;
  color: #ffffff;
  border-color: #e74c3c;
}

.site-header {
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.site-header .site-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e74c3c;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-header .site-logo:hover {
  color: #c0392b;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-navigation .primary-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  /* ===============================
     Mobile dropdown menu
  =============================== */
}
.main-navigation .primary-menu a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
}
.main-navigation .primary-menu a:hover {
  color: #e74c3c;
}
@media (max-width: 768px) {
  .main-navigation .primary-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border-top: 1px solid #e6e6e6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    /* hidden state */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }
  .main-navigation .primary-menu.active {
    max-height: 80vh;
    opacity: 1;
    visibility: visible;
  }
  .main-navigation .primary-menu li {
    border-bottom: 1px solid #e6e6e6;
  }
  .main-navigation .primary-menu a {
    display: block;
    padding: 1rem 1.5rem;
  }
}

.mobile-menu-toggle {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
}
.mobile-menu-toggle .hamburger {
  width: 24px;
}
.mobile-menu-toggle .hamburger span {
  display: block;
  height: 2px;
  background: #2c3e50;
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu-toggle.is-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.is-open .hamburger span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.is-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}

/* Navigation */
.post-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e6e6e6;
}
.post-navigation .nav-links {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.post-navigation .nav-previous {
  margin-right: auto;
  text-align: left;
}
.post-navigation .nav-next {
  margin-left: auto;
  text-align: right;
}
.post-navigation a {
  text-decoration: none;
  color: #2c3e50;
  max-width: 45%;
}
.post-navigation a:hover {
  color: #e74c3c;
}
.post-navigation .nav-label {
  display: block;
  font-size: 0.75rem;
  color: #888;
}
.post-navigation .nav-title {
  font-size: 0.95rem;
  font-weight: 500;
}

.site-footer {
  background: #111;
  color: #888;
  padding: 60px 0 30px;
  font-size: 14px;
}
.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
}
.footer-section a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-section a:hover {
  color: #e74c3c;
}

/* =========================
   SNS Icons
========================= */
.footer-sns {
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-sns li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2c3e50;
  transition: transform 0.2s ease, background 0.2s ease;
}
.footer-sns li a:hover {
  transform: translateY(-3px);
}

.sns-icon {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

/* =========================
   Footer Bottom
========================= */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* =========================
   Mobile
========================= */
@media (max-width: 640px) {
  .footer-content {
    gap: 28px;
  }
  .footer-sns {
    justify-content: flex-start;
  }
}
.single-post {
  background: #ffffff;
}
.single-post .content-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

/* Article */
.post-article {
  padding: 3rem 0;
}

/* Title */
.post-title {
  font-size: 2rem;
  line-height: 1.4;
  color: #2c3e50;
  margin: 0.8rem 0 1.5rem;
}

/* Meta */
.post-meta {
  font-size: 0.9rem;
  color: #888;
}
.post-meta--top {
  margin-bottom: 0.5rem;
}
.post-meta--bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6e6e6;
}
.post-meta a {
  color: #e74c3c;
  text-decoration: none;
}
.post-meta a:hover {
  text-decoration: underline;
}

.meta-sep {
  margin: 0 0.5rem;
}

/* Featured image */
.post-featured-image {
  margin: 2rem 0;
}
.post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Content */
.entry-content {
  color: #333;
  line-height: 1.8;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}
.entry-content p {
  margin-bottom: 1.2rem;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.entry-content a {
  color: #e74c3c;
}
.entry-content a:hover {
  color: #c0392b;
}
.entry-content blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  background: #f8f9fa;
  border-left: 4px solid #e74c3c;
  color: #555;
}

.hero-section {
  background: linear-gradient(135deg, #e74c3c 0%, #2c3e50 100%);
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
}
.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-section p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.jp-blog,
.single-post {
  padding: 20px 0px;
  /* =========================
     Category Filter
  ========================= */
  /* =========================
     Blog Grid
  ========================= */
  /* =========================
     Blog Card (Base)
  ========================= */
  /* =========================
     Pagination
  ========================= */
  /* =========================
     Loading State
  ========================= */
}
@media (max-width: 768px) {
  .jp-blog,
  .single-post {
    padding: 40px 16px;
  }
}
.jp-blog__categories,
.single-post__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.jp-blog__cat,
.single-post__cat {
  appearance: none;
  border: 0;
  background: #f3f4f6;
  color: #333;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.jp-blog__cat:hover,
.single-post__cat:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}
.jp-blog__cat.is-active,
.single-post__cat.is-active {
  background: #e74c3c;
  color: #fff;
}
.jp-blog__grid,
.single-post__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .jp-blog__grid,
  .single-post__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .jp-blog__grid,
  .single-post__grid {
    grid-template-columns: 1fr;
  }
}
.jp-blog-card,
.single-post-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  /* =========================
     Row Variant (Left Thumb)
  ========================= */
}
.jp-blog-card:hover,
.single-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}
.jp-blog-card__link,
.single-post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.jp-blog-card__thumb,
.single-post-card__thumb {
  flex-shrink: 0;
  background: #f3f4f6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jp-blog-card__thumb img,
.single-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.jp-blog-card:hover .jp-blog-card__thumb img,
.jp-blog-card:hover .single-post-card__thumb img,
.single-post-card:hover .jp-blog-card__thumb img,
.single-post-card:hover .single-post-card__thumb img {
  transform: scale(1.05);
}
.jp-blog-card__initial,
.single-post-card__initial {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.jp-blog-card__body,
.single-post-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.jp-blog-card__title,
.single-post-card__title {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  margin-bottom: 8px;
}
@media (max-width: 640px) {
  .jp-blog-card__title,
  .single-post-card__title {
    font-size: 16px;
  }
}
.jp-blog-card__meta,
.single-post-card__meta {
  font-size: 12px;
  color: #777;
}
.jp-blog-card__excerpt,
.single-post-card__excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-top: auto;
  margin-bottom: 12px;
}
.jp-blog-card--row .jp-blog-card__link,
.single-post-card--row .jp-blog-card__link {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.jp-blog-card--row .jp-blog-card__thumb,
.single-post-card--row .jp-blog-card__thumb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}
.jp-blog__pagination,
.single-post__pagination {
  margin-top: 40px;
  text-align: center;
}
.jp-blog__pagination .page-numbers,
.single-post__pagination .page-numbers {
  display: inline-block;
  min-width: 36px;
  padding: 8px 12px;
  margin: 0 4px;
  background: #f3f4f6;
  color: #333;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}
.jp-blog__pagination .page-numbers:hover,
.single-post__pagination .page-numbers:hover {
  background: #e5e7eb;
}
.jp-blog__pagination .page-numbers.current,
.single-post__pagination .page-numbers.current {
  background: #e74c3c;
  color: #fff;
}
.jp-blog.is-loading,
.single-post.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

/* =========================
   Mobile Adjustments
========================= */
@media (max-width: 640px) {
  .jp-blog-card--row .jp-blog-card__link {
    align-items: flex-start;
  }
  .jp-blog-card--row .jp-blog-card__thumb {
    width: 64px;
    height: 64px;
  }
  .jp-blog-card--row .jp-blog-card__initial {
    font-size: 22px;
  }
}
.start-here {
  color: #333;
  background: #ffffff;
}
.start-here .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.start-here svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  color: #e74c3c;
  flex-shrink: 0;
}

/* ===============================
   Hero
================================ */
.start-hero {
  padding: 5rem 0;
  background: #f8f9fa;
  text-align: center;
}
.start-hero h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}
.start-hero .lead {
  font-size: 1.1rem;
  color: #555;
  max-width: 720px;
  margin: 0 auto;
}

/* ===============================
   Section
================================ */
.start-section {
  padding: 4rem 0;
}
.start-section.bg-soft {
  background: #f9fafb;
}
.start-section h2 {
  font-size: 1.6rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}
.start-section p {
  color: #555;
  margin-bottom: 1.5rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===============================
   Check List
================================ */
.check-list {
  list-style: none;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.6rem;
  color: #555;
}
.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #e74c3c;
  font-weight: bold;
}

/* ===============================
   Card Grid
================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1.4rem;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  color: #2c3e50;
  text-decoration: none;
  transition: all 0.25s ease;
}
.info-card span {
  font-weight: 500;
}
.info-card:hover {
  border-color: #e74c3c;
  color: #e74c3c;
  background: #f8f9fa;
  transform: translateY(-2px);
}

/* ===============================
   CTA
================================ */
.start-cta {
  padding: 5rem 0;
  background: #2c3e50;
  color: #ffffff;
  text-align: center;
}
.start-cta h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}
.start-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.6rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  background: #e74c3c;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}
.btn-primary:hover {
  background: #c0392b;
}

.guide-page {
  color: #333;
}

/* Hero */
.guide-hero {
  padding: 5rem 0;
  background: #f8f9fa;
  text-align: center;
}
.guide-hero h1 {
  font-size: 2.4rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}
.guide-hero .lead {
  color: #555;
  max-width: 720px;
  margin: 0 auto;
}

.page-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  background: #e74c3c;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 100;
}
.page-top.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.page-top:hover {
  background: #c0392b;
}

/* Arrow icon */
.page-top__icon {
  width: 12px;
  height: 12px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(-45deg);
  margin-top: 4px;
}

.section-intro {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.6rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #e74c3c;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: #c0392b;
}
.btn.btn-secondary {
  background: #2c3e50;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.post-card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
}

.accordion {
  margin: 2rem 0;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #e6e6e6;
}
.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  background: #ffffff;
  border: none;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  cursor: pointer;
  text-align: left;
}
.accordion-header:hover {
  background: #f8f9fa;
}

.accordion-icon {
  width: 18px;
  height: 18px;
  position: relative;
}
.accordion-icon::before, .accordion-icon::after {
  content: "";
  position: absolute;
  background: #2c3e50;
  transition: transform 0.2s ease;
}
.accordion-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.accordion-icon::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.accordion-header[aria-expanded=true] {
  color: #e74c3c;
}
.accordion-header[aria-expanded=true] .accordion-icon::after {
  transform: translateX(-50%) scaleY(0);
}

.accordion-content {
  padding: 1.5rem;
  display: none;
  color: #555;
}
.accordion-content p {
  margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
  .main-navigation ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-section h1 {
    font-size: 1.8rem;
  }
  .post-grid {
    grid-template-columns: 1fr;
  }
}