:root{
  --accent:#0b72e3;
  --muted:#6b7280;
  --bg:#f7fafc;
  --font-family: "Hiragino Kaku Gothic ProN","Meiryo","Yu Gothic","Noto Sans JP",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}
*{box-sizing:border-box;}
body {
  font-family: var(--font-family);
  margin: 0;
  color: #111;
  background: url('office.jpg') no-repeat center center fixed;
  background-size: cover;
  line-height: 1.6;
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:1rem;
}


/* ヘッダー元デザイン */
header{
  background: linear-gradient(90deg,#ffffff 0%,#f0f6ff 100%);
  border-bottom:1px solid #e6eef8;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between; /* 左右に分ける */
  max-width:1100px;
  margin:0 auto;
  padding:1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-text{
  display:flex;
  flex-direction:column; /* 事務所名とスローガンを縦に並べる */
  line-height:1.2;
}

.brand-text h1{
  margin:0;
  font-size:1.25rem;
}

.brand-text p{
  margin:0;
  font-size:.9rem;
  color:var(--muted);
}

/* ロゴ部分 */
.logo{
  width:48px;
  height:48px;
  flex-shrink: 0;
  background:#fff;
  border-radius:8px;
  display:inline-grid;
  place-items:center;
  box-shadow:0 2px 6px rgba(0,0,0,0.2);
}

.logo img {
  width: 48px;
  height: 48px;
  max-width: 100%;
  display: block;
}

/* ナビゲーション */
nav{
  display:flex;
  gap:1rem;
}

nav a{
  color:var(--muted);
  text-decoration:none;
  font-weight:500;
}


/* ヒーロー部分は元のまま */
.hero{
  display:grid;
  grid-template-columns:1fr;
  gap:1.25rem;
  padding:2.5rem 0;
}

.hero-inner{
  background: rgba(255,255,255,0.95);
  padding: 1.5rem;
  border-radius:20px;
  box-shadow:0 6px 22px rgba(11,114,227,.06);
}

h1,h2,h3,h4{margin:0 0 .5rem;}
p.lead{color:var(--muted);margin:0 0 1rem;}

.cta{
  display:inline-block;
  background:var(--accent);
  color:#fff;
  padding:.6rem 1rem;
  border-radius:8px;
  text-decoration:none;
}

.section-title{
  background: rgba(255,255,255,0.95);
  padding: 0.5rem 1rem;
  border-radius:12px;
  display: inline-block;
  margin-bottom:1rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

@media(min-width: 1100px) {
  .services {
    grid-template-columns: repeat(5, 1fr);
  }
}

.card{
  background: rgba(255,255,255,0.95);
  padding:1rem;
  border-radius:20px;
  box-shadow:0 6px 18px rgba(16,24,40,.04);
  margin-bottom:1rem;
}

.small{font-size:.9rem;color:var(--muted);}

.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1rem;
  align-items: start;
}

.two-col aside.card {
  height: auto;
}

footer{
  padding:1.25rem;
  margin-top:1.25rem;
  border-top:1px solid #e6eef8;
  background: rgba(255,255,255,0.95);
  border-radius:20px;
}

footer .container{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
}

iframe{
  width:100%;
  border:none;
  min-height:600px;
  border-radius:20px;
}

@media(max-width:880px){
  .two-col{grid-template-columns:1fr;}
  .nav{flex-direction:column;align-items:flex-start;}
  .hero{padding:1rem;}
}

/* ボタン小サイズ共通 */
.btn-small {
  display: inline-block !important;
  background: var(--accent) !important;
  color: #ffffff !important;
  padding: .4rem .8rem !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-size: .9rem !important;
  text-align: center !important;
}
