@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --primary:        #1B4FD8;
  --primary-dark:   #1238B2;
  --primary-light:  #EFF6FF;
  --accent:         #059669;
  --accent-dark:    #047857;
  --text-dark:      #0F172A;
  --text-medium:    #334155;
  --text-light:     #64748B;
  --bg-white:       #FFFFFF;
  --bg-light:       #F8FAFC;
  --bg-section:     #F1F5F9;
  --border:         #E2E8F0;
  --font:           'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
  --container:      1200px;
  --section-v:      80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-heading { text-align: center; margin-bottom: 52px; }
.section-heading h2 { font-size: 2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; line-height: 1.3; }
.section-heading p { font-size: 0.975rem; color: var(--text-light); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.features-section { text-align: center; }
.work-types-section { text-align: center; }
.how-section { text-align: center; }
.plans-section { text-align: center; }
.news-section { text-align: center; }
.faq-section { text-align: center; }
.stats-section { text-align: center; }
.about-section .about-content { text-align: center; }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9375rem;
  font-family: var(--font);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  text-align: center;
}
.btn-primary { background-color: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background-color: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { background-color: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background-color: var(--primary); color: #fff; }
.btn-white { background-color: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background-color: var(--bg-light); border-color: var(--bg-light); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-full { width: 100%; }

.img-ph {
  background-color: var(--bg-section);
  border: 2px dashed var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.8125rem;
}
.img-ph svg { opacity: 0.45; }

.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.header-tagline {
  font-size: 0.8125rem;
  color: var(--text-light);
}

.hero-section {
  background-color: var(--primary-light);
  padding: var(--section-v) 0 64px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-content h1 {
  font-size: 2.625rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero-content h1 span { color: var(--primary); }
.hero-content p {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.75;
  margin-bottom: 32px;
}
.hero-image {
  height: 380px;
  background-color: var(--bg-section);
  border-radius: 12px;
  overflow: hidden;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.about-image,
.work-types-image {
  background-color: var(--bg-section);
  border-radius: 12px;
  overflow: hidden;
}
.about-image img,
.work-types-image img { width: 100%; height: 100%; object-fit: cover; }

.news-card-image {
  height: 200px;
  background-color: var(--bg-section);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }

.features-section {
  background-color: var(--bg-white);
  padding: var(--section-v) 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background-color: var(--bg-light);
  border-radius: 14px;
  padding: 32px 22px;
  text-align: center;
}
.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}
.feature-card h3 { font-size: 0.975rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.feature-card p { font-size: 0.8375rem; color: var(--text-light); line-height: 1.65; }

.work-types-section {
  background-color: var(--bg-section);
  padding: var(--section-v) 0;
}
.work-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.work-type-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--border);
}
.work-type-icon {
  width: 46px;
  height: 46px;
  background-color: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.work-type-card h3 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 5px; color: var(--text-dark); }
.work-type-card p { font-size: 0.8rem; color: var(--text-light); line-height: 1.55; }
.work-types-image { height: 260px; }

.how-section {
  background-color: var(--primary);
  padding: var(--section-v) 0;
}
.how-section .section-heading h2 { color: #fff; }
.how-section .section-heading p { color: rgba(255,255,255,0.72); }
.how-section .section-label { color: #34D399; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card { text-align: center; }
.step-number {
  width: 58px;
  height: 58px;
  background-color: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.38);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 20px;
}
.step-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step-card p { font-size: 0.875rem; color: rgba(255,255,255,0.72); line-height: 1.65; }

.plans-section {
  background-color: var(--bg-light);
  padding: var(--section-v) 0;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.plan-card {
  background-color: var(--bg-white);
  border-radius: 14px;
  padding: 32px 22px;
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-card.featured { border-color: var(--primary); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-name { font-size: 0.975rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.plan-price { font-size: 1.875rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.plan-price sup { font-size: 1rem; vertical-align: super; }
.plan-price-period { font-size: 0.8125rem; color: var(--text-light); margin-bottom: 22px; }
.plan-features { flex: 1; margin-bottom: 24px; }
.plan-features li {
  font-size: 0.84rem;
  color: var(--text-medium);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.5;
}
.plan-features li::before {
  content: '';
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background-color: var(--accent);
  margin-top: 5px;
}

.stats-section {
  background-color: #0F172A;
  padding: 72px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #34D399;
  margin-bottom: 8px;
  line-height: 1.1;
}
.stat-item p { font-size: 0.875rem; color: rgba(255,255,255,0.6); font-weight: 500; }

.about-section {
  background-color: var(--bg-white);
  padding: var(--section-v) 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-content .section-label { margin-bottom: 12px; }
.about-content h2 { font-size: 1.875rem; font-weight: 700; color: var(--text-dark); margin-bottom: 18px; line-height: 1.35; }
.about-content p { font-size: 0.95rem; color: var(--text-medium); line-height: 1.8; margin-bottom: 16px; }
.about-image { height: 360px; }

.news-section {
  background-color: var(--bg-section);
  padding: var(--section-v) 0;
}
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.news-card-image {
  height: 180px;
  background-color: #E2E8F0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.8rem;
  border-bottom: 1px dashed var(--border);
}
.news-card-image svg { opacity: 0.4; }
.news-card-body { padding: 20px; }
.news-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.news-category {
  font-size: 0.72rem;
  font-weight: 700;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
}
.news-date { font-size: 0.75rem; color: var(--text-light); }
.news-card h3 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 8px; line-height: 1.5; color: var(--text-dark); }
.news-card p { font-size: 0.8125rem; color: var(--text-light); line-height: 1.65; margin-bottom: 14px; }
.read-more { font-size: 0.8125rem; font-weight: 700; color: var(--primary); }
.read-more:hover { text-decoration: underline; }

.faq-section {
  background-color: var(--bg-white);
  padding: var(--section-v) 0;
}
.faq-list { max-width: 800px; margin: 0 auto; }
details.faq-item { border-bottom: 1px solid var(--border); }
details.faq-item:first-child { border-top: 1px solid var(--border); }
details.faq-item summary {
  padding: 20px 0;
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon-plus,
.faq-icon-minus { color: var(--primary); font-size: 1.5rem; font-weight: 300; line-height: 1; flex-shrink: 0; }
.faq-icon-minus { display: none; }
details.faq-item[open] .faq-icon-plus { display: none; }
details.faq-item[open] .faq-icon-minus { display: inline; }
.faq-answer { padding: 0 0 20px; font-size: 0.9rem; color: var(--text-medium); line-height: 1.8; }

.contacts-section {
  background-color: var(--primary);
  padding: var(--section-v) 0;
}
.contacts-section .section-heading h2 { color: #fff; }
.contacts-section .section-heading p { color: rgba(255,255,255,0.72); }
.contacts-section .section-label { color: #34D399; }
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.contact-item {
  background-color: rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
}
.contact-icon {
  width: 58px;
  height: 58px;
  background-color: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #fff;
}
.contact-item h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.contact-item a,
.contact-item address {
  font-size: 0.975rem;
  color: #fff;
  font-style: normal;
  line-height: 1.55;
}
.contact-item a:hover { text-decoration: underline; }

.site-footer {
  background-color: #0F172A;
  padding: 52px 0 32px;
  color: #fff;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer-brand .logo-link { margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.65; max-width: 380px; }
.footer-links h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links ul a { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.footer-links ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.copyright { font-size: 0.8rem; color: rgba(255,255,255,0.38); }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: #fff;
  padding: 28px 24px;
  display: none;
  flex-direction: column;
  gap: 20px;
  z-index: 1000;
  font-size: 0.875rem;
  line-height: 1.65;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}
.cookie-banner.show { display: flex; }
.cookie-banner-content { flex: 1; }
.cookie-banner-text h3 { margin: 0 0 8px 0; font-size: 1rem; font-weight: 700; }
.cookie-banner-text p { margin: 0; }
.cookie-banner-link { color: #34D399; text-decoration: underline; }
.cookie-banner-link:hover { color: #5EEAD4; }

.cookie-banner-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cookie-option input[type="checkbox"] {
  margin-top: 4px;
  cursor: pointer;
  accent-color: #34D399;
}
.cookie-option label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
}
.cookie-option strong { font-size: 0.875rem; font-weight: 600; }
.cookie-option span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner-actions button,
.cookie-banner-save button {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  transition: background-color 0.2s;
}
.cookie-btn-accept {
  background-color: #34D399;
  color: var(--text-dark);
}
.cookie-btn-accept:hover { background-color: #5EEAD4; }
.cookie-btn-decline {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.cookie-btn-decline:hover { background-color: rgba(255,255,255,0.1); }
.cookie-btn-customize {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.cookie-btn-customize:hover { background-color: rgba(255,255,255,0.1); }

.site-footer {
  background-color: var(--text-dark);
  color: #fff;
  padding: 64px 0 24px;
  margin-top: 100px;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}
.footer-col p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin: 0;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #34D399; }
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cookie-banner { flex-direction: column; padding: 20px; }
  .cookie-banner-actions { flex-direction: column; width: 100%; }
  .cookie-banner-actions button { width: 100%; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .work-types-grid { grid-template-columns: 1fr; }
  .work-types-inner { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .cookie-banner-options { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --section-v: 56px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.875rem; }
  .hero-image { height: 240px; }
  .work-types-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-image { height: 240px; }
  .news-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .work-types-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-content h1 { font-size: 1.625rem; }
  .section-heading h2 { font-size: 1.5rem; }
}
