/*
Theme Name: TIC Corporate Theme
Theme URI: https://example.com
Author: OpenAI
Description: TIC corporate WordPress theme converted from HTML site.
Version: 1.0
*/


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  transition: transform 0.3s ease;
}
body.menu-open {
	left: -180px;
    right: 180px;
    position: absolute;
}

body.menu-open .side-menu {
    right: 0;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -180px;
  width: 180px;
  height: 100%;
  background-color: #171717;
  color: white;
  overflow-x: hidden;
  overflow-y: auto;
  transition: transform 0.3s ease;
  z-index: 1001;
}
.side-menu .menu{
  position: sticky;
  top: 0;
}
.side-menu a {
  display: block;
  padding: 5px 10px;
  color: white;
  text-decoration: none;
}

.side-menu a:hover {
  background-color: #575757;
}

a { color: inherit; text-decoration: none; }
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  height:75px;
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #c20f2f, #ff5b72);
  color: #fff;
  box-shadow: 0 10px 24px rgba(194, 15, 47, 0.2);
}
.nav {
  display: flex;
  gap: 24px;
  font-size: 0.96rem;
  flex-wrap: wrap;
}
.nav .menu{
  list-style: none; 
  padding: 0;      
  margin: 0;        
  display: flex;    
  gap: 20px;     
}

.nav a:hover,
.mobile-nav a:hover,
.footer-nav a:hover,
.contact-links a:hover {
  color: #c20f2f;
}
.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.hero {
  padding: 88px 0 74px;
  background:
    radial-gradient(circle at top right, rgba(255, 91, 114, 0.16), transparent 34%),
    linear-gradient(180deg, #fff7f8 0%, #ffffff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: #c20f2f;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.18;
}
.lead {
  margin: 0;
  font-size: 1.06rem;
  color: #4a4a4a;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: #c20f2f;
  color: #fff;
  box-shadow: 0 12px 24px rgba(194, 15, 47, 0.18);
}
.btn.secondary {
  border: 1px solid #d6d6d6;
  background: #fff;
}
.hero-card {
  display: grid;
  gap: 16px;
}
.stat-box,
.card,
.info-box,
.contact-box,
.about-box,
.company-table-wrap,
.strength-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}
.stat-title {
  display: inline-block;
  margin-bottom: 10px;
  color: #c20f2f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.stat-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.page-hero {
  padding: 68px 0 34px;
  background: linear-gradient(180deg, #fff7f8 0%, #ffffff 100%);
}
@media (max-width: 768px) {
 .page-hero {
   padding: 5px 0 34px;
 }
}
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}
.breadcrumb {
  margin: 0 0 8px;
  color: #888;
  font-size: 0.92rem;
}

.section { padding: 44px 0 78px; }
.section-head { margin-bottom: 24px; }
.section h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card h3,
.strength-item h3,
.info-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.strength-item span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff2f4;
  color: #c20f2f;
  font-weight: 800;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #efefef;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 180px;
  color: #555;
  font-weight: 700;
}
.contact-links a {
  color: #c20f2f;
}
.note {
  color: #777;
  font-size: 0.95rem;
}
.site-footer {
  padding: 28px 0;
  background: #171717;
  color: #fff;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .nav { display: none; }
  .menu-btn { display: inline-block; }
}
@media (max-width: 640px) {
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .company-table th {
    padding-bottom: 6px;
    border-bottom: 0;
  }
  .company-table td { padding-top: 0; }
  .footer-wrap {
    flex-direction: column;
  }
}
