@charset "utf-8";

body ,
#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

p {
color: #333; /* 文字色 */
line-height: 1.7; /* 行間 */
}

/* ======================= 1.ヘッダー ====================== */ 

header h1 {
  margin: 10px 0 5px 0; /* 上10px、右0px、下5px、左0px のマージンを指定 */
  text-align: center; /* 内容を中央揃えに */
}
header nav ul { /* リスト */
  width: 940px; /* 幅を940pxに指定 */
  padding-left: 0; /* デフォルトスタイルをリセット */
  margin: 0 auto 10px auto; /* 上 0px、右 auto、下 30px、左 auto */
  list-style-type: none; /* リストマーカーを消す */
}
header nav ul li { /* リスト項目 */
  width: 155px; /* 幅を155pxに指定 */
  margin-right: 2px; /* リスト項目と右隣りのリスト項目の間を2px空ける */
  float: left; /* 左フロート */
  text-align: center; /* テキストを中央揃え */
}
header nav ul li:last-child {/* 最後のリスト項目 */
  margin-right: 0; /* 右マージン0 */
}
.clearfix:after { /* clearfix */
  content:"";
  display: block;
  clear: both;
}
header nav ul li a {
  text-decoration: none; /* 下線を消す */
  background-color: #43372B; /* 背景色を茶色（#43372B）に */
  color: #fff; /* 文字色を白（#fff） */
  padding: 10px 0; /* パディング 上下10px 左右0px */
  display: block; /* ブロックレベル表示 */
}
header nav ul li a:hover { /* カーソルを乗せた時 */
  background-color: #665A4B;
}
header nav ul li.current a { /* 現在ページの時 */
  background-color: #9C816F;
}

/* ======================= 2.フッター ====================== */

footer {
  background-color: #43372B;
  color: #fff;
  margin-top: auto;
  padding: 30px 0;
  text-align: center; /* 中央揃え */
}
footer ul {
  padding: 0;
  margin-bottom: 30px;
}
footer ul {
  margin-bottom: 30px;
  padding: 0;
}
footer ul li {
  display: inline; /* インライン表示、横並びに配置 */
  margin: 0 10px;
}
footer ul li a {
  color: #fff;
}
footer ul li a:link,
footer ul li a:visited {
  text-decoration: none; /* 下線部を消す */
}
footer ul li a:hover,
footer ul li a:active {
  text-decoration: underline; /* 下線部を表示する */
}

/* ===================== 3.各ページ共通 ==================== */

main {
  width: 940px;
  margin: 0 auto; /* 中央に配置 */
  
}
/* パンくずリスト */
#pankuzu {
  padding-left: 0;
}
#pankuzu li {
  display: inline;
  font-size: 90%;
}
#pankuzu li:after {
  padding: 0 10px;
  content: "\003E"; /* 大なり記号を挿入 */
}
#pankuzu li:last-child:after { /* 最後のli要素の後ろ */
  content: none;
}
main a:link,
main a:visited {
  color: #43372B;
}
/* 大見出し */
main h1 {
  font-size: 1.3em;
  background-color: #D9D5D1;
  border-bottom: solid 3px #665A4B;
  padding: 13px 30px 10px 8px;
}
/* 中見出し */
main h2 {
  font-size: 1.1em;
  border: 1px solid #9C816F;
  padding: 11px 22px;
  border-radius: 5px;
}

/* ==================== 4.ホーム index.html ================== */

#main_visual {
margin: 0px;
}
#main_content {
  width: 600px;
  float: left;
}
#banner {
  width: 300px;
  float: right;
}
#home h2 {
  text-align: left;
  font-size: 1.2em;
  border: 1px solid #9C816F;
  padding: 10px 22px;
  border-radius: 5px;
}
/* 空室情報 */
.v_info {
  line-height: 1.5em;
  margin-bottom: 1em;
}
/* 新着情報 */
#news dl {
  margin-bottom: 30px;
}
#news dt {
  font-weight: bold;
  color: #886139;
}
#news dd {
  margin-bottom: 10px;
  margin-left: 30px;
}
#news dt, #news dd {
  line-height: 1.6; /* 行の高さを揃える */
}
/* バナーエリア */
#banner ul {
  margin: 10 0 0 0;
  padding: 0;
  list-style-type: none;
}
#banner ul li {
  margin-bottom: 10px;
}

/* ================== 5.お部屋情報 room.html ================= */

/* 写真の説明文 */
.slider p{
  margin-top: 0px;
  text-align: center;
}
/* テーブル */
table {
  margin:0 auto 50px;
  padding: 0;
  border-collapse: collapse;
  border-bottom: #9C816F 1px solid;
  width: 95%;
}

th {
  padding: 12px 20px;
  background-color: #D9C6B9;
  border: #9C816F 1px solid;
  vertical-align: middle;
  width: 30%;
}

td {
  padding: 12px 15px;
  border: #9C816F 1px solid;
  vertical-align: middle;
}

/* ================== 6.周辺情報 location.html ================= */

iframe { /* Googleマイマップの位置指定 */
  margin: 0;
}

/* ================ 7.お役立ちリンク集 links.html ================ */

dt, dd {
  line-height: 1.5; /* 行の高さを揃える */
}

dt {
margin-left: 20px; /* 左20px */
}

dd {
  margin-bottom: 5px; /* 下 5px */
  margin-left: 30px; /* 左 30px */
}

/* ================ 8.お問い合わせ contact.html ================= */

.contact {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 0;
  margin-left: 20px;
}
.contact img{
  vertical-align:middle;
}
.time {
  font-size: 0.6em;
  font-weight: bold;
  line-height: 0;
}

/* ================= 9.スマートフォン対応 =================== */

@media screen and (max-width: 768px){
.contents-wrap {
	flex-direction: column;
	}
.contents-box {
	width: 93%;
	}
  img {
    max-width: 100%;
    height: auto;
}
  header, main, #main_content, #banner, header nav ul {
    width: 100%;
}
  header nav ul li {
    margin-right: 0;
    width: calc(100% /3); /* 幅を3分割する */
    box-sizing: border-box; /* ボーダーの幅を50%に含める */
    border:1px solid #fff;
    font-size: 79%;
}
  main {
    padding: 0 15px;  /* 上下0px、左右15px */
    box-sizing: border-box; /* パディングを幅に含める */
}
  #banner {
    float: none;
    text-align: center;
}
  footer ul {
    display: none; /* 非表示に */
}
  .table-mobile {
    width: 100%;
}
  .table-mobile th,
  .table-mobile td {
    width: auto;
    border-bottom: none;
    display: block;
    text-align: center;
}
  .table-mobile td {
    text-align: left;
}
}
