/* ===========================
   RISE Co., Ltd. - Main CSS
   =========================== */

:root {
  --color-primary: #1a8fa4;
  --color-secondary: #7a8b96;
  --color-accent: #3ec0b2;
  --color-base: #ffffff;
  --color-contrast: #1e2a30;
  --color-tertiary: #F6F6F6;
  --color-bg-light: #f0f4f5;
  --font-family: 'Noto Sans JP', sans-serif;
  --spacing-sm: 20px;
  --spacing-md: 40px;
  --spacing-lg: 80px;
  --spacing-xl: 100px;
  --max-width: 1200px;
  --content-width: 980px;
  --header-height: 54px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-contrast);
  background: var(--color-base);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===========================
   STICKY HEADER
   =========================== */

#mysticky-nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  background-color: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
}

#mysticky-nav.wrapfixed {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* ===========================
   HEADER ACCENT BAR
   =========================== */

.header-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 60%, #a8e6df 100%);
}

/* ===========================
   HEADER
   =========================== */

.site-header {
  background-color: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img {
  display: block;
  width: 200px;
  height: auto;
}

/* ===========================
   NAVIGATION
   =========================== */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 14px;
  color: #333;
  transition: color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.nav-list > li > a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.nav-list > li > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-list > li > a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* CTA button in nav */
.nav-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a7a8c 100%);
  color: #ffffff !important;
  border-radius: 100px;
  padding: 9px 20px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(33,84,97,0.25);
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  text-decoration: none !important;
  color: #ffffff !important;
}

/* Chevron icon */
.nav-chevron {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease;
}

.has-submenu:hover .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.has-submenu {
  position: relative;
}

.submenu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #ffffff;
  border: 1px solid #e8ecee;
  border-top: 2px solid var(--color-accent);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 190px;
  z-index: 1000;
  padding: 6px 0;
  transform: translateY(-4px);
  /* 숨길 때: 0.15s 딜레이 후 사라짐 */
  transition: opacity 0.18s ease 0.15s, transform 0.18s ease 0.15s, visibility 0s linear 0.33s;
}

/* 갭 위에 투명한 브리지를 올려 hover가 끊기지 않도록 함 */
.submenu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.has-submenu:hover .submenu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  /* 표시할 때: 딜레이 없이 즉시 */
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s;
}

.submenu li a {
  display: block;
  padding: 9px 20px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #444;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.submenu li a:hover {
  background-color: #f5fafa;
  color: var(--color-primary);
  text-decoration: none;
}

/* ===========================
   MAIN CONTENT
   =========================== */

main {
  min-height: 60vh;
}

.page-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--spacing-md);
}

.page-content p {
  color: #2e3f4a;
  line-height: 2;
}

.page-content h2, .page-content h3, .page-content h4 {
  color: var(--color-primary);
}

.page-content-wide {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-md);
}

/* ===========================
   PAGE HERO (interior pages)
   =========================== */

.page-hero {
  background: linear-gradient(135deg, #1d9eb5 0%, #1a8fa4 40%, #0d6e82 100%);
  padding: 64px var(--spacing-md);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.page-hero .section-label-en {
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}

.page-hero .page-title {
  max-width: var(--content-width);
  margin: 0 auto;
  margin-bottom: 0;
  color: #ffffff;
}

.page-hero .page-subtitle {
  max-width: var(--content-width);
  margin: 8px auto 0;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.page-hero .post-date-header {
  max-width: var(--content-width);
  margin: 10px auto 0;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.page-hero-breadcrumb {
  max-width: var(--content-width);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

.page-hero-breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.page-hero-breadcrumb a:hover {
  color: #ffffff;
}

.page-hero-breadcrumb span {
  color: rgba(255,255,255,0.4);
}

/* ===========================
   PAGE TITLE
   =========================== */

.page-title {
  color: var(--color-primary);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.5px;
}

/* ===========================
   HOMEPAGE HERO COVERS
   =========================== */

.hero-cover {
  position: relative;
  overflow: hidden;
}

.hero-cover .cover-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-cover .cover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cover .cover-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text-block {
  width: 50%;
  text-align: center;
}

.hero-main-text-ja {
  font-size: clamp(1rem, 3vw, 3.6rem);
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.hero-main-text-en {
  font-size: clamp(0.55rem, 1.1vw, 0.95rem);
  font-weight: 200;
  letter-spacing: 0.2em;
  white-space: nowrap;
  margin: 0;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

@media screen and (max-width: 768px) {
  .hero-text-block {
    width: 85%;
  }

  .hero-main-text-ja {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem);
    white-space: normal;
    line-height: 1.5;
  }

  .hero-main-text-en {
    font-size: clamp(0.65rem, 2.8vw, 0.85rem);
    white-space: normal;
    letter-spacing: 0.1em;
    line-height: 1.7;
  }
}

.hero-btn {
  display: inline-block;
  background-color: #78c1b9;
  color: #ffffff;
  border-radius: 100px;
  padding: 9px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(0,0,0,0.2);
  text-decoration: none;
  color: #ffffff;
}

/* Service Cards */
.service-cards-row {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.service-card {
  flex: 1 1 50%;
}

.service-card-img img {
  width: 100%;
  height: auto;
  border: 10px solid #ffffff;
  display: block;
}

.service-card-img-left img {
  border-radius: 200px 0 200px 0;
}

.service-card-img-right img {
  border-radius: 0 200px 0 200px;
}

/* Homepage News Section */
.home-news-section {
  display: flex;
  flex-wrap: nowrap;
}

.home-news-left {
  flex: 0 0 38%;
  background: linear-gradient(160deg, #1d9eb5 0%, #157f94 100%);
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

/* 장식용 배경 원 */
.home-news-left::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  bottom: -60px;
  right: -60px;
  pointer-events: none;
}

.home-news-left .hero-btn {
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.home-news-left .hero-btn:hover {
  background: rgba(255,255,255,0.3);
  opacity: 1;
}

.hero-news-btn-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-company-name {
  color: #ffffff;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.15);
}

.hero-company-tagline {
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.6;
}

.home-news-right {
  flex: 0 0 62%;
  background: #ffffff;
  padding: 56px 52px;
  border-left: none;
}

.home-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-news-list li {
  padding: 18px 0;
  border-bottom: 1px solid #e4e7e9;
}

.home-news-list li:first-child {
  padding-top: 0;
}

.home-news-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.home-news-list h2 {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 0 6px;
  color: #222;
  letter-spacing: 0;
  line-height: 1.5;
}

.home-news-list h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.home-news-list h2 a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.home-post-date {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 4px;
}

/* ===========================
   COVER SECTION (background image)
   =========================== */

.cover-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cover-section .cover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.cover-section .cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
}

.cover-section .cover-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-md);
}

/* ===========================
   TWO-COLUMN LAYOUT
   =========================== */

.two-col {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  align-items: flex-start;
}

.two-col > * {
  flex: 1 1 300px;
}

.three-col {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.three-col > * {
  flex: 1 1 200px;
}

/* ===========================
   COMPANY INFO ROWS
   =========================== */

.info-row {
  display: flex;
  gap: 0;
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
  padding: 8px 0;
}

.info-label {
  flex: 0 0 33%;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.info-value {
  flex: 1;
  color: #3d4f58;
  font-size: 0.9rem;
  font-weight: 400;
}

/* ===========================
   SERVICE ICONS
   =========================== */

.service-icons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

.service-icon-item {
  flex: 1 1 140px;
  max-width: 200px;
}

.service-icon-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
}

.service-icon-item .icon-title {
  color: var(--color-secondary);
  font-weight: 700;
  letter-spacing: -1px;
  font-size: 0.95rem;
}

.service-icon-item .icon-region {
  color: var(--color-secondary);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ===========================
   PROCESS STEPS
   =========================== */

.process-steps {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.process-step {
  flex: 1 1 100px;
  max-width: 160px;
  text-align: center;
}

.process-step img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
}

.process-step p {
  font-size: 0.82rem;
  font-weight: 600;
  color: #3d5560;
  margin: 0;
  line-height: 1.5;
}

/* ===========================
   MERIT / DEMERIT SECTIONS
   =========================== */

.merit-section {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

.merit-section-label {
  flex: 0 0 30%;
}

.merit-section-label h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 700;
}

.merit-section-content {
  flex: 1 1 300px;
}

.merit-section-content h4 {
  color: var(--color-primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: var(--spacing-sm);
  border-left: 3px solid var(--color-accent);
  padding-left: 10px;
}

.merit-section-content p {
  color: #4a5c66;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.9;
}

/* ===========================
   FAQ SECTION
   =========================== */

.faq-item {
  margin-bottom: var(--spacing-sm);
}

.faq-question {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 8px;
}

.faq-q-label {
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.faq-q-text {
  color: #1e2a30;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.6;
}

.faq-answer {
  border-top: 1px solid rgba(26,143,164,0.2);
  padding: 12px 12px 12px 16px;
  color: #4a5c66;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.9;
  background: #f8fbfc;
  border-radius: 0 0 6px 6px;
}

/* ===========================
   RECYCLE CATEGORIES
   =========================== */

.recycle-categories {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.recycle-category-item {
  flex: 1 1 100px;
  max-width: 130px;
  text-align: center;
}

.recycle-category-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

.recycle-category-item p {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0;
}

/* Price cards */
.price-cards {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.price-card {
  flex: 1 1 180px;
  background: #ffffff;
  padding: var(--spacing-sm);
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-radius: 14px;
  border: 1px solid #e6f0f3;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,143,164,0.12);
}

.price-card .price-label {
  color: var(--color-secondary);
  font-size: 0.85rem;
  font-weight: 700;
}

.price-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
}

.price-card .price-product {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
}

.price-card .price-amount {
  color: #e26900;
  font-size: 1rem;
  font-weight: 700;
}

.price-card .price-spec {
  color: var(--color-secondary);
  font-size: 0.75rem;
}

/* ===========================
   PROCESS TABLE (recycle)
   =========================== */

.process-table {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: nowrap;
  justify-content: center;
  border: 1px solid #b0b7bf;
  border-radius: 4px;
  padding: var(--spacing-md) 0;
  overflow-x: auto;
}

.process-table-step {
  flex: 1 1 120px;
  min-width: 100px;
  text-align: center;
}

.process-table-step .step-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.process-table-step img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

.process-table-step p {
  font-size: 0.8rem;
  color: var(--color-primary);
  letter-spacing: -1px;
  margin: 0;
}

/* ===========================
   INQUIRY FORM
   =========================== */

.inquiry-contact-box {
  background: linear-gradient(180deg, rgb(247,246,244) 0%, rgb(255,255,255) 100%);
  padding: var(--spacing-xl) var(--spacing-md);
}

.contact-info-row {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

.contact-info-item {
  flex: 1 1 200px;
}

.contact-info-item .dept-name {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.contact-info-item p {
  color: var(--color-secondary);
  margin: 4px 0;
}

.contact-tel-icon img {
  width: 60px;
  height: 60px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-field label .required {
  color: #e26900;
  margin-left: 4px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-accent);
  border-color: var(--color-accent);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field-name {
  display: flex;
  gap: 12px;
}

.form-field-name > div {
  flex: 1;
}

.form-field-name label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-secondary);
  margin-top: 4px;
}

.birthdate-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.birthdate-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.birthdate-item select {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: #3d4f58;
  background: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 4L6 8L10.5 4' stroke='%231a8fa4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.birthdate-item select:focus {
  outline: 2px solid var(--color-accent);
  border-color: var(--color-accent);
}

.birthdate-item:nth-child(1) select { width: 90px; }
.birthdate-item:nth-child(2) select { width: 68px; }
.birthdate-item:nth-child(3) select { width: 68px; }

.birthdate-unit {
  font-size: 0.88rem;
  color: #4a5c66;
}

.checkbox-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  cursor: pointer;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #ffffff;
  border: none;
  border-radius: 100px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 10px rgba(26,143,164,0.3);
  letter-spacing: 0.03em;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,143,164,0.4);
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  letter-spacing: 0.02em;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  opacity: 1;
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(26,143,164,0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(26,143,164,0.4);
}

.btn-outline {
  background: none;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: var(--spacing-sm) 0;
}

/* ===========================
   NEWS PAGE
   =========================== */

.news-post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-post-item {
  background: #ffffff;
  border: 1px solid #eaecee;
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 16px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  border-left: 3px solid transparent;
}

.news-post-item:hover {
  box-shadow: 0 8px 32px rgba(26,143,164,0.12);
  transform: translateY(-3px);
  border-left-color: var(--color-accent);
}

.news-post-item .post-date {
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.news-post-item h2 {
  color: #1e6e80;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.6;
}

.news-post-item h2 a {
  color: inherit;
  text-decoration: none;
}

.news-post-item h2 a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.news-post-item .excerpt {
  color: #4a5c66;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.85;
  margin: 0;
}

.news-post-item hr {
  display: none;
}

/* ===========================
   PAGINATION
   =========================== */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 0 16px;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border: 1.5px solid rgba(26,143,164,0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.pagination-btn:hover {
  background: #f0f9fb;
  border-color: var(--color-primary);
  text-decoration: none;
}

.pagination-btn.disabled {
  color: #b0bec5;
  border-color: #e0e8ea;
  cursor: default;
  pointer-events: none;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: background 0.2s;
}

.pagination-num:hover {
  background: #f0f9fb;
  text-decoration: none;
}

.pagination-num.current {
  background: var(--color-primary);
  color: #ffffff;
  cursor: default;
}

/* ===========================
   ABOUT PAGE
   =========================== */

.about-profile {
  background: #f8fbfc;
  border: 1px solid #daedf2;
  border-radius: 16px;
  padding: 32px 36px;
}

.about-profile-name {
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-accent);
  letter-spacing: -0.5px;
}

.about-philosophy {
  background: linear-gradient(135deg, #1a3a45 0%, #0d2830 100%);
  padding: 88px 40px;
  text-align: center;
}

.about-philosophy-inner {
  max-width: 680px;
  margin: 0 auto;
}

.about-philosophy .section-label-en {
  color: var(--color-accent);
}

.about-philosophy-quote {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.55;
  margin: 14px 0 28px;
  letter-spacing: -0.5px;
}

.about-philosophy-text {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.68);
  line-height: 2.1;
  margin: 0 0 36px;
}

.about-philosophy-since {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

.about-service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.about-service-card {
  display: block;
  background: #ffffff;
  border: 1.5px solid #daedf2;
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(26,143,164,0.14);
  border-color: var(--color-accent);
  text-decoration: none;
}

.about-service-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
}

.about-service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 6px;
}

.about-service-region {
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
}

.about-service-desc {
  font-size: 0.88rem;
  color: #4a5c66;
  line-height: 1.9;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .about-philosophy {
    padding: 64px 24px;
  }

  .about-profile {
    padding: 24px 20px;
  }
}

/* ===========================
   SECTION HEADINGS
   =========================== */

.section-heading {
  color: var(--color-primary);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 var(--spacing-md);
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 20px;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
}

.section-subheading {
  color: var(--color-primary);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* ===========================
   TEXT UTILITIES
   =========================== */

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-bold { font-weight: 700; }
.letter-tight { letter-spacing: -0.3px; }
.small-text { font-size: 0.9rem; }

.spacer-sm { height: 30px; }
.spacer-md { height: 50px; }
.spacer-lg { height: 100px; }

.bg-light-gray { background-color: #f0f6f8; }
.bg-gradient { background: linear-gradient(180deg, rgb(247,246,244) 0%, rgb(255,255,255) 100%); }

.hr-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: var(--spacing-lg) 0;
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
  background: #1c5060;
  color: rgba(255,255,255,0.78);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding: 56px var(--spacing-md) 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  flex: 0 0 auto;
}

.footer-logo-link img {
  width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  display: block;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  margin: 0;
}

.footer-nav {
  flex: 1;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 32px;
}

.footer-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
  padding: 5px 0;
  display: block;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--spacing-md);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

.copyright {
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ===========================
   CONSULTING PAGE
   =========================== */

.consulting-icons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

.consulting-icon-item {
  flex: 1 1 100px;
  max-width: 150px;
  text-align: center;
}

.consulting-icon-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

.consulting-icon-item p {
  font-size: 0.82rem;
  color: #4a5c66;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
}

.case-study {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

.case-study-item {
  flex: 1 1 200px;
  max-width: 280px;
  text-align: center;
}

.case-study-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
}

.case-study-item h3 {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.case-study-item p {
  font-size: 0.88rem;
  color: #4a5c66;
  font-weight: 400;
  letter-spacing: 0;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media screen and (max-width: 768px) {
  .header-inner {
    padding: 0 var(--spacing-sm);
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .site-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-list > li > a {
    padding: 10px var(--spacing-sm);
    width: 100%;
  }

  .submenu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--color-accent);
    border-top: none;
    border-radius: 0;
    margin-left: var(--spacing-sm);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .home-hero-left,
  .home-hero-right {
    flex: 0 0 100%;
  }

  .merit-section {
    flex-direction: column;
  }

  .merit-section-label {
    flex: none;
  }

  .process-steps {
    gap: var(--spacing-sm);
  }

  .home-news-section {
    flex-direction: column;
  }

  .home-news-left,
  .home-news-right {
    flex: 0 0 100%;
  }

  .home-news-left {
    padding: 44px var(--spacing-sm);
  }

  .home-news-right {
    padding: 40px var(--spacing-sm);
  }

  .page-hero {
    padding: 40px var(--spacing-sm);
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
    padding: 40px var(--spacing-sm) 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px var(--spacing-sm);
  }

  .footer-legal {
    gap: 14px;
  }
}

@media screen and (max-width: 480px) {
  .price-cards {
    flex-direction: column;
  }

  .news-post-item {
    padding: 20px 20px;
  }

  .step-cards {
    grid-template-columns: 1fr;
  }

  .cta-block {
    padding: 32px 24px;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    padding: 6px 0;
  }

  .info-table th {
    padding-bottom: 2px;
    border-bottom: none;
  }

  .info-table tr {
    padding: 10px 0;
  }
}

/* ===========================
   BLOG POST
   =========================== */

/* Hero */
.post-hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.post-breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.post-breadcrumb a:hover {
  color: #ffffff;
}

.post-breadcrumb span {
  color: rgba(255,255,255,0.3);
}

.post-date-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  margin-top: 14px;
  background: rgba(255,255,255,0.1);
  padding: 5px 12px;
  border-radius: 100px;
}

/* Layout */
.post-layout {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 56px var(--spacing-md) 0;
}

/* Body typography */
.post-body {
  font-size: 0.96rem;
  line-height: 2.05;
  color: #3a4d58;
}

.post-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 3rem 0 1rem;
  padding: 0 0 10px 14px;
  border-left: 4px solid var(--color-accent);
  border-bottom: 1px solid #ddeef1;
  line-height: 1.5;
  letter-spacing: -0.3px;
}

.post-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2a4050;
  margin: 2rem 0 0.6rem;
  padding-bottom: 6px;
  border-bottom: 1px dashed #dde8ec;
}

.post-body p {
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 2.05;
  color: #3a4d58;
  margin-bottom: 1.2rem;
}

.post-body strong {
  font-weight: 700;
  color: #2a4050;
}

.post-body ul,
.post-body ol {
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.95;
  color: #3a4d58;
  padding-left: 1.4rem;
  margin-bottom: 1.4rem;
}

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

.post-body ul li::marker {
  color: var(--color-accent);
}

.post-body ol li::marker {
  color: var(--color-primary);
  font-weight: 700;
}

/* Bottom section */
.post-bottom {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md) 80px;
}

.post-bottom-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #d0e8ed, transparent);
  margin: 56px 0 48px;
}

.post-cta {
  background: linear-gradient(135deg, #f0f9fb 0%, #e6f5f7 100%);
  border: 1px solid rgba(26,143,164,0.18);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  margin-bottom: 40px;
}

.post-cta-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 10px;
}

.post-cta-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 8px;
  line-height: 1.6;
}

.post-cta-text {
  font-size: 0.88rem;
  color: #4a5c66;
  margin: 0 0 24px;
  line-height: 1.85;
}

.post-back-nav {
  display: flex;
  align-items: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  padding: 10px 18px;
  border: 1.5px solid rgba(26,143,164,0.3);
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s;
}

.back-link:hover {
  background: #f0f9fb;
  border-color: var(--color-primary);
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .post-layout {
    padding: 40px var(--spacing-sm) 0;
  }

  .post-bottom {
    padding: 0 var(--spacing-sm) 60px;
  }

  .post-cta {
    padding: 32px 24px;
  }

  .post-body h2 {
    font-size: 1.2rem;
  }
}

/* ===========================
   SECTION TITLE (small)
   =========================== */

.section-title-sm {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1rem;
  padding-bottom: 6px;
  border-bottom: 1px solid #e0e0e0;
}

/* ===========================
   PAGE LEAD (intro paragraph)
   =========================== */

.page-lead {
  font-size: 1.05rem;
  font-weight: 400;
  color: #2e3f4a;
  line-height: 2;
  margin: 0 0 2.5rem;
  padding: 20px 24px;
  background: linear-gradient(135deg, #f0f9fb 0%, #e8f5f7 100%);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 12px 12px 0;
}

.page-lead--tagline {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  border-left: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f9fb 0%, #e8f5f7 100%);
  border: 1.5px solid rgba(62,192,178,0.3);
}

/* ===========================
   CTA BLOCK
   =========================== */

.cta-block {
  background: linear-gradient(135deg, #e8f7fa 0%, #d4f0f4 100%);
  border: 1.5px solid rgba(26,143,164,0.25);
  border-radius: 24px;
  padding: 52px 40px;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(26,143,164,0.1);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(62,192,178,0.1);
  pointer-events: none;
}

.cta-block-icon {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.cta-block-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 10px;
  line-height: 1.6;
}

.cta-block-sub {
  font-size: 0.88rem;
  color: #4a5c66;
  margin: 0 0 24px;
  line-height: 1.9;
}

/* ===========================
   STEP CARDS (numbered flow)
   =========================== */

.step-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.step-card {
  background: #f8fbfc;
  border: 1px solid #d6edf1;
  border-radius: 14px;
  padding: 24px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26,143,164,0.13);
  border-color: var(--color-accent);
}

.step-card-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin: 0 0 10px;
  letter-spacing: -1px;
}

.step-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 8px;
}

.step-card-text {
  font-size: 0.88rem;
  color: #4a5c66;
  line-height: 1.85;
  margin: 0;
}

/* ===========================
   SECTION LABEL (side tag)
   =========================== */

.section-label-en {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

/* ===========================
   INFO TABLE (about page)
   =========================== */

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid #e4eef0;
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table th {
  padding: 14px 12px 14px 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  width: 35%;
  vertical-align: top;
  text-align: left;
  white-space: nowrap;
}

.info-table td {
  padding: 14px 0;
  font-size: 0.9rem;
  color: #3d4f58;
  font-weight: 400;
  line-height: 1.7;
}
