/*
Theme Name: MySiteTheme
Theme URI: https://homepage.localhost
Author: MySite
Description: 個人事業主・小規模店舗向けホームページ制作会社のテーマ
Version: 1.0
*/

:root {
  --navy: #1a2744;
  --navy-light: #2c3e6b;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --accent: #3b5bdb;
  --text: #1f2937;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.logo-i  { color: #e74c3c; }
.logo-r  { color: #e67e22; }
.logo-o  { color: #f1c40f; }
.logo-d  { color: #2ecc71; }
.logo-o2 { color: #1abc9c; }
.logo-r2 { color: #3498db; }
.logo-i2 { color: #9b59b6; }
.logo-web { color: var(--navy); }

.global-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.global-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.global-nav a:hover {
  color: var(--accent);
}

.header-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}

.header-cta:hover {
  background: var(--navy-light) !important;
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== HERO ========== */
.hero {
  background: url('hero-bg.jpg') center center / cover no-repeat;
  color: var(--white);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,39,68,0.45) 0%, rgba(44,62,107,0.35) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-tomoni {
  color: var(--white);
  font-style: italic;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 40px;
  line-height: 2;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--white);
  color: var(--navy);
  padding: 16px 40px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 16px 40px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.5);
  transition: border-color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--white);
}

/* ========== SECTIONS ========== */
section {
  padding: 80px 0;
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--gray);
  font-size: 1rem;
  max-width: 600px;
}

.section-head {
  margin-bottom: 52px;
}

/* ========== CONCERN (お悩みセクション) ========== */
.concern {
  background: var(--off-white);
}

.concern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.concern-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 24px;
  border-left: 4px solid var(--accent);
}

.concern-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.concern-card p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--off-white);
  border-radius: 10px;
  padding: 36px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ========== FLOW ========== */
.flow {
  background: var(--off-white);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 32px;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--gray-light);
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  padding-top: 8px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ========== WORKS ========== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.works-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
}

.works-placeholder {
  background: var(--off-white);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.works-empty {
  background: var(--white);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--gray-light);
}

.works-placeholder-inner {
  text-align: center;
  padding: 24px;
}

.works-placeholder-label {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.works-placeholder-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.works-placeholder-note {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ========== REASON ========== */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.reason-card {
  padding: 36px 28px;
  border-radius: 10px;
  background: var(--off-white);
  border-top: 4px solid var(--navy);
}

.reason-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-light);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.reason-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}

.reason-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ========== VOICES ========== */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.voice-placeholder {
  background: var(--white);
  border-radius: 10px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--gray-light);
}

.voice-placeholder-inner {
  text-align: center;
  padding: 24px;
}

/* ========== PRICING ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}

.pricing-grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 430px;
}

.price-feature--monthly {
  display: block !important;
  background: #eef4ff;
  border-radius: 6px;
  padding: 12px 14px !important;
  border-bottom: none !important;
  margin-top: 8px;
  color: var(--navy) !important;
  text-align: center;
  line-height: 1.6;
}

.price-feature--monthly strong {
  font-size: 1.05rem;
}

.price-feature--monthly::before {
  display: none !important;
}

.pricing-options {
  max-width: 760px;
  margin: 48px auto 0;
  background: var(--off-white);
  border-radius: 16px;
  padding: 36px 40px;
  border: 2px dashed #c7d2e8;
}

.pricing-options-head {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-options-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 4px 0 8px;
  letter-spacing: 0.05em;
}

.pricing-options-desc {
  font-size: 0.88rem;
  color: var(--gray);
}

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-light);
}

.option-name {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.option-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.price-card {
  border: 2px solid var(--gray-light);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.2s;
}

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

.price-card.popular {
  border-color: var(--navy);
  position: relative;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.price-amount {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin: 16px 0 4px;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 400;
}

.price-desc {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.price-features li {
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-light);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-filled {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.btn-filled:hover {
  background: var(--navy-light);
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: box-shadow 0.2s;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--off-white);
  object-fit: cover;
  display: block;
}

.blog-body {
  padding: 20px;
}

.blog-cat {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.blog-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 8px;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ========== CONTACT ========== */
.contact-greeting {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto 40px;
}
.contact-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.contact-balloon {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px 16px 16px 4px;
  padding: 16px 20px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.contact-balloon::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 20px;
  border-width: 8px 10px 8px 0;
  border-style: solid;
  border-color: transparent #e5e7eb transparent transparent;
}
.contact-balloon::after {
  content: '';
  position: absolute;
  left: -8px;
  top: 21px;
  border-width: 7px 9px 7px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}
.contact-balloon p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--dark);
  margin: 0 0 8px;
}
.balloon-name {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
}

.contact-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--off-white);
  border-radius: 12px;
  padding: 48px 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 8px;
}

.btn-submit {
  background: var(--navy);
  color: var(--white);
  padding: 16px 60px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: var(--navy-light);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.85rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

/* ========== PAGE HERO ========== */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

/* ========== SINGLE POST ========== */
.post-content {
  max-width: 760px;
  margin: 60px auto;
  padding: 0 24px;
}

.post-content h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.4;
}

.post-meta {
  display: flex;
  gap: 16px;
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.post-body {
  line-height: 1.9;
}

.post-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}

.post-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 12px;
}

.post-body p {
  margin-bottom: 20px;
}

.post-body img {
  border-radius: 8px;
  margin: 24px 0;
}

/* ========== SERVICE PAGE ========== */
.service-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2d4a8a 100%);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 32px;
}

.target-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center;
  border: 1px solid var(--gray-light);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.target-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.target-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text);
}

.target-note {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 8px;
}

.commitment-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.commitment-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.commitment-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}

.commitment-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.commitment-body p {
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--text);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.service-card {
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.service-card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--gray);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 860px;
  margin: 0 auto 20px;
}

.industry-item {
  background: var(--white);
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text);
  border: 1px solid var(--gray-light);
}

.industry-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
}

/* ========== BLOG ARCHIVE ========== */
.blog-archive {
  padding: 80px 0;
}

.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

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

.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-pagination .page-numbers {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.blog-pagination .page-numbers.current {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.blog-pagination .page-numbers:hover {
  background: var(--off-white);
}

/* ========== WORKS PAGE ========== */
.works-page {
  padding: 80px 0;
}

.works-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.works-page-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.2s;
}

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

.works-thumb-wrap {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.works-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.works-blur {
  filter: blur(4px);
  transform: scale(1.05);
}

.works-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.works-overlay-label {
  background: rgba(255,255,255,0.95);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.works-thumb-placeholder {
  background: #f3f4f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.works-thumb-placeholder .works-placeholder-label {
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
}

.works-thumb-placeholder .works-placeholder-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.works-page-body {
  padding: 24px;
}

.works-page-type {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.works-page-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.works-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.works-tag {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.78rem;
  color: var(--text);
}

.works-page-note {
  font-size: 0.82rem;
  color: var(--gray);
}

.works-page-note-global {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray);
  max-width: 900px;
  margin: 0 auto;
}

/* ========== MISSION CONCEPT ========== */
.mission-concept {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  padding: 40px 32px;
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--gray-light);
}

.mission-concept-main {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 14px;
}

.mission-concept-sub {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ========== ABOUT PAGE ========== */
.about-hero {
  background: url('images/about-hero.jpg') center center / cover no-repeat;
  position: relative;
}

.about-hero .container {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.page-hero-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ========== PRICE PAGE ========== */
.price-page-section {
  padding: 80px 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 32px;
  border-left: 4px solid var(--accent);
}

.faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.faq-q::before {
  content: 'Q. ';
  color: var(--accent);
}

.faq-a {
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--text);
}

.faq-a::before {
  content: 'A. ';
  font-weight: 700;
  color: var(--navy);
}

/* ========== MONTHLY SUB / MIN TERM ========== */
.monthly-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--navy);
  opacity: 0.75;
}

.price-min-term {
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.5;
  text-align: left;
}

/* ========== SERVER & DOMAIN ========== */
.server-domain {
  padding: 80px 0;
}

.sd-lead {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 36px;
}

.sd-manga {
  max-width: 720px;
  margin: 0 auto 40px;
}

.sd-manga img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.sd-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto 32px;
}

.sd-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.sd-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.sd-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.sd-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text);
}

.sd-card code {
  background: var(--off-white);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--navy);
}

.sd-cost {
  margin-top: 14px !important;
  font-size: 0.82rem !important;
  color: var(--gray) !important;
  font-weight: 600;
}

.sd-summary {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
  text-align: center;
}

.sd-relief {
  max-width: 760px;
  margin: 0 auto;
  background: #eef4ff;
  border-radius: 12px;
  padding: 28px 32px;
}

.sd-relief-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1rem;
}

.sd-relief p:last-child {
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--text);
}

.sd-blog-link {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text);
  margin: 0 auto;
  max-width: 720px;
}

.sd-link-btn {
  display: inline-block;
  margin-top: 16px;
  background: var(--navy);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.sd-link-btn:hover {
  opacity: 0.85;
}

/* ========== MAINTENANCE ========== */
.maintenance-detail {
  padding: 80px 0;
}

.maintenance-intro {
  max-width: 760px;
  margin: 0 auto 48px;
  background: #eef4ff;
  border-radius: 12px;
  padding: 28px 32px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
}

.maintenance-table-wrap {
  max-width: 860px;
  margin: 0 auto 56px;
  overflow-x: auto;
}

.maintenance-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.maintenance-table th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}

.maintenance-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-light);
  color: var(--text);
  vertical-align: top;
}

.maintenance-table tr:nth-child(even) td {
  background: var(--off-white);
}

.maintenance-note {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 12px;
  text-align: right;
}

.maintenance-flow {
  max-width: 760px;
  margin: 0 auto;
}

.maintenance-flow-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  text-align: center;
}

.maintenance-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.maintenance-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--off-white);
  border-radius: 12px;
  padding: 24px;
}

.mstep-num {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.mstep-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.mstep-body p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text);
}

.maintenance-emergency {
  text-align: center;
  font-size: 0.88rem;
  color: var(--gray);
  background: var(--off-white);
  border-radius: 8px;
  padding: 14px;
}

/* ========== MISSION ========== */
.mission {
  background: var(--white);
  padding-bottom: 48px;
}

.mission-card {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.mission-photo {
  overflow: hidden;
}

.mission-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mission-content {
  background: var(--navy);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-quote {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mission-body p {
  font-size: 0.95rem;
  line-height: 2;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

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

/* ========== CREATOR ========== */
.creator {
  background: var(--white);
}

.creator-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.creator-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
}

.creator-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.creator-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.3;
}

.creator-name span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray);
}

.creator-text p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 2;
  margin-bottom: 16px;
}

.creator-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.creator-tag {
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.creator-hours {
  display: inline-block;
  background: var(--off-white);
  border-left: 3px solid var(--accent);
  padding: 10px 16px;
  font-size: 0.85rem !important;
  color: var(--navy) !important;
  font-weight: 600;
  margin-top: 8px;
}

.principles {
  background: var(--off-white);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.principle-card {
  border-radius: 12px;
  padding: 36px 28px;
  border-top: 4px solid var(--accent);
  transition: transform 0.2s, box-shadow 0.2s;
}

.principle-card:nth-child(1) {
  background: #e8f4fd;
  border-top-color: #3498db;
}

.principle-card:nth-child(2) {
  background: #e8f8f0;
  border-top-color: #2ecc71;
}

.principle-card:nth-child(3) {
  background: #fef3e8;
  border-top-color: #e67e22;
}

.principle-card:nth-child(4) {
  background: #f5eef8;
  border-top-color: #9b59b6;
}

.principle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.principle-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: #b0b8c8;
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.principle-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.5;
}

.principle-sub {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.principle-card p:last-child {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.9;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .global-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
  }

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

  .global-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }

  .global-nav li { border-bottom: 1px solid var(--gray-light); }
  .global-nav li:last-child { border-bottom: none; }

  .global-nav a {
    display: block;
    padding: 15px 4px;
    font-size: 1rem;
  }

  .global-nav .header-cta {
    display: block;
    text-align: center;
    margin-top: 14px;
    padding: 14px;
  }

  .hero { padding: 60px 0 50px; }

  .contact-form-wrap { padding: 32px 20px; }

  .mission-card { grid-template-columns: 1fr; }
  .mission-photo img { height: 240px; }
  .mission-content { padding: 36px 28px; }
  .creator-inner { grid-template-columns: 1fr; gap: 32px; }
  .creator-photo img { height: 260px; }
  .principles-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; }

  .contact-greeting { gap: 14px; }
  .contact-avatar { width: 90px; height: 90px; }
  .contact-balloon p { font-size: 0.88rem; }

  .blog-grid { grid-template-columns: 1fr; }

  .pricing-grid--two { grid-template-columns: 1fr; }
  .sd-cards { grid-template-columns: 1fr; }
  .target-grid { grid-template-columns: 1fr 1fr; }
  .service-cards { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .commitment-item { flex-direction: column; gap: 12px; }
}
