@charset "UTF-8";

/* ---------------------------------------------------------------*\
$Common
\*--------------------------------------------------------------- */

/* main */

body {
  color: #333;
}

main {
  min-width: 1180px;
  background: #f9f9f9;

  /* min-height: 1225px; */
}

::selection {
  background: #888; /* Safari */
}

::-moz-selection {
  background: #888; /* Firefox */
}

/* top page - title */

.wrapper_title {
  width: 107.5px;
  height: auto;
}

h2.title {
  width: 24px;
  margin-top: 125px;
}

h2.title img {
  width: 100%;
  height: auto;
}

.first_context {
  width: 95%;
  margin: 120px 0;
  font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", "メイリオ", Meiryo, serif;
  font-size: 1.5rem;
  line-height: 3.8rem;
  text-align: justify;
  letter-spacing: 0.6px;
}

/* under layers - title */

.wrapper_page_title {
  width: 1000px;
  margin: 55px auto 75px;
}

h2.page_title {
  display: inline-block;
}

h2.page_title > a {
  display: block;
  font-family: ryo-display-plusn,serif;
  font-size: 2rem;
  color: #111;
}

h2.page_title::after {
  display: block;
  width: 40px;
  margin-top: 8px;
  content: '';
  border-bottom: solid 1px #111;
}

/* wrapper */

.wrapper_whole_contents {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  width: 1000px;
  margin: 0 auto 160px;
}

#wrapper_contents {
  width: 72%;
}

/* button */

a.button {
  position: relative;
  display: block;
  width: 140px;
  padding: 7px 0;
  margin-top: 28px;
  font-family: ryo-display-plusn,serif;
  font-size: 1.2rem;
  font-weight: 200;
  color: #fff;
  text-align: center;;
  background: #444;
  border-radius: 2px;
}

a.button > i.fa-angle-right {
  position: absolute;
  top: 9px;
  right: 9px;
  font-size: 1.4rem;
  color: #fff;
}

/* margin auto */

.margin_left {
  margin-left: auto;
}

.margin_right {
  margin-right: auto;
}

/* category page - その他のお菓子 */

.other_category_list {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  width: 100%;
  padding-top: 100px;
  margin-top: 100px;
  border-top: solid 1px #e8e8e8;
}

.other_category_title {
  position: relative;
  width: 80px;
}

.title_others {
  width: 24px;
}

.title_others img {
  width: 100%;
  height: auto;
}

.wrapper_others_products {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 636px;
}

.each_others {
  position: relative;
  width: 308px;
  height: 193px;
  margin-right: 20px;
  margin-bottom: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.each_others > a {
  display: block;
  width: 100%;
  height: 100%;
}

.each_others:nth-of-type(2n) {
  margin-right: 0;
}

.name_category {
  position: absolute;
  top: 20px;
  left: 14px;
  width: 28px;
}

.name_category img {
  width: 100%;
  height: auto;
}

.name_category_small {
  position: absolute;
  top: 13px;
  left: 12px;
  width: 23px;
}

.name_category_small img {
  width: 100%;
  height: auto;
}

.featured_products__caution{
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 4px; 
  font-family: ryo-display-plusn,serif;
  font-size: 20px;
  font-weight: bold;
  color: #444;
  text-align: right;
  background-color: rgba(255,255,255, 0.8);
}

@media screen and (max-width: 480px) {
  .featured_products__caution{
    font-size: 13px;
  }

}

/* pagenav */

.page_nation {
  margin-top: 30px;
  text-align: left;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
  color: #111 !important;
}

.wp-pagenavi a, .wp-pagenavi span {
  padding: 8px 11px !important;
  margin: 0 10px 0 0 !important;
  border: 1px solid #ddd;
}


/* ---------------------------------------------------------------*\
$1400px - option
\*--------------------------------------------------------------- */
@media screen and (min-width: 1400px) {
}

/* ---------------------------------------------------------------*\
$480px
\*--------------------------------------------------------------- */
@media screen and (max-width: 480px) {
  main {
    min-width: inherit;
  }

  .first_context {
    display: none;
  }

  .wrapper_whole_contents {
    -webkit-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-justify-content: inherit;
    justify-content: inherit;
    width: 100%;
    margin-bottom: 0;
  }

  .wrapper_title {
    display: none;
  }

  #wrapper_contents {
    width: 88%;
    margin: 0 auto;
  }

  .wrapper_page_title {
    width: 88%;
    margin: 40px auto 60px;
  }

  .each_others {
    width: 100%;
    margin-right: 0;
    margin-bottom: 14px;
  }

  .title_pt01 {
    left: 15px;
    font-size: 2rem;
  }

  .border_title_pt01,
  .border_title_pt02 {
    left: 30px;
  }

  .other_category_list {
    padding-top: 70px;
    margin-top: 70px;
  }

  .other_category_title {
    display: none;
  }
}
