/* T2L Corporate Site - Design System */
:root {
  --c-primary: #1B4F72;
  --c-primary-dark: #154360;
  --c-accent: #D35400;
  --c-accent-dark: #A04000;
  --c-success: #52BE80;
  --c-bg: #FDFBF7;
  --c-bg-alt: #F4EFE6;
  --c-text: #2C3E50;
  --c-text-sub: #5D6D7E;
  --c-border: #D5D8DC;
  --c-white: #FFFFFF;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --max-w: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "UD デジタル 教科書体 N-B", "Noto Sans JP", sans-serif;
  color: var(--c-primary);
  line-height: 1.4;
  font-weight: 700;
}
h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.75rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent); }
ul, ol { margin: 0 0 1rem 1.5rem; }
li { margin-bottom: 0.25rem; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: "UD デジタル 教科書体 N-B", sans-serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--c-primary);
}
.logo .accent { color: var(--c-accent); }
.nav { display: flex; gap: 1.5rem; }
.nav a {
  color: var(--c-text); font-size: 0.95rem; font-weight: 500;
  padding: 0.5rem 0; position: relative;
}
.nav a:hover { color: var(--c-accent); }
.nav-cta {
  background: var(--c-accent); color: var(--c-white) !important;
  padding: 0.5rem 1rem !important; border-radius: var(--radius);
}
.nav-cta:hover { background: var(--c-accent-dark); color: var(--c-white) !important; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: var(--c-white);
  padding: 5rem 0 4rem;
  text-align: center;
}
.hero h1 { color: var(--c-white); font-size: 2.75rem; margin-bottom: 1.5rem; }
.hero .sub {
  font-size: 1.15rem; max-width: 720px; margin: 0 auto 2rem;
  opacity: 0.95; line-height: 1.8;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.875rem 1.75rem;
  border-radius: var(--radius); font-weight: 600;
  font-size: 1rem; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--c-accent); color: var(--c-white) !important;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--c-accent-dark); color: var(--c-white) !important; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--c-white) !important;
  border: 2px solid var(--c-white);
}
.btn-secondary:hover { background: var(--c-white); color: var(--c-primary) !important; }
.btn-outline {
  background: transparent; color: var(--c-primary) !important;
  border: 2px solid var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary); color: var(--c-white) !important; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--c-bg-alt); }
.section-title {
  text-align: center; margin-bottom: 3rem;
}
.section-title h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.section-title .lead { color: var(--c-text-sub); font-size: 1.05rem; }

/* Feature grid (3 column) */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.feature {
  background: var(--c-white); padding: 2rem 1.5rem;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  text-align: center; border: 1px solid var(--c-border);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.feature h3 { color: var(--c-primary); }

/* Product grid */
.products {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--c-white); border-radius: var(--radius);
  padding: 1.75rem; border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-md);
  border-color: var(--c-accent);
}
.product-card .tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  padding: 0.2rem 0.6rem; border-radius: 999px;
  background: var(--c-bg-alt); color: var(--c-primary);
  margin-bottom: 0.75rem; align-self: flex-start;
}
.product-card .tag.new { background: var(--c-accent); color: var(--c-white); }
.product-card h3 { color: var(--c-primary); font-size: 1.25rem; margin-bottom: 0.5rem; }
.product-card .desc { color: var(--c-text-sub); font-size: 0.95rem; flex-grow: 1; }
.product-card .more { margin-top: 1rem; font-weight: 600; color: var(--c-accent); }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  text-align: center;
}
.stat-num {
  font-size: 2.5rem; font-weight: 700; color: var(--c-accent);
  font-family: "UD デジタル 教科書体 N-B", sans-serif;
}
.stat-label { color: var(--c-text-sub); font-size: 0.9rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-dark) 100%);
  color: var(--c-white); padding: 3rem 0; text-align: center;
}
.cta-band h2 { color: var(--c-white); }
.cta-band p { font-size: 1.1rem; margin-bottom: 1.5rem; }

/* Tables */
.price-table {
  width: 100%; border-collapse: collapse; background: var(--c-white);
  box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden;
  margin-bottom: 2rem;
}
.price-table th, .price-table td {
  padding: 1rem; text-align: left; border-bottom: 1px solid var(--c-border);
}
.price-table th {
  background: var(--c-primary); color: var(--c-white);
  font-weight: 600;
}
.price-table td.num { text-align: right; font-weight: 600; color: var(--c-accent); }
.price-table tr:last-child td { border-bottom: none; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-weight: 600; margin-bottom: 0.4rem;
  color: var(--c-primary);
}
.form-group .required { color: var(--c-accent); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.75rem;
  border: 1px solid var(--c-border); border-radius: var(--radius);
  font-family: inherit; font-size: 1rem;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(27,79,114,.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Content pages */
.page-hero {
  background: var(--c-primary); color: var(--c-white);
  padding: 3rem 0; text-align: center;
}
.page-hero h1 { color: var(--c-white); margin-bottom: 0.5rem; }
.page-hero p { font-size: 1.05rem; opacity: 0.9; margin: 0; }

.content {
  max-width: 820px; margin: 0 auto;
}
.content h2 {
  margin-top: 2.5rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--c-accent);
}
.content h3 { margin-top: 2rem; }
.content ul, .content ol { margin: 0 0 1.5rem 1.5rem; }
.content .info-box {
  background: var(--c-bg-alt); border-left: 4px solid var(--c-accent);
  padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

/* Footer */
.site-footer {
  background: var(--c-primary-dark); color: var(--c-white);
  padding: 3rem 0 1.5rem; margin-top: 4rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .logo { color: var(--c-white); margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; opacity: 0.85; }
.footer-col h4 {
  color: var(--c-white); font-size: 0.95rem; margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--c-white); opacity: 0.85; font-size: 0.9rem;
}
.footer-col a:hover { opacity: 1; color: var(--c-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem;
  text-align: center; font-size: 0.85rem; opacity: 0.75;
}

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .hero { padding: 3rem 0; }
  .hero h1 { font-size: 2rem; }
  .features, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.badge {
  display: inline-block; padding: 0.2rem 0.6rem;
  font-size: 0.8rem; font-weight: 600; border-radius: 4px;
  background: var(--c-success); color: var(--c-white);
}
