/*
Theme Name: Clout
Description: 企業サイト用オリジナルテーマ
Author: 平山晴也
Version: 1.0
*/

/* レスポンシブ対応 */
/* ハンバーガー初期非表示 */
.hamburger {
    display: none;
    width: 30px;
    height: 25px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background: #000;
    border-radius: 2px;
}





body {
    margin: 0;
    padding: 0;
    background: #fff;
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
}
.logo{
    text-align: center;
}
.logo img{
    width: 200px;
}
.logo p{
    margin-top: -50px;
    font-size: 12px;

}
.reslogo{
    display: none;
}
.sidebar{
    width: 20%;

}
.sidebar ul{
    text-align: center;
}
.sidebar li{
    text-align: left;
    list-style: none;
    padding-bottom: 30px;
    margin: 0 auto;
    
}
.sidebar nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
}
.sidebar nav ul li {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
    width: 100%;
    text-align: center;
}
.sidebar nav ul li a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: black;
}
.contact{
    text-align: center;
}
.contact a{
    text-decoration: none;      
    color: black;
    margin-left:15px;
    padding-bottom: 30px;
    font-size: 12px;
    border: 1px solid black;
    padding: 5px;
    margin: 0 auto;
    margin-left: -10px;
}
.contact p{
    font-size: 12px;
}
.main-content{
    display: flex;
    flex-direction: column;  /* 横方向の中央寄せ */
    align-items: center;
    width: 100%;
}

/* footer */

.footer{
    width: 100%;
}

.company-title{
    text-align: center;
    margin-top: 15%;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10%;
}
.company{
    display: flex;
    width: 100%;
    margin: 0 auto;
}
.company-info{
    margin:0 auto;
    width: 40%;

}
.contact-info{
    margin: 0 auto;
    width: 40%;
    
}
.contact-info a {
    border: 1px solid #000000; /* ← solid（実線）を追加 */
    padding:16px;         /* 枠の中に余白をつけるとボタンっぽくなる */
    text-decoration: none;     /* 下線を消す */
    color: #000;               /* 文字色 */
}


/* モバイルレスポンシブ */
@media screen and (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    /* サイドバー全画面メニュー */
    .sidebar {
        position: fixed;
        top: 0;
        left: -150%;       /* 初期は画面外 */
        width: 100%;       /* フルスクリーン */
        height: 100%;
        background-color: #ffffff;
        padding: 50px 20px;
        transition: left 0.3s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: center; /* 縦中央 */
        align-items: center;     /* 横中央 */
    }

    .sidebar.active {
        left: 0; /* 画面全体に表示 */
    }

    .sidebar-nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
        height: auto;
    }

    .sidebar-nav li {
        margin: 20px 0;
        font-size: 24px;
        list-style: none;
        text-align: center;
    }

    .sidebar-nav li a {
        text-decoration: none;
        color: #000;
    }

    .sidebar .contact {
        margin-top: 30px;
        text-align: center;
    }

    .sidebar .contact a {
        display: block;
        margin-bottom: 10px;
        font-size: 18px;
        color: #000;
    }

    .company-title{
        font-size: 20px;
       
    }
    .company-info{
        font-size: 12px;
    
    }
    .contact-info{
        font-size: 12px;
        
    }
}
