/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html,body { margin:0; padding:0; font-family: "Inter", "Helvetica Neue", Arial, sans-serif; color:#333; background:#f8f9fa; line-height:1.6; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; height:auto; display:block; }
h1, h2, h3 { margin-top:0; margin-bottom:15px; font-weight:700; color:#212529; }
h1 { font-size: 3em; line-height:1.2; }
h2 { font-size: 2.2em; text-align:center; margin-bottom:30px; }
h3 { font-size: 1.5em; }
p { margin-bottom:1em; }

/* ---------- Utilities ---------- */
.wrap { max-width:1100px; margin: 60px auto; padding:0 20px; }
.section { padding: 60px 0; }
.section:nth-of-type(odd) { background-color: #f0f4f7; }
.section-lead { text-align:center; max-width:800px; margin: -15px auto 50px; font-size:1.1em; color:#555; }
.card {
    background:#fff;
    padding:25px;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
.thumb {
    height: 220px; /* 画像の枠の高さ */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    margin-bottom: 15px;
    border-radius: 8px;
}
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* トリミングして枠に合わせる */
    border-radius: 8px;
}
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    background: #007bff; /* プライマリーカラー */
    color: #fff;
    font-weight: 700;
    font-size: 1.1em;
    text-align: center;
    transition: background-color 0.3s ease;
}
.btn:hover {
    background: #0056b3;
}
.btn-secondary {
    background: #6c757d;
}
.btn-secondary:hover {
    background: #545b62;
}
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }


/* ---------- Header ---------- */
.site-header {
    background:#212529; /* ダークなヘッダー */
    color:#fff;
    position:sticky; top:0; z-index:100;
    display:flex; align-items:center; justify-content:space-between;
    padding:15px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.brand { font-weight:800; letter-spacing:0.5px; font-size:24px; color:#fff; }
.nav { display:flex; gap:25px; align-items:center; }
.nav a { color: #f8f9fa; font-weight:600; padding:8px 12px; border-radius:5px; transition: background-color 0.3s ease; }
.nav a:hover { background:#343a40; }
.nav a.cta {
    background:#dc3545; /* 強調色 */
    color:#fff;
    padding:10px 20px;
    border-radius:30px;
}
.nav a.cta:hover { background:#c82333; }

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 100px 20px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/reformtop.png') center center / cover no-repeat fixed;
    /*  */
}
.hero-inner {
    max-width: 900px;
    margin-top: 50px;
}
.eyebrow {
    font-size: 1.1em;
    color: #ffd700; /* ゴールドっぽい色 */
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.95;
}
.hero h1 {
    margin: 0;
    font-size: 3.8em;
    line-height: 1.1;
    letter-spacing: -1px;
    color:#fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.hero p.lead {
    margin: 25px 0 40px;
    font-size: 1.3em;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* ---------- Service Grid ---------- */
.service-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap:25px;
    margin-top:40px;
}
.service-item h3 {
    color:#007bff;
    margin-bottom:10px;
}
.service-item p {
    font-size:0.95em;
    color:#666;
}

/* ---------- Works Grid ---------- */
.works-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap:30px;
    margin-top:40px;
}
.work-item h3 {
    color:#212529;
    margin-bottom:8px;
}
.work-item p {
    font-size:0.9em;
    color:#666;
}

/* ---------- Flow Grid ---------- */
.flow-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:30px;
    margin-top:40px;
    text-align:center;
}
.flow-item .flow-step {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:50px;
    height:50px;
    border-radius:50%;
    background:#007bff;
    color:#fff;
    font-size:1.5em;
    font-weight:bold;
    margin-bottom:15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.flow-item h3 {
    color:#212529;
    margin-bottom:10px;
}
.flow-item p {
    font-size:0.9em;
    color:#666;
}

/* ---------- Voice Grid ---------- */
.voice-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap:30px;
    margin-top:40px;
}
.voice-item {
    padding:30px;
}
.voice-text {
    font-style: italic;
    margin-bottom: 15px;
    color:#444;
    font-size:1.05em;
}
.voice-owner {
    text-align:right;
    font-weight:bold;
    color:#007bff;
}

/* ---------- CTA Band ---------- */
.cta-band {
    margin:60px 0 0;
    background:linear-gradient(90deg, #007bff, #0056b3); /* グラデーション */
    color:#fff;
    padding:60px 20px;
    text-align:center;
}
.cta-band h2 {
    color:#fff;
    margin-bottom:20px;
    font-size:2.5em;
}
.cta-band p {
    font-size:1.2em;
    margin-bottom:30px;
    max-width:800px;
    margin-left:auto;
    margin-right:auto;
    opacity:0.9;
}
.cta-band .cta-btn {
    margin: 0 10px;
    background:#dc3545; /* 強調色 */
    border: 2px solid #dc3545;
}
.cta-band .cta-btn:hover {
    background:#c82333;
    border-color: #c82333;
}
.cta-band .cta-btn.btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}
.cta-band .cta-btn.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}


/* ---------- Footer ---------- */
footer {
    background:#212529;
    color:#f8f9fa;
    padding:40px 20px;
    margin-top:0; /* CTAバンドの直後なので調整 */
    font-size:0.9em;
}
.footer-inner {
    max-width:1100px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:center;
    flex-wrap: wrap; /* レスポンシブ対応 */
}
.footer-nav a {
    color:#adb5bd;
    margin-left:20px;
    transition: color 0.3s ease;
}
.footer-nav a:hover {
    color:#fff;
}

/* ---------- Responsive ---------- */
@media (max-width:900px) {
    .site-header { padding:15px 20px; }
    .nav { display:none; } /* シンプルなモバイル対応のため、ナビゲーションを非表示に */
    .hero { padding:80px 15px; min-height:60vh; }
    .hero h1 { font-size: 2.8em; }
    .hero p.lead { font-size: 1.1em; }
    h2 { font-size: 1.8em; }
    .section { padding:40px 0;}
    .wrap { margin: 40px auto; }
    .service-grid, .works-grid, .flow-grid, .voice-grid {
        grid-template-columns: 1fr;
    }
    .cta-band { padding:40px 15px;}
    .cta-band h2 { font-size:2em;}
    .cta-band .cta-btn { margin-bottom: 15px; }
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap:15px;
    }
    .footer-nav a { margin:0 10px;}
}

@media (max-width:600px) {
    .brand { font-size:20px; }
    .hero h1 { font-size: 2.2em; }
    .hero p.lead { font-size: 1em; margin:20px 0 30px;}
    h2 { font-size: 1.6em; }
    .cta-band h2 { font-size:1.8em;}
    .btn { padding:12px 24px; font-size:1em; }
}
/* スマホ用調整 */
@media (max-width: 900px) {

  /* ヘッダー調整 */
  .site-header {
    padding: 12px 16px;
    justify-content: space-between;
  }

  .brand {
    font-size: 16px;
  }

  /* ハンバーガーメニュー */
  .nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    background: #0b2540;
    position: absolute;
    top: 60px;   /* ヘッダーの下 */
    right: 0;
    padding: 16px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .nav.active {
    display: flex;
  }

  /* ハンバーガーボタン */
  .menu-toggle {
    display: block;
    cursor: pointer;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
  }

  /* ヒーローエリア縮小 */
  .hero {
    padding: 80px 20px;
    min-height: 50vh;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero p.lead {
    font-size: 16px;
  }

  /* カードや本文の余白 */
  .card {
    padding: 16px;
  }
}
