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

body{
  font-family:
  "Yu Gothic",
  "Hiragino Kaku Gothic ProN",
  sans-serif;

  line-height:1.8;
  color:#222;
  background:#fff;
}

.container{
  width:90%;
  max-width:1100px;
  margin:auto;
}

header{
  background:#0d1b2a;
  color:#fff;
  position:fixed;
  width:100%;
  z-index:1000;
}

.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 0;
}

header h1{
  font-size:1.2rem;
}

nav ul{
  display:flex;
  list-style:none;
  gap:24px;
}

nav a{
  color:#fff;
  text-decoration:none;
}

.hero{
  background:url('../images/hero.jpg') center/cover no-repeat;
  height:100vh;
}

.overlay{
  background:rgba(0,0,0,0.55);
  height:100%;
}

.hero-content{
  color:#fff;
  padding-top:220px;
}

.hero h2{
  font-size:3rem;
  line-height:1.4;
  margin-bottom:20px;
}

.hero p{
  font-size:1.1rem;
  margin-bottom:30px;
}

.btn{
  display:inline-block;
  background:#1b6ca8;
  color:#fff;
  padding:14px 28px;
  text-decoration:none;
  border-radius:4px;
}

.section{
  padding:100px 0;
}

.gray{
  background:#f4f6f8;
}

h3{
  font-size:2rem;
  margin-bottom:40px;
  text-align:center;
}

.lead{
  font-size:1.2rem;
  margin-bottom:30px;
}

.service-grid{
  display:grid;
  grid-template-columns:
  repeat(auto-fit,minmax(240px,1fr));

  gap:24px;
}

.card{
  background:#fff;
  padding:30px;
  border-radius:8px;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.card h4{
  margin-bottom:10px;
}

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

.company-table{
  width:100%;
  border-collapse:collapse;
}

.company-table th,
.company-table td{
  border:1px solid #ddd;
  padding:16px;
}

.company-table th{
  width:30%;
  background:#f4f6f8;
}

.contact-box{
  margin-top:30px;
  text-align:center;
  font-size:1.2rem;
}

footer{
  background:#0d1b2a;
  color:#fff;
  text-align:center;
  padding:40px 0;
}

.copy{
  margin-top:20px;
  font-size:0.9rem;
}

@media(max-width:768px){

  .header-inner{
    flex-direction:column;
    gap:10px;
  }

  nav ul{
    gap:14px;
    flex-wrap:wrap;
    justify-content:center;
  }

  .hero-content{
    padding-top:180px;
  }

  .hero h2{
    font-size:2rem;
  }

}

/* お問い合わせ */

.contact-box{
  margin-top:40px;
}

.contact-row{
  display:flex;
  gap:24px;
  justify-content:center;
  flex-wrap:wrap;
}

.contact-card{
  background:#fff;
  border:1px solid #ddd;
  border-radius:8px;
  padding:28px;
  min-width:280px;
  text-align:center;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.mail-box{
  background:#fff;
  border:1px solid #ddd;
  border-radius:8px;
  padding:28px;
  margin-top:24px;
  text-align:center;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.label{
  display:block;
  font-size:0.9rem;
  color:#666;
  margin-bottom:10px;
  letter-spacing:1px;
}

.contact-card p,
.mail-box p{
  font-size:1.2rem;
  font-weight:bold;
}

.contact-card a,
.mail-box a{
  color:#0d1b2a;
  text-decoration:none;
}

.contact-card a:hover,
.mail-box a:hover{
  text-decoration:underline;
}

/* スマホ */

@media(max-width:768px){

  .contact-row{
    flex-direction:column;
    align-items:center;
  }

  .contact-card{
    width:100%;
    max-width:420px;
  }

}




