@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-top: 50px;
    padding-bottom: 50px;
}

/*=============================================
フォーム内容
=============================================*/

#h2{
    margin-bottom: 50px;
    font-size: 1.2em;
}

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

form{
	width: 1000px;
	margin: 50px auto 0 auto;
}

fieldset{
	border: 1px solid #797571;
	margin-bottom: 20px;
	padding: 18px 40px 20px 20px;
    background-color: #fff;
}

legend{
	color: #fff;
	background-color: #797571;
	width: 180px;
	padding: 3px 3px 3px 20px;
}

span{
    margin-left: 5px;
    font-size: 15px;
    background-color: #ed7d21;
    border-radius: 3px;
    padding-left: 5px;
    padding-right: 5px;
}

#name,#furigana,#mail{
    height: 20px;
    background-color: #e9e7e3;
    border: 1px solid #797571;
}

#name,#furigana{
	width: 30%;
}

#mail{
	width: 50%;
}

#para{
	width: 100%;
	line-height: 60px;
	padding-left: 20px;
    font-family: 'ヒラギノ明朝 Pro', serif;
    background-color: #e9e7e3;
    border: 1px solid #797571;
}

#privacy_agreement a{
    color: #797571;
    text-decoration: underline;
}

#privacy_agreement a:hover{
    font-weight: bold;
}

#button{
	color: #fff;
	background-color: #797571;
	width: 100px;
	padding: 5px;
    font-size: 18px;
    font-family: 'ヒラギノ明朝 Pro', serif;
    box-shadow: 3px 3px 3px rgba(121, 117, 113, 0.8);
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

#button:hover{
    box-shadow: 8px 8px 8px rgba(121, 117, 113, 0.8);
    transform: translateY(-5px);
    font-weight: bold;
    color: #797571;
    background-color: #FFFFFF;
    border: 2px solid #797571;
}

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

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; 
}










