/*　以下、ページ全体のCSS　*/

@import url(common.css);

body {
    background-image: url(../images/bg.jpg);
    background-repeat: repeat-x;
    background-position: center top;
    color: #666666;
}

header, nav, #path, #contents, footer {
    width: 860px;
    margin: 0 auto 0 auto;
}

header h1 {
    margin: 0 0 26px 0;
    padding-top: 18px;
    text-align: center;
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;

}

nav ul {
    list-style-type: none;
    margin: 0 0 20px 0;
    padding-left: 0;
    overflow: hidden;
}

nav ul li {
    width: 215px;
    float: left;
}

nav ul li a {
    display: block;
    height: 0;
    padding-top: 60px;
    overflow: hidden;
}

nav ul li#nav_properties a {
    background-image: url(../images/nav1.png);
}

nav ul li#nav_staff a {
    background-image: url(../images/nav2.png);
}

nav ul li#nav_about a {
    background-image: url(../images/nav3.png);
}

nav ul li#nav_contact a {
    background-image: url(../images/nav4.png);
}

nav ul li#nav_home a {
    background-image: url(../images/nav5.png);
}

/*修正箇所*/
#main {
	width: 860px;
    background-color: #ffffff;
    margin: 0 auto;
}

#main article {
	padding: 20px;
}


footer {
	clear: both;
    padding-top: 10px;
}

#main h1 {
    margin-bottom: 30px;
    padding: 0 40px 20px 10px;
    background-image: url(../images/bg_h1_left.png),url(../images/bg_h1_bottom.gif);
    background-repeat: no-repeat,repeat-x;
    background-position: right top,left bottom;
    font-size: 180%;
}



#properties #nav_properties a, #login #nav_login a, #about #nav_about a, #contact #nav_contact a, nav ul li a:hover {
    background-position: 0 -60px;
}



/* 基本レイアウト ここまで↑ */

/* トップページ ここから↓ */

#news ul {
    list-style-type: none;
    padding-left: 0;
}

#news ul li {
    margin: 20px 0 20px 160px;
    border-bottom: 1px dotted #fb484e;
    text-indent: -160px;
}

#staff_news {
	width:860px;
	margin: 50px auto 0 auto;
}

#staff_news h1 {
    margin-bottom: 30px;
    padding: 0 40px 20px 10px;
    background-image: url(../images/bg_h1_left.png),url(../images/bg_h1_bottom.gif);
    background-repeat: no-repeat,repeat-x;
    background-position: right top,left bottom;
    font-size: 180%;
}

.staff {
	float: left;        /* 画像を左に寄せ、テキストを右に回り込ませる */
	width: 30%;         /* 画像の幅を画面（親要素）の30%にする */
	margin-right: 20px; /* 画像とテキストの間に余白を作る */
	margin-bottom: 10px;/* 画像の下に余白を作る */
	height: auto;
}

.fudousanB {
	color: red;
	font-size: 200%;
	font-weight: bold;
}

.bnr_area {
	float: left;
	text-align: center;
	margin-top: 15px;
	margin-left: 30px;
}

/* トップページ ここまで↑ */

/* 「動物園について」ページ ここから↓ */

.propertiest_area {
    margin-bottom: 30px;
    overflow: hidden;
}

.properties_area:last-child {
    margin-bottom: 0;
}

/* 「動物園について」ページ ここまで↑ */

/* 「社員ブログ」ページ　ここから↓ */
#staff_login {
	font-weight: bold;
	margin: 10px 0 0 0;
	padding: 0;
}
#staff_login a {
	text-decoration: none;
	font-weight: bold;
	margin: 0;
	padding: 0px 10px 0 10px;
	border-radius: 20px;
	color: #ffffff;
	background-color: #CCCCCC;
}
#staff_login a:hover {
	opacity: 0.5;
	text-decoration: none;
	font-weight: bold;
	margin: 0;
	padding: 0px 10px 0 10px;
	border-radius: 20px;
	color: #ffffff;
	background-color: #CCCCCC;
}
/* 「社員ブログ」ページ　ここまで↑ */

/* 「社員ブログ（ログイン）」ページ　ここから↓ */



/* 「社員ブログ（ログイン）」ページ　ここまで↑ */

/* 「会社概要」ページ ここから↓ */

table thead tr th {
    background-color: #ffdd63;
}

table tbody tr:nth-child(even) td {
    background-color: #eef8fa;
}

#map {
	text-align: center;
	width: 860px;
	margin: 0 auto;
}

/* 「会社概要」ページ ここまで↑ */





/* 「人気の動物たち」ページ ここから↓ */

.about_area figure {
    width: 265px;
    margin: 0 0 15px 20px;
    float: left;
    overflow: hidden;
}

.about_area figure:first-child {
    margin-left: 0;
}

/* 「人気の動物たち」ページ ここまで↑ */

/* 「お問い合わせ」ページ ここから↓ */

input[type="text"] {
    width: 200px;
}

input[type="email"] {
    width: 300px;
}

/* 「お問い合わせ」ページ ここまで↑ */

/* ===============================
   右上ポップ追従ナビ（白背景メイン）
   =============================== */
.floating-nav{
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1500;

  display: flex;
  gap: 10px;
  padding: 10px;

  background: rgb(255, 255, 255);
  border: 1px solid #e5e7eb;
  border-radius: 999px;              /* ぷっくり */
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  backdrop-filter: blur(6px);
}

.nav-chip{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: #111827;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.nav-chip:hover{
  background: #e5e7eb;
}

/* style.css の nav 幅指定を打ち消す */
nav.floating-nav{
  width: auto !important;
  margin: 0 !important;
}

/* ついでに style.css の nav内 ul/li の float 影響を無効化 */
nav.floating-nav ul,
nav.floating-nav li{
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* スマホ：右上ポップが被りやすいので少し小さく */
@media (max-width: 800px){
  .floating-nav{
    top: 10px;
    right: 10px;
    gap: 6px;
    padding: 8px;
  }
  .nav-chip{
    padding: 7px 10px;
    font-size: 13px;
  }
}


