@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  vertical-align: top;
}

body {
  padding-top: 7px;
  font-family: Meiryo, メイリオ, sans-serif;
}

.container {
  width: 710px;
  margin: auto;
}

main {
  background: #edeae5;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 16px 10px 10px;
}

section {
  width: 340px;
  border: 1px solid #d9d9d9;
  /* padding-bottom: 15px; */
  background: #fff;
  margin-bottom: 25px;
}

section .title {
  background: url(../images/theme_bg.png) repeat-x bottom left;
  background-color: #604418;
  background-size: 20px auto;
  padding-bottom: 9px;
}
section .title h2 {
  line-height: 1.2;
  font-size: 18px;
  padding: 15px 10px 0;
}

section .title h2 a {
  font-weight: normal;
  color: #fff;
}

section .contents {
  padding: 0 10px;
}

section .course {
  font-size: 10px;
  display: flex;
  justify-content: flex-end;
  background: #f28100;
  padding: 1px;
  width: 115px;
  height: 15px;
  line-height: 14px;
  margin: 3px 10px 9px auto;
  white-space: nowrap;
}

section .course .course-lead {
  padding: 0 5px;
  color: #fff;
}

section .course .course-number {
  padding: 0 5px;
  background: #fff;
}

.contents .image-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}

.contents .image-container {
  margin-top: 10px;
  padding: 6px;
  position: relative;
  z-index: 1;
  background: url(../images/border_bg.png);
  display: flex;
  margin-right: 5px;
}

.contents .image-container:last-child {
  margin-right: 0;
}

.contents .image-container::after {
  content: "";
  background: #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: block;
  margin: 5px;
  z-index: -1;
}

.contents .image-container img {
  width: 100%;
}

.contents .menu-box {
  background: #f2eada;
  padding: 15px 10px 10px;
  position: relative;
  font-size: 16px;
  margin-bottom: 12px;
}

.contents .menu-box h3 {
  color: #fff;
  background: url(../images/food-icon-wide.svg) no-repeat center 4px,
    url(../images/manpuku_point.png) no-repeat center;
  font-size: 14px;
  font-weight: normal;
  position: absolute;
  left: calc(50% - 76px);
  top: -16px;
  text-align: center;
  width: 153px;
  height: 24px;
  line-height: 26px;
}

.contents .menu-box ul li {
  list-style: none;
  line-height: 1.2;
  margin-bottom: 0.2em;
  padding-left: 20px;
  text-indent: -1.4em;
}
.contents .button {
  display: block;
  text-decoration: none;
  width: 250px;
  margin: 0 auto 15px;
}

.contents .button p {
  background: #f28100;
  border: 1px solid #f9c080;
  border-radius: 5px;
  border-top: 1px solid #fce0c0;
  box-shadow: 0 0 0 1px #f48100;
  color: #fff;
  font-size: 18px;
  height: 38px;
  line-height: 38px;
  position: relative;
  text-align: center;
}

.contents .button:hover p {
  background: #ff8b06;
}

.contents .button:active p {
  border: 1px solid #f48100;
  border-left: 1px solid #ad5c00;
  border-top: 2px solid #ad5c00;
  background: #e07800;
}

.contents .button p::before,
.contents .button p::after {
  content: "";
  display: block;
  background: #fff;
  height: 8px;
  position: absolute;
  width: 5px;
  left: 205px;
}

.contents .button p::before {
  transform: skewX(45deg);
  top: calc(50% - 8px);
}

.contents .button p::after {
  transform: skewX(-45deg);
  top: 50%;
}

footer a {
  display: block;
  margin: 12px 16px 8px auto;
  width: 124px;
  height: 20px;
}

@media (max-width:767px) {
  img {
    width: 100%;
    height: auto;
  }
  
  body {
    padding-top: 0;
  }
  
  .container {
    width: auto;
  }

  main {
    justify-content: center;
  }

  section .title {
    background-size: 17px auto;
  }
  
  section .title h2 {
    font-size: 16px;
  }
  
  section .course {
    margin-bottom: 4px;
  }
  
  .contents .image-container {
    height: 110px;
  }
  
  .contents .menu-box {
    font-size: 14px;
  }
  
  .contents .button {
    width: 220px;
  }
  
  .contents .button p {
    text-indent: -1em;
  }
  
  .contents .button p::before,
  .contents .button p::after {
    left: 184px;
  }
  
  footer a {
    margin-bottom: 16px;
    margin-top: 20px;
  }

}