body {
    margin: 0;
}
.root {
    --tw-bg-opacity: 1;
    background-color: rgb(243 244 246);
}
header {
    position: sticky;
    top:0;
    z-index:1000;
    background-color: rgb(243 244 246);
}
.container{
    padding-left: 2.25rem;
    padding-right: 2.25rem;
    margin-left: auto;
    margin-right: auto;
    /* display: flex; */
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 10px 20px;

}
.nav ul{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    
}
.nav ul li{
    margin-right: 20px;
    transition-duration: .3s;
    
}
.nav ul li a {
    color: inherit;
    text-decoration: inherit;
}
.nav ul li:hover{
    color: rgb(114 56 50);
}
.logo img{
    width: auto;
    height: 40px;
}
.banner {
    position: relative; /*子要素の絶対配置を有効化*/
    height: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    
}
.banner img{ 
    width: 100%;
    height: auto;
    display: block;
}
.banner .tit,
.banner .subtit{
    position: absolute;
    /* left: 50%;
    transform: translateX(-50%); */
    color: white;
    text-shadow: 1px 1px 3px;
    z-index: 2;
    margin: 0;
    
}
.banner .tit{
    top: 40%;
    font-size: 4vw;
    font-weight: bold;
}
.banner .subtit{
    top: 50%;
    font-size: 1.5rem;
    font-weight: normal;
    font-family: 'Raj-R';
    letter-spacing: 5px;
}


/* intro */
#about{
    background-color: white;
    padding-bottom: 50px;
    
}
.intro {
    
    display: flex;
    flex-direction: column;
    align-items: center; /*子の要素を中央揃え */
    text-align: center; /*中央揃え */

}
.intro img {
    max-width: 100%;
    height: auto;
}
/* 左右の配置設定 */
.left {
    flex: 5;
    display: flex;
    text-align: left;
    align-items: center;
}
.right {
    flex: 5; /* 左右の幅を均等に */
    display: flex;
    justify-content: center;
    text-align: left; /* 左揃え（必要に応じて調整） */
}
/* 左右を横並びに */
.intro-context {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
}
.intro-context table {
    border-collapse: collapse;
    border: 2px solid black;
    letter-spacing: 1px;
    width: 100%;
}
.intro-context caption{
}
.intro-context .colone {
   width: 25%;
}
.intro-context .coltwo {
   
}
.intro-context th, td {
    border: 1px solid gray;
    padding: 8px 10px;
}
.intro-context .small th, td {
    font-size: small;
    padding: 4px 5px;
}
.left ul {
    list-style: none;
}




/* work */
#work{
    margin-bottom: 50px;
}
.contents{
    
}
.contents h1{
    display: flex;
    justify-content: center;
    /* font-family: 'Raj-R';
    letter-spacing: 5px; */
}
.grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.grid-item{
    
    width: 40%;
    margin: 20px;
    padding: 2rem 1rem;
    background-color: rgb(229 231 235);
    border-radius: .375rem;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
}
.grid-item img{
    width: 100%;
}
.more  img{
    width: 16px;
    height: 16px;
}
/* intro */
.company {
    /* background-image: url(./img/rego.jpg); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    background-color: white;
    padding-top: 50px;
    padding-bottom: 10px;
    
}

footer{
    background-color: black;
}
.bottom {
    display: flex;
    justify-content: center;
    
}
.bottom h3{
    color: white;
    margin-bottom: 0;
}
.bottom p{
    color: white;
}
.fotter-main-left,
.fotter-main-right {
    color: white;
}
.foot_nav{
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
   
}
.foot_nav div {
    display: flex;
    justify-content: center;
}
.foot_nav ul {
    display: flex;
    padding-left: 0;

}
.foot_nav li {
    color: white;
    list-style: none;
    margin-right: 20px;
    
}
.foot_nav a{
    color: white;
}



.menu {
    display: none;
    background: rgb(243 244 246);
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
.menu ul {
    list-style: none;
    padding: 0;
}

.menu li {
    margin: 10px 0;
}

.menu a {
    color: black;
    text-decoration: none;
    font-size: 18px;
}

/* ハンバーガーボタン */
.menu-toggle {
    display: none;
    font-size: 36px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 10px;
}

@media (max-width: 768px) {
    .container{
        flex-direction: column;
        padding-left: 10px;
        padding-right: 10px;
    }
    .nav{
        display: block;
        padding: 10px 10px 0px 10px;
    }
    .intro-context{
        display: block;
    }
    .grid-item{
        width: 80%;
    }
    .menu{
        display: none;
    }
    .menu-toggle{
        display: block;
    }
    .nav ul{
        display: none;
    }
    .intro-context .small th, td {
        /* font-size: x-small; */
        
    }
}

