﻿@charset "utf-8";

/*====================
 +base element
====================*/
body {
  background-color: #faebd7;
  color: #543;
  font-family: 'Lucida Grande',
               'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3',
               Meiryo, 'メイリオ',
               sans-serif;
  font-size: 18px;
  line-height: 1.8em;
  margin: 0;
  padding: 0;
}
table,
p {
  margin: 1em 6px;
}
p.delimiter {
  text-align: center;
}
p.caption {
  margin-top: 0;
  text-align: center;
}
a:link,
a:visited,
a:active {
  color: #bc763c;
  text-decoration: none;
}
img,
iframe {
  display: block;
  margin: 0 auto;
}
td {
  vertical-align: baseline;
}
table.tbl-tennis td {
  padding: 0.2em 0;
  line-height: 1.6em;
}
td.td-tennis {
  width: 6.5em;
}
td.td-dog {
  width: 9.6em;
}
td.td-dog-s {
  width: 5.6em;
}
.photo {
  text-align: center;
}
.photo img {
  display: inline;
  background-color: #fff;
  padding: 8px;
  margin: 12px;
  box-shadow: 1px 1px 8px #987;
}

/*====================
 +structure
====================*/
.structure {
  width: 1002px;
  margin: 0 auto;
  padding: 0;
  background-color: white;
  border-left: 1px solid #dcb;
  border-right: 1px solid #dcb;
}

/*====================
 +header
====================*/
#header {
  margin: 0 auto;
  height /***/:auto;
}

/*====================
 +container
====================*/
#container {
  padding-bottom: 0;
  text-align: left;
  overflow: hidden;
}

#sideWrap{width:25%; float:left;}

#side {
  width: 254px;
  float: left;
  margin-top: 5px;
}

#globalNavi{
  width: 100%;
  background: white;
}
#globalNavi ul li a{
  margin: 0;
  padding: 0.4em 1em;
  list-style-type: none;
  text-align: left;
  display: block;
  position: relative; /* IE6用 */
  text-decoration: none; /* テキストの下線（なし） */
}
#globalNavi ul li a:hover{
  background: #9fc24d;
}

#main {
  width: 70%;
  float: right;
  margin: 0 24px;
}

#about,
#dog,
#tennis,
#profile,
#access {
  padding-top: 10px;
  padding-bottom: 0.6em;
}
#lesson,
#hittingpartner,
#dogtraining,
#dogrun,
#doghotel,
#dogwalk {
  padding-top: 5px;
  padding-bottom: 0.6em;
}
#lesson a,
#access a {
  color: #543;
}

#profile a {
  text-decoration: underline;
}

#side ul {
  padding: 0;
  position: relative;
}

#side ul li {
  color: white;
  text-shadow: 1px 1px 3px #66482e;
  background: #66482e;
  line-height: 1.5em;
  border-bottom: 2px solid white;
  list-style-type: none!important;
  font-weight: bold;
}

#side ul li.contents {
  background: #e49e61
}

#side ul li a {
  color: white;
}

#dogtraining ul li {
  margin-left: 1.6em;
}

h2{
  position: relative;
  background: #66482e;
  box-shadow: 0px 0px 0px 5px #66482e;
  border: dashed 2px white;
  padding: 0 0.5em;
  color: white;
  font-weight: bold;
}

h2:after{
  position: absolute;
  content: '';
  left: -8px;
  top: -8px;
  border-width: 0 0 14px 14px;
  border-style: solid;
  border-color: #fff #fff #e49e61;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

h3{
  position: relative;
  padding: 0.1em 0.5em;
  background: -moz-linear-gradient(to right, #ffba73, transparent);
  background: -webkit-linear-gradient(to right, #ffba73, transparent);
  background: linear-gradient(to right, #ffba73, transparent);
  color: #543;
  font-weight: bold;
}

/*====================
 +footer
====================*/
#footer {
  clear: both;
  margin: 0 auto;
  height /***/:auto;
  padding: 0;
  text-align: center;
  color: white;
}

/*====================
 +mobile
====================*/
@media screen and (min-width:901px) {
#nav-drawer {
  display:none;
}
}

@media screen and (max-width:900px) {
body {
  font-size: 16px;
  line-height: 1.6em;
}
iframe {
  max-width: 96%;
}
.structure {
  max-width: 92%;
}
#header img,
#footer img {
  height /***/:auto;
  max-width: 100%;
}
#about img,
#dogrun img,
#dogwalk img,
#access img {
  height /***/:auto;
  max-width: 88%;
}
#sideWrap {
  display:none;
}
#main {
  width: 96%;
  float: none;
  margin: 2px auto;
}
table,
p {
  margin: 1em 6px;
}
h2,
h3 {
  position: static;
}
h2:after{
  border: 0;
}
.photo img {
  padding: 8px;
  margin-top: 4px;
  margin-bottom: 8px;
}
}
@media screen and (min-width: 641px) {
img.mini {
  display: none;
}
}

@media screen and (max-width: 640px) {
.structure {
  max-width: 100%;
}
img.normal {
  display: none;
}
}

#nav-drawer {
  position: fixed;
  bottom: 16px;
  right: 16px;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
  display: inline-block;
  width: 40px;
  height: 40px;
  vertical-align: middle;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span,
#nav-open span:before,
#nav-open span:after {
  position: absolute;
  width: 40px;
  height:40px;
  background: url(../img/menu.png) no-repeat;
  display: block;
  cursor: pointer;
}
#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}

/*閉じる用の薄黒カバー*/
#nav-close {
  display: none;/*はじめは隠しておく*/
  position: fixed;
  z-index: 99;
  top: 0;/*全体に広がるように*/
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;/*最前面に*/
  width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
  max-width: 230px;/*最大幅（調整してください）*/
  height: 100%;
  background: white;/*背景色*/
  transition: .3s ease-in-out;/*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);/*左に隠しておく*/
}

#nav-content li {
  color: white;
  background: #66482e;
  line-height: 1.5em;
  border-bottom: 2px solid white;
  list-style-type: none!important;
  font-weight: bold;
}

#nav-content ul li.contents {
  background: #e49e61;
}

#nav-content ul li a {
  margin: 0;
  padding: 0.4em 1em;
  list-style-type: none;
  text-align: left;
  display: block;
  position: relative; /* IE6用 */
  text-decoration: none; /* テキストの下線（なし） */
  color: white;
}

#nav-content ul li a:hover{
  background: #9fc24d;
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
  display: block;/*カバーを表示*/
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);/*中身を表示（右へスライド）*/
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}


