/* --------------header-------------- */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    position: fixed;
    /* 画面上に固定 */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* コンテンツより上に表示されるように */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* ロゴ部分 */
.logo-area {
    display: flex;
    align-items: center;
}

.logo-area img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: bold;
}

/* ナビゲーション */
nav {
    display: flex;
    flex-wrap: wrap;
}

nav a {
    margin: 0 12px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* ハンバーガーアイコン全体 */
.menu-toggle {
    display: none;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: 0.4s;
    left: 0;
}

/* 3本線の位置を指定 */
.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 9px;
}

.menu-toggle span:nth-child(3) {
    top: 18px;
}

/* open状態（×に変形） */
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}



/* 768以下（スマホ） */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    nav.open {
        display: flex;
    }

    nav a {
        margin: 10px 0;
        padding: 10px;
        border-top: 1px solid #eee;
    }

    .menu-toggle {
        display: block;
    }
}

/* --------------Body-------------- */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.8;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Roboto, sans-serif;
    color: #333;
    padding-top: 80px;
    /* ヘッダーの高さ分だけ調整 */
}

/* リンク設定 */
a {
    text-decoration: none;
}


/* コンテンツ全体の囲い */
.container {
    padding: 30px 20px;
    max-width: 1000px;
    margin: 40px auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.04);
}

/* 見出し */
h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

h2 {
    margin-top: 10px;
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 10px;
    border-left: 6px solid #007acc;
    padding-left: 10px;
}

h3 {
    font-size: 1.3rem;
    margin: 20px 0 10px;
}

p {
    margin: 10px 0;
}

/* ボックススタイル（サービスや事例などに活用） */
.box {
    background-color: #f4f8fb;
    padding: 20px;
    border-left: 5px solid #007acc;
    margin-bottom: 20px;
    border-radius: 6px;
}

/* 画像共通 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* リスト・段落など */
ul,
ol {
    margin: 10px 0 20px 25px;
}

/* -------問合せボタン------- */
.contact-button {
    display: block;
    width: 100%;
    background: transparent;
    color: #333;
    font-weight: 600;
    text-align: center;
    padding: 12px 0;
    margin-top: 25px;
    border: 2px solid #aaa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.3px;
    position: relative;
    box-sizing: border-box;
}

.contact-button::after {
    content: "→";
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.contact-button:hover {
    color: #007acc;
    border-color: #007acc;
    background-color: rgba(0, 122, 204, 0.05);
}

.contact-button:hover::after {
    margin-left: 12px;
}

/*ヒーローセクション*/
.hero {
    position: relative;
    color: white;
    text-align: center;
    padding: 100px 20px;
    z-index: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* ← ここで暗さ調整（0.3〜0.5ぐらいが目安） */
    z-index: -1;
}

.hero h1,
.hero p,
.hero .btn-primary {
    position: relative;
    /* ← 背景オーバーレイの下に埋もれないように */
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

/* CTA */
.cta {
    background: linear-gradient(to right, #ff914d, #ff7b00);
    color: white;
    text-align: center;
    padding: 70px 20px;
    border-radius: 8px;
    margin: 60px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    border-left: none;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #fefefe;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* ボタンの間隔を調整 */
    margin-top: 20px;
}

.btn-cta {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* 768以下（スマホ） */
@media (max-width: 600px) {

    .cta h2 {
        font-size: 1.5rem;
    }

    .cta p {
        font-size: 0.9rem;
    }
}


/* フッター */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

footer a {
    color: #ffb400;
    text-decoration: none;
    margin-left: 10px;
}