:root {
  --primary: #4A90E2; /* Clean Cerulean */
  --primary-dark: #357ABD;
  --accent: #F8A055; /* Warm Sunset Orange/Gold */
  --bg-color: #FAFCFF; /* Very soft blue-tinted white */
  --bg-light: #F4F7FB;
  --text-main: #333842;
  --text-muted: #6B7280;
  --border-radius: 12px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 30, 80, 0.1);
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Jost', sans-serif;
  --font-serif: 'Shippori Mincho', serif;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-jp);
  line-height: 1.8;
  letter-spacing: 0.03em;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul { list-style: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide { max-width: 1300px; }
.w-100 { width: 100%; display: block; text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Utilities */
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.align-center { align-items: center; }
.section { padding: 7rem 0; }
.bg-light { background-color: var(--bg-light); border-top: 1px solid #EAF0F6; border-bottom: 1px solid #EAF0F6; }

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 8px; /* Professional slightly rounded edge */
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 252, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.navbar.is-scrolled {
  background: rgba(250, 252, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 0.8rem 0; /* Slightly thinner on scroll */
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
}
.logo:hover {
  opacity: 0.8;
}
.brand-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.v-tag {
  font-family: var(--font-en);
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 1px;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-family: var(--font-en); font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.nav-links a:hover { color: var(--primary); }
.btn-nav {
  font-family: var(--font-jp) !important;
  background: #fff;
  border: 1px solid var(--primary);
  color: var(--primary) !important;
  padding: 0.4rem 1.2rem;
  border-radius: 6px;
}
.btn-nav:hover { background: var(--primary); color: #fff !important; }

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Soft gradient overlay so text is highly readable but image is visible */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(250, 252, 255, 0.95) 10%, rgba(250, 252, 255, 0.7) 60%, rgba(250, 252, 255, 0) 100%);
}

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

.hero-box {
  max-width: 600px;
  animation: fadeIn 1s ease forwards;
}

.hero-subtitle {
  font-family: var(--font-en);
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-price {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
}
.hero-price .label { font-size: 0.8rem; font-family: var(--font-en); font-weight: 700; color: var(--text-muted); }
.hero-price .price { font-size: 1.8rem; font-family: var(--font-en); font-weight: 700; color: var(--primary-dark); line-height: 1; }

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title .eng {
  font-family: var(--font-en);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.5rem;
}
.section-title h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}
.feature-card {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Zigzag Cards (Value Section) */
.zigzag-features {
  display: flex;
  flex-direction: column;
  gap: 5rem; /* 読みやすさを重視した適切な間隔 */
  max-width: 1100px;
  margin: 0 auto;
}
.zigzag-card {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #fff 0%, var(--bg-color) 100%);
  border-radius: 20px; /* より柔らかい角丸 */
  box-shadow: 0 10px 40px rgba(0, 30, 80, 0.05); /* よりソフトな浮遊感 */
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.zigzag-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 30, 80, 0.1);
}
.zigzag-card:nth-child(even) {
  flex-direction: row-reverse;
}
.zigzag-img {
  flex: 0 0 40%; /* 視覚的アクセントとして適切な比率 */
  min-height: 320px; /* 高さを抑えてメッセージを主役に */
  overflow: hidden;
  position: relative;
}
.zigzag-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.zigzag-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.1), transparent);
}
.zigzag-card:hover .zigzag-img img {
  transform: scale(1.08); /* 奥行きを感じさせる拡大 */
}
.zigzag-body {
  flex: 0 0 60%;
  padding: 3.5rem; /* テキストに集中できる余白量 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.zigzag-body h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.5rem;
  line-height: 1.4;
}
.zigzag-body p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 2; /* 読みやすさを極める */
  letter-spacing: 0.04em;
}
.feature-img-box { margin-bottom: 1.5rem; }
.feature-img-box .icon { font-size: 2.5rem; color: var(--accent); }
.feature-text h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--text-main); }
.feature-text p { font-size: 0.95rem; color: var(--text-muted); text-align: left; }

/* Pricing Card (robust layout) */
.pricing-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-main {
  flex: 1;
  padding: 4rem;
  background: #fff;
  position: relative;
}

.badge {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.pricing-main h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.pricing-main .pricing-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }
.price-val { font-family: var(--font-en); font-size: 3.5rem; font-weight: 700; color: var(--primary-dark); line-height: 1; margin-bottom: 0.5rem; }
.price-val .tax { font-size: 1rem; font-weight: normal; font-family: var(--font-jp); color: var(--text-muted); }
.pricing-main .note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2rem; }

.pricing-details {
  flex: 1;
  background: var(--bg-light);
  padding: 4rem;
  border-left: 1px solid #EAF0F6;
}

.pricing-details h4 { font-size: 1.1rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--primary); padding-bottom: 0.5rem; display: inline-block; }
.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}

.option-box {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px dashed var(--primary);
}
.option-box .opt-price { color: var(--accent); font-weight: 700; font-family: var(--font-en); font-size: 1.2rem; }
.option-box p { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; }

/* Works Card */
.work-card {
  display: flex;
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.work-image { flex: 1; overflow: hidden; }
.work-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: 0.5s; }
.work-card:hover .work-image img { transform: scale(1.03); }
.work-info { flex: 1; padding: 4rem; }
.work-tag { font-family: var(--font-en); color: var(--accent); font-weight: 700; font-size: 0.8rem; margin-bottom: 0.5rem; }
.work-info h3 { font-size: 2rem; margin-bottom: 1.5rem; }
.work-info p { color: var(--text-muted); margin-bottom: 2rem; }
.text-link { color: var(--primary); font-weight: 700; }
.text-link:hover { text-decoration: underline; }


/* Contact Area */
.contact-section { padding-bottom: 8rem; }
.contact-wrapper {
  background: var(--bg-color); /* Matches body, just spacing */
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.contact-title { font-family: var(--font-serif); font-size: 2.2rem; margin-bottom: 1rem; }
.contact-lead { color: var(--text-muted); margin-bottom: 3rem; }

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.btn-contact {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 350px;
}
.btn-contact:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.btn-contact .icon { font-size: 2rem; margin-right: 1.5rem; }
.btn-contact .text { font-weight: 700; color: var(--text-main); transition: color 0.3s; }

/* Contact Priority */
.btn-contact-primary {
  background: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}
.btn-contact-primary .text { color: #fff; }
.btn-contact-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.btn-contact-secondary {
  background: #fff;
  border: 1px solid #EAF0F6;
}
.btn-contact-secondary:hover {
  border-color: var(--primary);
}
.btn-contact-secondary:hover .text {
  color: var(--primary);
}


/* Footer */
.footer {
  background: #fff;
  padding: 3rem 0;
  border-top: 1px solid #EAF0F6;
}
.footer-logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; color: var(--text-muted); }
.footer-links a { color: var(--primary); font-size: 0.9rem; margin: 0 1rem; }
.copyright { font-size: 0.8rem; color: var(--text-muted); }


/* Animations */
.fade-in { opacity: 0; animation: fadeIn 1s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.auto-show { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.auto-show.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive Adjustments */
@media (max-width: 900px) {
  .hero-bg::after { background: linear-gradient(to bottom, rgba(250, 252, 255, 0.9) 30%, rgba(250, 252, 255, 0.7) 100%); }
  .hero .container { text-align: center; }
  .hero-title { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; align-items: center; gap: 1.5rem; }
  .hero-price { border-left: none; border-top: 2px solid var(--accent); padding-left: 0; padding-top: 1rem; text-align: center; }

  .pricing-card, .work-card { flex-direction: column; }
  .pricing-main, .pricing-details, .work-info { padding: 2.5rem; }
  .pricing-details { border-left: none; border-top: 1px solid #EAF0F6; }
  
  .zigzag-card { flex-direction: column !important; }
  .zigzag-img { width: 100%; min-height: 250px; }
  .zigzag-body { padding: 2.5rem; }
  
  .nav-links { display: none; }
  
  .mobile-col { flex-direction: column; gap: 1rem; text-align: center; }
}
