@charset "UTF-8";

/*=============================================
基本設定
=============================================*/

*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

body{
    width: 100%;
    height: auto;
    font-size: 20px;
    font-family: 'ヒラギノ明朝 Pro', serif;
    line-height: 1.6;
    color: #797571;
    background-color: #fff;
}

/*=============================================
ヘッダー
=============================================*/

header div#inner{
    margin: 50px auto;
}

header div#inner nav ul.menu-list{
    display: flex;
    align-items: center;
    font-weight: bold;
    justify-content: space-between; 
    width: 1000px;
    margin: 0 auto;
}

header div#inner nav ul li.menu-item{
    flex-grow: 0;
    flex-shrink: 0; 
    text-align: center; 
    position: relative; 
}

header div#inner nav ul li.menu-item a{
    color: #797571;
    display: block;
    padding: 10px 0; 
    transition: transform 0.3s ease;
    width: 100%;
    justify-content: center;
    align-items: center;
}

header div#inner nav ul li img{
    display: block;
    transition: transform 0.3s ease;
    width: auto;
    padding: 0; 
    margin: 0 auto;
}

header div#inner nav ul li.menu-item a:hover{
    transform: translateY(-5px);
    color: #b7afa8;
}

header, nav, #inner{
    overflow: visible;
}

/*=============================================
ドロップダウンメニュー
=============================================*/

.drop-menu{
    position: relative;
}

.drop-menu-list{
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top center;
    transition: transform 0.3s ease, opacity 0.3s;
    width: 200px;
    background-color: #F0F0F0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    z-index: 10;
}

.menu-item:hover .drop-menu-list{
    transform: translateX(-50%) scaleY(1);
}

.drop-menu-item{
    list-style: none;
}

.drop-menu-item a{
    display: block;
    text-align: center;
    padding: 12px 0;
    color: #797571;
    text-decoration: none;
    border-bottom: 1px solid rgba(121, 117, 113, 0.2);
    white-space: nowrap; 
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    margin: 0;
    width: 100%;
    background-color: transparent;
}

.drop-menu-item a:hover{
    background-color: #797571;
    color: #fff;
}

.drop-menu-item:last-child a{
    border-bottom: none;
}

header div#inner nav ul li.menu-item.drop-menu > a{
    display: flex; 
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #797571;
    padding: 10px 0;
    transition: transform 0.3s ease;
    width: 100%;
    justify-content: center; 
}

header div#inner nav ul li.menu-item.drop-menu > a img{
    padding-left: -100px;
}

/*=============================================
パンくずリスト
=============================================*/

#breadcrumbs_list{
    width: 1000px;
    margin: 0 auto;
}

#breadcrumbs ol{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

#breadcrumbs ol li{
    font-size: 16px;
    font-weight: bold;
}

#breadcrumbs ol li a{
    padding-right: 20px;
    color: #BAB4AF;
    font-weight: bold;
    transition: transform 0.3s ease;
}

#breadcrumbs ol li a:hover{
    color: #797571;
    font-weight: bold;
    display: block;
    transform: translateY(-5px); 
}

#breadcrumbs ol li#home{
    font-weight: 100
}

#breadcrumbs ol li:nth-child(3){
    padding-left: 20px;
    font-weight: bold
}

#list_form{
    font-weight: bold;
}

/*=============================================
制作実績全体
=============================================*/

#main{
    width: 1200px;
    height: auto;
    background-color: #e4e3e3;
    margin: 0 auto;
    padding-bottom: 80px;
}

/*=============================================
制作実績内容
=============================================*/

section{
    width: 1000px;
    height: auto;
    margin: 0 auto;
}

#h3{
    width: 1000px;
    margin-top: 30px;
    margin-bottom: 50px;
    border-left: 8px solid #DACFC5;
    padding-left: 20px;
    line-height: 30px;
}

#wrapper{
    width: 1000px;
    height: 600px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #fff;
    margin: 0 auto;
}

#left img{
    width: 500px;
    height: 375px;
}

#right{
    width: 400px;
    align-items: center;
}

hr#line{
    height: 1px;
    border: none;
    background-color: #F1EBE5;
    margin: 20px 0;
}

/*=============================================
トップへ戻るボタン
=============================================*/

div#top_button{
    display: flex; 
    justify-content: flex-end; 
    margin-right: 400px;
    margin-top: 100px;
    margin-bottom: -30px;
}

div#top_button a{
    display: inline-block;
    transition: transform 0.3s ease;
}

div#top_button a:hover{
    transform: translateY(-5px); 
}

/*=============================================
フッター
=============================================*/

footer#footer{
    background-color: #797571;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer #footer_p{
    color: #fff;
    margin: 0; 
}






