@charset "utf-8";

* {
    /* フォントファミリー */
    font-family: "メイリオ", Meiryo, "游ゴシック","Yu Gothic",YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    /* 余白は全て０ */
    margin: 0px; padding: 0px;
    /* ボックスモデルは */
    box-sizing: border-box;
}

/* スクロール */
html,body{ 
    scroll-behavior: smooth; /* リンク移動スムース */
}

body{
    background-color: #eae5e3; /* 背景色 */
}

/* ページ全体囲み */
.wrap{
    max-width: 1000px; /* ページ幅 */
    margin: 0 auto; /* 左右中央 */
    background-color: #ffffff; /* 背景色 */
    padding: 30px 20px 500px 20px; /* 要素内余白：上　右　下　左 */
}

h1{
    text-align: center; /* 行揃え */
    margin-bottom: 30px; /* 要素外下余白 */
}



/* ---------------------------------------
ナビゲーション
------------------------------------------ */
nav{
    margin-bottom: 250px; /* 要素外下余白 */
}
.nav ul{
    list-style-type: none; /* リストマーカーなし */
    display: flex; /* フレックスボックス */
    justify-content: center; /* 子を横方向にどう配置するか：中央； */
    gap: 40px; /* 子要素の間 */
}

/* リンク */
.nav ul li a{
    text-decoration: none; /* 下線なし */
    background-color: #928178; /* 背景色 */    
    color: #ffffff; /* 文字色 */
    padding: 20px 10px; /* 要素内余白：上下　右左 */
    border-radius: 5px; /* 角丸 */
}

/* ホバー */
.nav ul li a:hover{
    background-color: #00a381; /* 背景色 */ 
}

/* ---------------------------------------
コンテンツ
------------------------------------------ */

h2{
    background-color: #00a381; /* 背景色 */
    padding: 10px;  /* 要素内余白 */ 
    color: #ffffff; /* 文字色 */
}

main div{
    height: 500px; /* 高さ */
}



/* ---------------------------------------
ページトップ
------------------------------------------ */
.page-top {
	position: fixed; bottom: 10px; right: 10px; /* 位置固定：　下から　右から */
	font-size: 12px; /* フォントサイズ */
}

.page-top a{
    text-decoration: none; /* 下線なし */
    background-color: rgba(146, 129, 120, 0.7); /* 背景色 */    
    color: #ffffff; /* 文字色 */
    padding: 20px 10px; /* 要素内余白：上下　右左 */
    border-radius: 15px 15px 0 0; /* 角丸：左上、右上、右下、左下 */
}

/* ホバー */
.page-top a:hover{
    background-color: rgba(0, 163, 129, 0.7); /* 背景色 */ 
}