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

/* ===== CSS Variables ===== */
:root {
  --color-navy:   #1F3A5F;
  --color-gray:   #F4F6F8;
  --color-orange: #F2A03D;
  --color-text:   #333333;
  --color-white:  #FFFFFF;
  --font-base: 'Noto Sans JP', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

section { padding: 80px 0; }

/* ===== Typography ===== */
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.4;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-orange);
  margin: 16px auto 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-base);
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .15s;
  text-align: center;
}

.btn:hover { opacity: .85; transform: translateY(-2px); }

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

.btn-outline:hover { background: rgba(255,255,255,.15); }

/* ===== Header ===== */
.site-header {
  background: var(--color-navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.site-logo a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: .05em;
}

.site-nav { display: flex; align-items: center; gap: 8px; }

.site-nav a {
  color: var(--color-white);
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background .2s;
}

.site-nav a:hover { background: rgba(255,255,255,.12); }

.site-nav .nav-contact {
  background: var(--color-orange);
  color: var(--color-white);
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700;
}

.site-nav .nav-contact:hover { background: #e08c28; }

/* ===== Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: transform .3s, opacity .3s;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--color-navy);
  padding: 16px 24px 24px;
}

.mobile-nav.is-open { display: block; }

.mobile-nav a {
  display: block;
  color: var(--color-white);
  font-size: 1rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav .nav-contact {
  display: block;
  margin-top: 16px;
  background: var(--color-orange);
  text-align: center;
  padding: 14px;
  border-radius: 4px;
  font-weight: 700;
  border-bottom: none;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 48px 0 24px;
}

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

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: .9rem;
  opacity: .75;
  margin-bottom: 32px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 32px;
}

.footer-nav a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  transition: color .2s;
}

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

.footer-copy {
  font-size: .8rem;
  opacity: .6;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(31, 58, 95, .6);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  max-width: 700px;
  padding: 80px 24px;
  margin: 0 auto 0 calc((100vw - 1100px) / 2);
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.hero-lead {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 36px;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}

/* ===== Services Grid ===== */
.services-section { background: var(--color-gray); }

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

.service-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
}

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

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 20px;
}

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

.services-cta { text-align: center; }

/* ===== Reasons ===== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.reason-card {
  background: var(--color-gray);
  border-radius: 8px;
  padding: 36px 28px;
  position: relative;
}

.reason-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 16px;
}

.reason-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.5;
}

/* ===== Works Pickup ===== */
.works-pickup { background: var(--color-gray); }

.works-pickup-body {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.works-pickup-text { flex: 1; min-width: 280px; }

.works-pickup-text p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 32px;
}

.works-pickup-image { flex: 1; min-width: 280px; }

.works-pickup-image img { border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.12); }

/* ===== CTA Banner ===== */
.cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0;
  text-align: center;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(31, 58, 95, .72);
}

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

.cta-banner h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.5;
}

.cta-banner p {
  color: rgba(255,255,255,.9);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 64px 0;
  text-align: center;
}

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

.page-hero p {
  font-size: 1rem;
  opacity: .85;
}

/* ===== Service Page ===== */
.service-item {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding: 60px 0;
  border-bottom: 1px solid #e8ecf0;
}

.service-item:last-of-type { border-bottom: none; }

.service-item:nth-child(even) { flex-direction: row-reverse; }

.service-item-image { flex: 0 0 120px; }

.service-item-image img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.service-item-body { flex: 1; }

.service-item-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.service-item-body p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 24px;
  color: var(--color-text);
}

.service-item-body ul {
  margin-bottom: 28px;
  padding-left: 0;
}

.service-item-body ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 1rem;
}

.service-item-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-orange);
  font-weight: 700;
}

/* ===== Works Page ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.work-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
}

.work-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.14); }

.work-card-img {
  background: var(--color-gray);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #c0cdd8;
}

.work-card-body { padding: 24px; }

.work-card-category {
  font-size: .8rem;
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}

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

.work-card-body p {
  font-size: .95rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===== About Page ===== */
.about-message {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.about-message-image { flex: 1; min-width: 280px; }

.about-message-image img { border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.12); }

.about-message-text { flex: 1; min-width: 280px; }

.about-message-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.5;
  margin-bottom: 24px;
}

.about-message-text p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.strength-card {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
}

.strength-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.strength-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.strength-card p {
  font-size: .9rem;
  opacity: .85;
  line-height: 1.7;
}

.company-table-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 32px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.company-table th,
.company-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid #e8ecf0;
  vertical-align: top;
  line-height: 1.7;
}

.company-table th {
  width: 200px;
  color: var(--color-navy);
  font-weight: 700;
  background: var(--color-gray);
}

/* ===== Contact Page ===== */
.contact-info {
  background: var(--color-gray);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 48px;
}

.contact-info h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.contact-info p { font-size: 1rem; line-height: 1.8; }

.contact-form { max-width: 700px; }

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

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: .95rem;
}

.form-required {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: .7rem;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #d8dfe7;
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color .2s;
  -webkit-appearance: none;
}

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

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

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

.form-submit .btn {
  padding: 18px 60px;
  font-size: 1.05rem;
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mb-0 { margin-bottom: 0; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  section { padding: 60px 0; }

  .section-title { font-size: 1.4rem; }

  /* Header */
  .site-nav { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { min-height: 480px; }
  .hero-content { padding: 60px 24px; margin-left: 0; }
  .hero-title { font-size: 1.5rem; }
  .hero-lead { font-size: .95rem; }

  /* Grids → single column */
  .services-grid,
  .reasons-grid,
  .works-grid,
  .strengths-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Works pickup */
  .works-pickup-body { flex-direction: column; gap: 32px; }

  /* Service item */
  .service-item,
  .service-item:nth-child(even) { flex-direction: column; gap: 24px; }

  /* About message */
  .about-message { flex-direction: column; gap: 32px; }

  /* Company table */
  .company-table th { width: 120px; }

  /* CTA Banner */
  .cta-banner { background-attachment: scroll; padding: 70px 0; }
  .cta-banner h2 { font-size: 1.3rem; }

  /* Page hero */
  .page-hero { padding: 48px 0; }
  .page-hero h1 { font-size: 1.5rem; }

  /* Buttons */
  .btn { padding: 14px 28px; }
}
