@charset "UTF-8";

/*全てのwebページに適用される*/
html{
  font-family: sans-selrif; /*文字のフォントをゴシックに*/
}
html * {
  bonx-sizing: border-box;å
}
body{
   margin: 0 0 0 0;
  background-color: #eeece9;
}
.wrapper {
  margin:0 auto 0 auto;
  max-width:960px;
}
h2{
  color: #3f7043;
  font-size: 22px;
  border-bottom: 3px dotted #3f5170;
  margin-top: 20px;
  margin-right: 0px;
  margin-bottom: 20px;
  margin-left: 0px;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
}
p{
  line-height: 1.6; /* 行間の指定 */
}
/*aタグで，かつ:link状態の要素を指定*/
a:link{
  color: #d25833;
}
a:visited{
  color: #d25833;
}
a:hover{
  color: #e3937a;
}
a:active{
  color:#ff6a3b;
}
img{ /* 画像のサイズをボックスの幅に合わせて調整する，ほぼ必須 */
  max-width: 100%;
  height: auto;
}
video{ /* 動画のサイズをボックスの幅に合わせて調整する，ほぼ必須 */
  max-width: 100%;
  height: auto;
}
.article-item{
  display: flex;/*フレックスボックスで画像と文章を横に並べる*/
  bourder-bottom: 1px dashed #bec2c7;
  padding: 20px 8px;
}
/*menu-itemの子要素のmenu-photoとmenu-textが横に並ぶ*/
.article-photo{
  margin-right: 16px;
  flex: 1 1 auto;　 /*横幅を伸縮させたいものにはこう書く*/
}
.article-text{
  flex: 0 0 336px;　/*横幅を固定したいものにはこう書く，横幅は336px指定*/
}
/*全てのページに適用　ヘッダー*/
.logo{
  margin: 50px 0 40px 0;
  line-height: 0;
  text-align: center;
}

.nav li{
  display: inline;
  list-style-type: none;
  padding-right: 30px;
}
.nav ul{
  margin: 0 0 0 0 ;
  padding: 20px 10px 15px 20px;
  background-image: url(../images/menu-bg.png);
  background-repeat: repeat-x;
}
.nav a:link{
  color: #3c454d;
  text-decoration: none;
}
.nav a:visited{
  color: #3c454d;
  text-decoration: none;
}
.nav a:hover{
  color: #7b8dac;
  text-decoration: none;
}
.nav a:active{
  color: #5a9bc0;
  text-decoration: none;
}

/*全てのページに適用　目次*/

.mokuji ul{
  margin: 0 0 0 0 ;
  padding: 5px 10px 15px 5px;
}
.mokuji li{
  display: inline;
  list-style-type: none;
  padding-right: 30px;
}

.mokuji a:link{
  color: #3c454d;
  text-decoration: none;
}
.mokuji a:visited{
  color: #3c454d;
  text-decoration: none;
}
.mokuji a:hover{
  color: #7b8dac;
  text-decoration: none;
}
.mokuji a:active{
  color: #5a9bc0;
  text-decoration: none;
}
/*全てのページに適用　文字の途中改行防止*/
span {
  display: inline-block;
}
/*全てのページに適用　スペシャルサンクス*/
.thanks{
  font-size: 14px;
  padding: 0px 0px 5px 5px;
  color: #e48989;
}
/*全てのページに適用　red*/
.red{
  color: red;
}
/*全てのページに適用　オリジナル作品*/
.original{
  font-size: 14px;
  padding: 0px 0px 5px 5px;
  color: #4d4d4d;
}
/*全てのページに適用　Goods Name*/
.goodsname{
  font-size: 20px;
  padding: 5px 5px 5px 5px;
  color: #000000;
}
/*全てのページに適用　フッター*/
.footer{
  background-image: url(../images/fotter-bg.png);
  background-repeat:  no-repeat;
  margin-top: 30px;
  padding: 80px 15px 20px 15px;
  font-size: 12px;
  color: #3f5170;
}

/*個別のスタイル*/
/* index.html */
.keyvisual{
  margin: 15px 0 0 0;
}
.news-item{ /* ニュースの部分の行間が埋まる*/
  margin: 0;
}

.shop-photo{
  float: left;
  padding: 0 1em 1em 0;
}
.clear{
  clear: both;
}
/* テーブル　*/
.info{
  border-collapse: collapse;
}
.info th, .info td{
  padding: 8px;
  border: 1px solid #bec2c7;
  text-align: left;
}
.info th{
  background-color: #dde2ea;
  width: 90px;
  color: #3f5170;
  vertical-align: top;
}

/* access.html */
.map{
  text-align: center;
}

/* access html */
form div{
  padding: 12px;
  border-bottom: 1px dashed #bec2c7;
}
select{
  width: 30em;
}
input[name="subject"]{
  width: 30em;
}
textarea {
  width: 30em;
  height: 6em;
}
input[type="submit"]{
  margin: 20px 0;
  width: 30em;
}
/* スマートフォンむけCSS */
@media (max-width: 767px){ /* 最大幅が767以下の時は，{}の中身を実行する． */
  /* 全体　ーナビゲーション */
  .wrapper{
    margin: 0 8px;
  }
  .logo{
    margin: 30px;
  }
  .logo img{
    width: 200px;
  }
  .nav{
    background-color: #dfddda;
  }
  .nav li{
    display: block; /*画面幅が狭い時は，よこではなく縦に並ぶようにする*/
  }

  /* menu.html 横並び解除 */
  .menu-item{
    display: block; /*画面幅が狭い時は，よこではなく縦に並ぶようにする*/
  }
  .menu-photo{
    margin-right: 0;
    width: 100%;
  }
  .menu-text{
    width:100%;
  }

  /* about.html -画像のパディングを調整 */
  .shop-photo{
    padding-right: 0;
  }

  /* contact.html -フォーム */
  select{
    width: 100%;
  }
  input[name="subject"]{
    width:100%;
  }
  input[type="submit"]{
    margin: 20px 0;
    width: 100%;
  }
}
