body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    position: relative;
    min-height: 100vh;
    /* 画面全体の高さを確保 */
    padding-bottom: 100px;
    /* footerの高さ分の余白を確保 */
}

a {
    text-decoration: none;
    color: #000;
}

li {
    list-style: none;
}

.header {
    max-width: 1360px;
    width: 100%;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    font-size: 10px;
    background-color: #fff;
    z-index: 50;
}

.header h1 {
    position: fixed;
    max-width: 1360px;
    height: 80px;
    width: 100%;
    margin: 0;
    background-color: #fff;
    padding-left: 40px;
    display: flex;
    align-items: center;
    z-index: 50;
}

/* メニューのスタイル */
.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
    color: #fff;
    transition: right 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    z-index: 100;
}

/* メニューが開いているとき */
.menu.open {
    right: 0;
}

/* ボタンのスタイル */
.hamburger {
    position: fixed;
    top: 30px;
    left: 93%;
    width: 30px;
    cursor: pointer;
    z-index: 100;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(1px, 1px);
}

.hamburger.active span:nth-child(2) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* メニューリストのスタイル */
.menu ul {
    list-style-type: none;
    padding: 0;
    padding-left: 20px;
    margin-top: 10px;
    font-size: 15px;
}

.menu li {
    padding: 10px 0;
    opacity: 0;
    transform: translateX(-60px);
    display: block;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    display: block;
}

/* アニメーションクラス - JavaScriptで動的に付与 */
.menu li.animate {
    animation: catch_anime 0.6s forwards;
}

/* 各リストアイテムに遅延を設定 */
.menu li:nth-child(1).animate {
    animation-delay: 0.1s;
}

.menu li:nth-child(2).animate {
    animation-delay: 0.2s;
}

.menu li:nth-child(3).animate {
    animation-delay: 0.3s;
}

.menu li:nth-child(4).animate {
    animation-delay: 0.4s;
}

@keyframes catch_anime {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.products {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    flex: 1;
}

.products h4 {
    max-width: 1360px;
    width: 100%;
    margin: 0;
    padding-left: 40px;
}

.products_items img {
    width: 294px;
    height: 294px;
    padding-bottom: 2px;
    transition: filter 0.5s ease-out, opacity 0.5s ease-out;
    z-index: 10;
}

.products_items img:hover {
    opacity: 0.8;
}

.products_items span {
    display: flex;
    font-size: 14px;
    padding: 3px 0;
}

.products_items {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}

.viewmore {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* position指定なし = 通常のフローに従う */
}

footer {
    position: absolute;
    /* 絶対配置 */
    bottom: 0;
    /* 最下部に配置 */
    left: 0;
    right: 0;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    font-size: 12px;
    display: flex;
    padding: 20px 0;
    justify-content: space-between;
    background-color: #fff;
    /* 背景色を指定 */
}

.sns_link {
    display: flex;
    align-items: flex-start;
    font-size: 12px;
}

.sns_link li {
    padding-right: 28px;
}

.company_name {
    padding-right: 40px;
}

.page {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-content: center;
    gap: 40px;
}

.about {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;

}

.about p {
    max-width: 600px;
    width: 100%;
    margin: 0;
    padding-left: 40px;
    line-height: 2;
    font-size: 14px;
    margin-bottom: 20px;
}
.about p:last-child {
    max-width: 600px;
    width: 100%;
    margin-bottom: 0;
}
.company {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
}

.company h4 {
    max-width: 1360px;
    width: 100%;
    margin-top: 50px;
    padding-left: 40px;
}

.company dl {
    max-width: 1360;
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding-left: 40px;
    padding-right: 40px;
    line-height: 2;
}

.company_list dt {
    width: 30%;
    border-bottom: solid 1px #dcdbdb;
    padding-top: 40px 20px;
    padding: 20px;
    margin: 0;
    box-sizing: border-box;
}

.company_list dd {
    width: 70%;
    border-bottom: solid 1px #dcdbdb;
    padding: 20px 10px;
    margin: 0;
    box-sizing: border-box;
}

.company_bottom {
    border: none;
}

.map {
    height: 300px;
    width: 600px;
    filter: grayscale();
    margin-bottom: 70px;
}

.product {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    padding-left: 40px;
    line-height: 2;
    font-size: 14px;

}

.product p {
    max-width: 870px;
    padding-left: 40px;
    line-height:1.7;
}
.product img{
    max-width: 870px;
    padding-left: 40px;
    width: 400px;
    height: 400px;
}
.items{
    width: 870px;
    display: flex;
}
.product_about{
    display: flex;
    flex-flow: column;
    padding: 0;
    margin: 0;
}

.product_about p {
    max-width: 870px;
    width: 100%;
    margin-bottom: 30px; 

}

.product_about p:last-child {
    max-width: 870px;
    width: 100%;
    margin-bottom: 0;
}
.product dl {
    max-width: 1360px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding-left: 40px; /* padding を削除または調整 */
    line-height: 2;
}

/* 商品ページのdt設定 */
.product dt {
    width: 30%;
    margin: 0;
    box-sizing: border-box;
}

/* 商品ページのdd設定 */
.product dd {
    width: 70%;
    margin: 0;
    box-sizing: border-box;
}

.back_product{
    max-width: 1360px;
    width: 100%;
    margin: 0; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
    font-size: 15px;
}