body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    /* --- 追記：ヘッダーの高さ分、上部に余白を作る --- */
    padding-top: 70px;
}

img {
    width: 100%;
    display: block;
}

/* ---------------------
   HEADER
---------------------- */
.header {
    background: #fff;
    padding: 10px 20px;
    /* --- 追記・変更 --- */
    position: fixed; /* 画面に対して位置を固定する */
    top: 0;          /* 画面の上端に配置する */
    left: 0;         /* 画面の左端に配置する */
    width: 100%;     /* 幅を画面全体に広げる */
    z-index: 1000;   /* 他の要素より手前に表示する (z-indexは高めに設定) */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- ここから追記 --- */

/* .logo内のaタグ（新しいロゴリンク）にスタイルを適用 */
.logo-link {
    /* 元の .logo と同じ横並び・中央揃え・隙間の設定をaタグに適用 */
    display: flex; 
    align-items: center;
    gap: 10px;

    /* aタグのデフォルトスタイルをリセット */
    text-decoration: none; /* 下線を消す */
    color: #333; /* 文字色を親要素の標準色に戻す */
}

/* --- ここまで追記 --- */

.logo-text {
    font-size: 16px;
    font-weight: bold;
    /* この要素は既にスタイルを持っていますが、aタグで上書きされないよう色を明示しても良い */
    color: #333;
}

.logo img {
    height: 40px; /* ← 適度な高さに調整 */
    width: auto;  /* ← アスペクト比を維持 */
}



.hamburger {
    width: 30px; /* 30pxに戻すか、50pxのままにするかはお好みで */
    cursor: pointer;
    position: relative; /* z-indexを有効にするため */
    z-index: 100;       /* nav-panel(90)より大きくする */
    padding: 10px; /* アイコンの周囲に余白を追加 */
    margin-right: 20px; /* 追加したパディングの分だけ右側の余白を相殺 */
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;       /* 親要素（.hamburger）の幅いっぱいまで広げる */
    background: #333;
    margin: 6px 0;
}

/* ---------------------
   MAIN VISUAL
---------------------- */
.main-visual {
    position: relative;
    height: 90vh;
}

.mv-text {
    position: absolute;
    top: 25%;
    left: 10%;
    color: white;
}

.mv-text h1 {
    font-size: 36px;
}

.mv-text p {
    font-size: 20px;
    line-height: 1.8;
}

/* ---------------------
   INFORMATION
---------------------- */
.info-section {
    text-align: center;
    padding: 50px 20px;
}

.section-title {
    font-size: 18px;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.info-list {
    max-width: 800px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 10px 0;
}

/* ---------------------
   CONCEPT
---------------------- */
.concept-section {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 20px;
    gap: 30px;
    justify-content: center;
}

.concept-img {
    flex: 1 1 320px;
}

.concept-text {
    flex: 1 1 320px;
}

.small-title {
    font-size: 14px;
    margin-bottom: 10px;
}

.concept-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.lead {
    margin-bottom: 20px;
}

/* ---------------------
   BUSINESS
---------------------- */
.business-section {
    padding: 70px 20px;
    background: #f7f7f7;
    text-align: center;
}

.sub-title {
    font-size: 20px;
    margin-bottom: 40px;
}

.business-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.business-card {
    width: 300px;
    text-align: left;
}

.business-card h4 {
    font-size: 16px;
    margin-top: 10px;
}

/* ---------------------
   COMPANY TABLE
---------------------- */
.company-section {
    padding: 70px 20px;
}

.company-table {
    margin: 0 auto;
    max-width: 600px;
    border-collapse: collapse;
}

.company-table th {
    width: 150px;
    text-align: left;
    padding: 8px 0;
    font-weight: normal;
}

.company-table td {
    padding: 8px 0;
}
.section-title,
.sub-title {
    text-align: center;
    width: 100%;
    display: block;
}
/* ---------------------
   FOOTER
---------------------- */
.footer {
    background: #f5f5f5;
    text-align: center;
    padding: 40px 20px;
}

.footer-logo {
    width: 80px;
    margin: 0 auto 10px;
}


/* ハンバーガー メニューラインのアニメ */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ナビメニュー（非表示→表示） */
.nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    transition: 0.4s ease;
    padding: 70px 20px 20px 20px;
    z-index: 90; /* button(100)より小さくする */
}

.nav-panel.active {
    right: 0;
}

.nav-panel ul {
    list-style: none;
    padding: 0;
}

.nav-panel li {
    margin-bottom: 20px;
    font-size: 18px;
}


/* フェードインアニメーション */
.fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.fadein.show {
    opacity: 1;
    transform: translateY(0);
}



/* 斜めカットメインビジュアル */
/* 共通 */
.main-visual {
    position: relative;
    overflow: hidden;
}

.main-visual::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 140px; /* PC 基準の高さ */
    background: #fff;
    clip-path: polygon(0 45%, 100% 0, 100% 100%, 0% 100%);
    z-index: 2;
}

.main-visual img {
    display: block;
    width: 100%;
    height: auto;
}







/* ==========================
   RESPONSIVE
   (スマホ・タブレット用)
========================== */
@media (max-width: 768px) {

    /* 全体のフォント・余白調整 */
    body {
        font-size: 14px;
    }

    /* HEADER */
    .header-inner {
        padding: 10px 20px;
    }

    .logo-text {
        font-size: 14px;
    }

    .mv-text h1 {
        font-size: 28px;
    }

    .mv-text p {
        font-size: 16px;
    }

/* ハンバーガーメニュー調整 */
    .header-inner {
        padding: 10px 20px; /* 左右20pxのパディングがある */
    }


/* 斜めカットメインビジュアル */
    .main-visual::after {
        height: 50px; /* ← 画像がしっかり見える高さ */
        clip-path: polygon(0 25%, 100% 5%, 100% 100%, 0% 100%);
        /* 角度を緩めた */
    }

.main-visual {
    height: 80%;
}
    .mv-text {
        position: absolute;
        top: 20%;
        left: 10%;
        color: white;
    }


    /* INFORMATION */
    .info-item {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .info-item .date,
    .info-item .text {
        font-size: 14px;
    }

    /* CONCEPT */
    .concept-section {
        flex-direction: column;
        padding: 40px 20px;
    }

    .concept-text {
        text-align: left;
    }

    .concept-title {
        font-size: 20px;
    }

    /* BUSINESS */
    .business-section {
        padding: 50px 20px;
    }

    .business-cards {
        flex-direction: column;
        gap: 40px;
    }

    .business-card {
        width: 100%;
    }

    /* COMPANY */
    .company-table {
        max-width: 100%;
    }

    .company-table th {
        width: 35%;
        font-size: 14px;
    }

    .company-table td {
        width: 65%;
        font-size: 14px;
    }

    /* FOOTER */
    .footer-logo {
        width: 60px;
    }
}
