@charset "utf-8";

html {
  font-size: 100%;
}

body {
  min-width: 320px;
  font-family: "Helvetica Neue", "Arial", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
}

li {
  list-style: none;
}

.site-title {
  padding: 0 16px;
  margin: 0 auto;
  text-align: center;
  position: absolute;
  top: 45%;
  left: 0;
  right: 0;
  filter: drop-shadow(1px 1px 10px #c0c0c0);
}

.sec-title {
  width: 100%;
  color: #fff;
  -ms-text-align: center;
  text-align: center;
  font-size: 4.5rem;
  filter: drop-shadow(1px 1px 10px #c0c0c0);
  position: absolute;
  top: 30%;
}

.item-title {
  font-size: 2.5rem;
  display: inline-block;
  border-bottom: solid 6px #e03131;
  margin-bottom: 70px;
}

.fixed-bg {
  height: 300px;
  background-color: #ffffff;
  /* 画像表示されない時の為の仮の色付け */
  background-attachment: fixed;
  /* 背景画像を固定 */
  -webkit-background-size: cover;
  background-size: cover;
  /* 画像の縦横比を維持し、画像を出来るだけ拡大縮小 */
  background-position: center;
  /* 背景画像は中央に貼付け */
}

/* 共通コンテンツ */
.wrapper {
  max-width: 1000px;
  padding: 90px 16px 150px;
  margin: 0 auto;
  text-align: center;
}


/* ------------------
ヘッダー（header）
------------------ */
#header {
  background-image: url(../img/coffee_shop2.jpg);
  width: 100%;
  min-height: 100vh;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 20px 40px;
  position: relative;
}

nav ul {
  display: flex;
  justify-content: flex-end;
}

nav ul li {
  margin: 0 0 0 30px;
}

nav ul li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

nav ul li a:hover {
  color: #e03131;
  text-decoration: none;
}

/* ------------------
メニュー（menu）
------------------ */
#menu {
  margin: 20px 0 0;
}

#menu .menu-img {
  background-image: url(../img/cofee_drink.jpg);
  position: relative;
}

#menu .menu-content {
  display: flex;
}

#menu .menu-item {
  width: 50%;
  padding: 0 45px;
}

#menu .menu-item:first-child {
  border-right: solid 1px #000;
}

#menu .menu-item dl {
  display: flex;
  flex-wrap: wrap;
}

#menu .menu-item dt {
  width: 87%;
  text-align: left;
  border-bottom: dotted 1px #000;
  margin: 0 0 25px;
}

#menu .menu-item dd {
  width: 13%;
  text-align: right;
  padding-top: 8px;
}

#menu .menu-item dl.food {
  margin: 0 0 55px 0;
}

/* ------------------
アバウト（about）
------------------ */
#about {
  margin: 20px 0 0 0;
}

#about .about-img {
  background-image: url(../img/about.jpg);
  background-size: 150%;
  position: relative;
}

#about ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 0 40px 0;
}

#about li {
  width: 50%;
  line-height: 2;
  text-align: left;
  padding: 2%;
}

#about .btn {
  width: 160px;
  height: 50px;
  line-height: 3.5;
  color: #000;
  display: inline-block;
  padding: 0;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
}

#about .btn span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

/*
.btn::before 右の赤線
.btn::after 下の赤線
.btn span::before 左の赤線
.btn span::after 上の赤線
*/

#about .btn::before,
#about .btn::after {
  position: absolute;
  content: '';
  right: 0;
  bottom: 0;
  background: #e03131;
  transition: all 0.3s ease;
}

#about .btn span::before,
#about .btn span::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  background: #e03131;
  transition: all 0.3s ease;
}

#about .btn::before,
#about .btn span::before {
  width: 2px;
  height: 50%;
}

#about .btn::after,
#about .btn span::after {
  width: 20%;
  height: 2px;
}

/*
ホバー時の縦の動作
右の赤線と左の赤線の高さを100%にする
*/
#about .btn:hover::before,
#about .btn span:hover::before {
  height: 100%;
}
/*
ホバー時の横の動作
下の赤線と上の赤線の横幅を100%にする
*/
#about .btn:hover::after,
#about .btn span:hover::after {
  width: 100%;
}

/* ------------------
ロケーション（location）
------------------ */
#location {
  margin: 20px 0 0 0;
}

#location .location-img {
  background-image: url(../img/bil0053-003.jpg);
  position: relative;
}

#location .item-map {
  filter: grayscale(1); /* filter は 、ぼかしや色変化などのグラフィック効果を要素に適用します。フィルターは画像、背景、境界の描画を調整するためによく使われます。 */
  margin: 0 0 20px;  
}

#location .item-map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

#location .item-info {
  text-align: left;
}

#location .item-info p {
  margin: 0 0 10px;
}

/* ------------------
フッター（footer）
------------------ */
#footer {
  text-align: center;
  font-size: 0.5rem;
  padding: 10px 0;
}

/* ------------------
レスポンシブ（SP）
------------------ */
@media (max-width: 767px){
  .site-title {
    top: 42%;
  }

  .site-title > img {
    min-width: 25%;
    min-height: 25%;
  }
  
  .sec-title {
    font-size: 2rem;
    top: 26%;
  }
  
  .item-title {
    font-size: 1.25rem;
    margin: 0 0 25px;
  }
  
  .fixed-bg {
    height: 94px;
    background-attachment: scroll;
  }
  
  .wrapper {
    padding: 30px 16px 60px;
  }
  
  #menu .menu-content {
    flex-direction: column;
  }
  
  #menu .menu-item {
    width: 100%;
    padding: 0;
  }
  
  #menu .menu-item:first-child {
  border: none;
  }
  
  #menu .menu-item dl {
    margin-bottom: 10px;
  }
  #menu .menu-item dl.food {
    margin-bottom: 10px;
  }
  
  #about ul {
  flex-direction: column;
  }

  #about li {
  width: 100%;
  }
}

