@charset "utf-8";

/*
Theme Name: Smilefarm WordPress Themes
Theme URI: https://smile-farm.co.jp/
Author: Smilefarm
Author URI: https://smile-farm.co.jp
Description: Smilefarm WordPress Themes
Version: 1.0
Text Domain: Smilefarm
*/

.anchor_adjust {
  padding-top: 80px;
  margin-top: -80px;
}

@media screen and (max-width: 1100px) {
  .anchor_adjust {
    padding-top: 60px;
    margin-top: -60px;
  }
}
.fs11_10 {
  font-size: 11px;
}
.fs14_12 {
  font-size: 14px;
}
.fs14_13 {
  font-size: 14px;
}
.fs16_13 {
  font-size: 16px;
}
.fs14_11 {
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .fs11_10 {
    font-size: 10px;
  }
  .fs14_12 {
    font-size: 12px;
  }
  .fs14_13 {
    font-size: 13px;
  }
  .fs16_13 {
    font-size: 13px;
  }
  .fs14_11 {
    font-size: 11px;
  }
}
.header {
  position: fixed;
  z-index: 100;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 3px 10px rgb(0 0 0 / 50%);
}
.header_container {
  position: relative;
  max-width: 1720px;
  height: 80px;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (max-width: 1760px) {
  .header_container {
    width: 100%;
  }
}

.header_logo {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}
nav {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}
.gnavi {
  margin-bottom: 0;
}
.gnavi > li {
  display: inline-block;
  font-weight: bold;
}
.gnavi > li:not(:last-of-type) {
  margin-right: 30px;
}
.sns_icon_w .insta_icon {
  margin-right: 20px;
}

@media screen and (max-width: 1200px) {
  .gnavi > li {
    font-size: 14px;
  }
}

@media screen and (max-width: 1100px) {
  .header_container {
    height: 60px;
  }
  .header_logo {
    width: 108px;
  }
  .gnavi {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #fff;
  }
  .gnavi > li {
    display: block;
    font-size: 16px;
    text-align: center;
  }
  .gnavi > li:not(:last-of-type) {
    margin-right: 0;
  }
  .sns_icon_w > a {
    display: inline-block;
  }
}

main {
  padding-top: 80px;
}

@media screen and (max-width: 1100px) {
  main {
    padding-top: 60px;
  }
}

.firstview_w > .fv_pc {
  display: block;
}
.firstview_w > .fv_sp {
  display: none;
}

@media screen and (max-width: 500px) {
  .firstview_w > .fv_pc {
    display: none;
  }
  .firstview_w > .fv_sp {
    display: block;
  }
}

/* about */
.about_logo_w {
  width: 40%;
}
.about_text {
  width: 60%;
}
.about_dtl_in {
  display: flex;
}
.top_about_w .about_l {
  width: 35%;
}
.top_about_w .about_r {
  width: 65%;
}
.about_text_w {
  display: flex;
  margin-bottom: 60px;
}

/* .about_dtl_w > li:first-of-type {
  border-top: 1px solid #E0E3E8;
} */
.about_dtl_w > li {
  color: #555;
  border-bottom: 1px solid #e0e3e8;
}
.about_dtl_in {
  padding: 50px 10px;
}
.about_dtl_in:first-of-type {
  padding-top: 30px;
}
.about_dtl_in > h3 {
  margin-bottom: 0;
  line-height: 1;
}
.about_dtl_w dt {
  display: inline-block;
  width: 155px;
  font-size: inherit;
  vertical-align: top;
}
.about_dtl_w dd {
  position: relative;
  display: inline-block;
  width: calc(100% - 160px);
  padding-left: 45px;
  margin-bottom: 20px;
  vertical-align: top;
}
.about_dtl_w dt::before {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 10px;
  content: "";
  border: 4px solid #555;
  border-radius: 8px;
}
.about_dtl_w dd::before {
  position: absolute;
  left: 0;
  display: block;
  width: 30px;
  height: 1px;
  margin-top: 12px;
  content: "";
  background-color: #555;
}

/* 20240909追加 */

.about_dtl_in > .kyokai-name {
  display: grid;
  grid-template-columns: 1fr;
  width: 80%;
}
.about_dtl_in > .kyokai-name > ul {
  list-style-type: disc;
}
.about_dtl_in > .kyokai-name > p {
  margin-bottom: 5px;
  font-weight: bold;
}

/* 20240909追加 */

@media screen and (max-width: 768px) {
  .about_text_w {
    flex-wrap: wrap;
    margin-bottom: 30px;
  }
  .about_dtl_in {
    flex-wrap: wrap;
  }
  .top_about_w .about_l {
    width: 100%;
  }
  .top_about_w .about_r {
    width: 100%;
  }

  .about_logo_w {
    order: 2;
    width: 100%;
    max-width: 180px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
  .about_text {
    order: 1;
    width: 100%;
    margin-bottom: 30px;
  }
  .about_dtl_w h3 {
    margin-bottom: 20px;
  }
  .about_dtl_w dt {
    width: 100%;
    margin-bottom: 0;
  }
  .about_dtl_w dd {
    width: 100%;
    padding-left: 20px;
    margin-bottom: 10px;
  }
  .about_dtl_w dt::before {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid #555;
    border-radius: 5px;
  }
  .about_dtl_w dd::before {
    content: none;
  }
  .about_dtl_in {
    padding: 30px 0;
  }
  .about_dtl_in:first-of-type {
    padding-top: 20px;
  }
}

/* トップ　受賞製品 */
.h2sub {
  margin-bottom: 0;
  font-weight: bold;
  text-align: center;
}
.top_award_ul > li {
  margin-bottom: 160px;
}
.award_title {
  top: -30px;
  left: 0;
  width: 36px;
  padding: 10px 0;
  margin: 0;
  font-weight: bold;
  line-height: 36px;
  color: #fff;
  background: #000;
  writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.award_dtl_w {
  display: flex;
  justify-content: space-between;
  margin-left: 50px;
}
.awards_img_w {
  width: 48%;
  max-width: 650px;
  margin-right: 2%;
}
.awards_item_w {
  width: 48%;
  max-width: 600px;
  margin-left: 2%;
}
.awards_item_w h3 {
  margin-bottom: 30px;
  line-height: 1.4;
}
.item_category {
  display: inline-block;
  padding: 0 5px;
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid #555;
}
.item_desc {
  color: #555;
}
.item_info {
  width: 100%;
  padding: 10px;
  color: #555;
  border-top: 1px solid #e0e3e8;
  border-bottom: 1px solid #e0e3e8;
}
.item_info dt {
  display: inline-block;
  width: 130px;
  margin-bottom: 0;
  font-weight: normal;
  vertical-align: top;
}
.item_info dd {
  display: inline-block;
  width: calc(100% - 135px);
  margin-bottom: 0;
  vertical-align: top;
}
.award_comment_w {
  padding: 20px;
  margin-bottom: 1rem;
  background-color: #fff;
}
.award_comment_w h4 {
  font-size: 16px;
}
.award_comment {
  list-style: disc;
}

p.btn_to_comp_info_w {
  cursor: pointer;
}
p.btn_to_comp_info_w:hover {
  text-decoration: none;
  opacity: 0.7;
}
.btn_to_comp_info_w {
  display: block;
  width: 100%;
  padding: 18px 0;
  text-align: center;
  background-color: #d4d3df;
}
.btn_to_comp_info_w:hover {
  text-decoration: none !important;
  opacity: 0.7;
}
.btn_to_comp_info {
  font-weight: bold;

  /* line-height: 18px; */
  text-align: left;
  cursor: pointer;
  background-color: #d4d3df;
}
.btn_to_comp_info::before {
  display: inline-block;

  /* width:24px; */
  max-width: 24px;
  margin-right: 30px;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  content: url("img/icon_factory.svg");
}
.btn_to_comp_info > span.disp_ib {
  display: inherit;
}
.btn_buy_w {
  flex-wrap: wrap;
  justify-content: space-between;
}
.btn_buy {
  display: block;
  width: 100%;
  padding: 18px 0;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  background-color: #fff;
  border: 1px solid #000;

  /* line-height: 18px; */
}
a.btn_buy:hover {
  text-decoration: none;
  opacity: 0.7;
}
.btn_buy_w > a.btn_buy {
  width: 100%;
  margin-top: 10px;
}

/* .award_dtl_w .btn_buy_w a.btn_buy:not(:first-of-type) {
    width: 49%;
} */
.btn_buy_in {
  text-align: left;
}
.btn_buy .btn_buy_in > span.disp_ib {
  display: inherit;
}

@media screen and (max-width: 768px) {
  .btn_to_comp_info > span.disp_ib,
  .btn_buy .btn_buy_in > span.disp_ib {
    display: inline-block;
  }
  .item_info {
    padding: 10px 0;
  }
}
.btn_furusato::before {
  display: inline-block;
  margin-right: 10px;
  line-height: 1;
  vertical-align: middle;
  content: url("img/icon_furusato.svg");
}
.btn_cart::before {
  display: inline-block;
  margin-right: 10px;
  line-height: 1;
  vertical-align: middle;
  content: url("img/icon_cart.svg");
}
.btn_fac::before {
  display: inline-block;
  margin-right: 10px;
  line-height: 1;
  vertical-align: middle;
  content: url("img/icon_factory.svg");
}
.jury_award_ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 0;
  margin-left: 70px;
}
.jury_award_ul::after {
  display: block;
  width: 30%;
  content: "";
}
.jawards_item_w {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 30%;
  margin-bottom: 80px;
}
.jury {
  margin-bottom: 5px;
  margin-left: auto;
  font-size: 13px;
  font-weight: bold;
}
.jawards_item_w > h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.jawards_img_w {
  width: 100%;
  text-align: center;
}
.jawards_img_w > img {
  width: 100%;
  margin-bottom: 0;
}
.jury_award_ul .btn_buy_w {
  flex-wrap: wrap;
  width: 100%;
}
.jury_award_ul .btn_buy_w > a {
  padding: 10px 0;
}
.jury_award_ul .btn_buy_w > a:first-of-type {
  width: 100%;
}
.jury_award_ul .btn_to_comp_info::before {
  margin-right: 5px;
}
.jury_award_ul .btn_buy_w > a.btn_buy:not(:last-of-type) {
  margin-right: 0;
}
.jury_award_ul .btn_buy_w > a:nth-of-type(n + 1) ~ a {
  margin-top: 10px;
}
.disp_1300 {
  display: none;
}
.jury_award_ul .item_info dt {
  width: 90px;
}
.jury_award_ul .item_info dd {
  width: calc(100% - 95px);
}

@media screen and (max-width: 1300px) {
  .disp_1300 {
    display: block;
  }
  .jury_award_ul .btn_to_comp_info::before {
    margin-right: 10px;
  }
  .jury_award_ul .btn_buy_w > a > span {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
  }
}

@media screen and (max-width: 1150px) {
  .award_dtl_w .btn_buy_w {
    flex-wrap: wrap;
  }
  .award_dtl_w .btn_buy_w > a {
    width: 100%;
  }
  .award_dtl_w .btn_buy_w .btn_buy_in {
    display: inline-block;
  }
  .award_dtl_w .btn_buy_w .btn_furusato::before,
  .award_dtl_w .btn_buy_w .btn_cart::before {
    width: 24px;
    margin-right: 5px;
    text-align: center;
  }
  .jawards_item_w {
    width: 48%;
  }
}

@media screen and (max-width: 768px) {
  .h2sub {
    line-height: 1.5;
  }
  .top_award_ul > li {
    margin-bottom: 80px;
  }
  .award_title {
    top: -20px;
    width: 26px;
    line-height: 26px;
  }
  .award_dtl_w {
    flex-wrap: wrap;
    margin-left: 40px;
  }
  .awards_item_w h3 {
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .awards_img_w {
    width: 100%;
    max-width: initial;
    margin-right: 0;
  }
  .awards_img_w img {
    width: 100%;
  }
  .awards_item_w {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
  .item_category {
    margin-bottom: 15px;
  }
  .item_info dt {
    width: 80px;
  }
  .item_info dd {
    width: calc(100% - 84px);
  }
  .btn_buy_w {
    flex-wrap: wrap;
  }
  .award_dtl_w .btn_buy_w a.btn_buy:first-of-type {
    width: 100%;
  }
  .jury {
    font-size: 11px;
  }
  .jury_award_ul .btn_buy_w > a {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .jury_award_ul {
    margin-left: 40px;
  }
  .jawards_item_w {
    width: 100%;
    margin-bottom: 50px;
  }
  .jawards_item_w > h3 {
    margin-top: 20px;
  }
  .disp_1300 {
    display: none;
  }
  .jury_award_ul .btn_to_comp_info {
    width: 190px;
  }
}

@media screen and (max-width: 600px) {
  .disp_1300 {
    display: block;
  }
  .jury_award_ul .btn_buy_w > a > span {
    display: block;
    text-align: center;
  }
  .jury_award_ul .btn_to_comp_info {
    width: 100%;
  }
  .award_dtl_w .btn_buy_w a.btn_buy:nth-of-type(n) {
    width: 100%;
  }
}

/* モーダルウインドウ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80000;
  display: none;
  width: 100%;
  height: 100vh;
}
.modal__bg {
  position: absolute;
  width: 100%;
  height: 100vh;
  background: rgb(25 25 25 / 80%);
}
.modal__content {
  position: absolute;
  top: 120px;
  bottom: 80px;
  left: 50%;
  width: 90%;
  max-width: 1400px;
  padding-right: 50px;
  padding-left: 50px;
  overflow: auto;
  overscroll-behavior: none;
  background: #fff;
  transform: translate(-50%, 0);
}
.modal__batsu {
  position: absolute;
  top: 70px;
  right: 70px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.modal__batsu::before {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 40px;
  height: 2px;
  content: "";
  background: #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: center;
}
.modal__batsu::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 40px;
  height: 2px;
  content: "";
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
}
.pc_shop_btn_w .mes {
  max-width: 290px;
  margin: 10px auto 0;
  text-align: left;
}
.tag_comp_info {
  position: absolute;
  top: 0;
  width: 18px;
  padding: 10px 0;
  margin: 0;
  font-size: 11px;
  font-weight: bold;
  line-height: 18px;
  color: #fff;
  background: #000;
  writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.company_w {
  display: flex;
  justify-content: space-between;
  margin-left: 48px;
}
.company_text {
  width: 55%;
  padding-right: 4%;
}
.company_text > h3 {
  margin-bottom: 30px;
  line-height: 1.4;
}
.maker_img_w {
  width: 45%;
}
.company_w h4 {
  margin-top: 40px;
}
.company_info_w > div {
  display: flex;
  border-bottom: 1px solid #e0e3e8;
}
.company_info_w > div:nth-of-type(1) {
  border-top: 1px solid #e0e3e8;
}
.company_info_w dt {
  width: 35%;
}
.company_info_w dd {
  width: 65%;
}
.company_info_w dt,
.company_info_w dd {
  padding: 10px 5px;
  margin-bottom: 0;
  font-size: inherit;
  vertical-align: top;
}
.company_info_w a {
  color: #c81616;
  text-decoration: underline;
}
.company_info_w a:hover {
  color: #c81616;
  text-decoration: none;
}
.list_disc {
  list-style: disc;
}
.modal_inner_w {
  width: 100%;
  max-width: 1200px;
  margin: 100px auto;
}

@media screen and (max-width: 900px) {
  .modal_inner_w {
    max-width: 500px;
  }
  .tag_comp_info {
    position: static;
    display: inline-block;
    width: auto;
    padding: 0 10px;
    writing-mode: horizontal-tb;
  }
  .company_w {
    margin-left: 0;
  }
  .company_w {
    flex-wrap: wrap;
  }
  .company_text {
    order: 2;
    width: 100%;
    padding-right: 0;
  }
  .maker_img_w {
    order: 1;
    width: 100%;
  }
  .company_text > h3 {
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .modal__batsu > span:last-of-type {
    top: 0;
    right: 19px;
    height: 40px;
  }
  .modal__batsu > span:first-of-type {
    top: 19px;
    width: 40px;
  }
  .modal__batsu {
    top: 40px;
    right: 10px;
  }
  .modal__content {
    top: 90px;
    bottom: 30px;
    padding: 15px;
  }
  .modal_inner_w {
    margin-top: 0;
    margin-bottom: 0;
  }
}
.product_btn {
  position: relative;
  display: block;
  padding: 25px 40px 25px 15px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background-color: #000;
  border: 1px solid #000;
  transition: all 0.5s;
}
.product_btn::after {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-left: 30px;
  content: "";
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transition: all 0.5s;
  transform: rotate(45deg) translateY(-65%);
}
.product_btn:hover {
  color: #000;
  text-decoration: none;
  background-color: #fff;
}
.product_btn:hover::after {
  border-top: 1px solid #000;
  border-right: 1px solid #000;
}

@media screen and (max-width: 1000px) {
  .product_btn {
    font-size: 22px;
  }
}

@media screen and (max-width: 768px) {
  .product_btn {
    padding: 15px 30px 15px 10px;
    font-size: 16px;
  }
  .product_btn::after {
    right: 20px;
  }
}

/* トップフッター */
.jury_list > ul > li > span {
  font-weight: bold;
}
.jury_list > ul {
  list-style-type: disc;
}
.footer_about_w .about_l {
  width: 20%;
}
.footer_about_w .about_r {
  width: 80%;
}
.footer_about_w .about_r2 {
  list-style-type: disc;
}
.footer_about_w .about_r2 {
  display: flex;
  flex-wrap: wrap;
}
.footer_about_w .about_r2 > li {
  width: 50%;
}
.footer_about_w .about_r2 > li:nth-of-type(odd) {
  padding-right: 30px;
}
.toppage .fmenu_w {
  padding-top: 50px;
}

@media screen and (max-width: 768px) {
  .footer_about_w .about_r2 > li {
    width: 100%;
  }
  .footer_about_w .about_r2 > li:nth-of-type(odd) {
    padding-right: 0;
  }
  .footer_about_w .about_l {
    width: 100%;
  }
  .footer_about_w .about_r {
    width: 100%;
  }
  .footer_about_w .about_r > li {
    margin-bottom: 5px;
    line-height: 1.6;
  }
}

.btn_to_comp_info_w2 {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px 0;
  margin-top: 20px;
  margin-right: auto;
  margin-left: auto;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  background-color: #d4d3df;

  /* max-width: 200px; */
}
.btn_to_comp_info_w2:hover {
  text-decoration: none;
  opacity: 0.7;
}
a.btn_to_comp_info_w2::after {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 0.5em;
  height: 0.5em;
  content: "";
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transition: 0.5s;
  transform: translateY(-50%) rotate(45deg);
}

@media screen and (max-width: 768px) {
  .btn_to_comp_info_w2 {
    padding: 10px 0;
    font-size: 12px;
  }
}

/* .products_item_flex_w {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
} */

.td_underline_bl {
  text-decoration: underline;
}
.td_underline_bl:hover {
  text-decoration: underline;
}
.ul_list_none {
  padding-left: 0;
  list-style: none;
}

.va_middle {
  vertical-align: middle;
}

.to_upright {
  /* 英数字の向きを縦にする */
  letter-spacing: 5px;
  text-orientation: upright;
  -webkit-text-combine: horizontal;

  /* 英数字の向きを縦にする */
  -ms-text-combine-horizontal: all;

  /* 英数字の向きを縦にする */
  text-combine-upright: all;
}

.page_fv {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  text-align: center;
}

.page_fv h1 {
  position: relative;
  margin-bottom: 1em;
}

.page_fv h1::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 30px;
  content: "";
  background-color: #000;
  transform: translate(-50%, 100%);
}

.page_fv span {
  width: 300px;
  padding: 5px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background-color: #000;
}

@media screen and (max-width: 768px) {
  .page_fv {
    height: 245px;
  }

  .page_fv h1::after {
    bottom: 5px;
    height: 25px;
  }

  .page_fv span {
    width: 250px;
    font-size: 18px;
  }
}

.category_w {
  background-color: #f5f7f9;
}

.category_w h3 {
  margin-bottom: 40px;
}

.cate_btn_w {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.cate_btn_w a {
  position: relative;
  width: calc(320 / 1400 * 100%);
  padding: 15px 30px 15px 15px;
  font-weight: bold;
  color: #555;
  text-align: center;
  background-color: #fff;
  border: 1px solid #e0e3e8;
  transition: all 0.5s;
}

.cate_btn_w a::after {
  position: absolute;
  top: 35%;
  right: 15px;
  width: 10px;
  height: 10px;
  content: "";
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transition: all 0.5s;
  transform: rotate(45deg);
}

.cate_btn_w a:not(:nth-of-type(4n)) {
  margin-right: calc(40 / 1400 * 100%);
}

.cate_btn_w a:nth-of-type(-n + 4) {
  margin-bottom: 20px;
}

.cate_btn_w a:hover {
  color: #fff;
  text-decoration: none;
  background-color: #000;
}

.cate_btn_w a:hover::after {
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

@media screen and (max-width: 1000px) {
  .cate_btn_w a {
    width: calc(320 / 1000 * 100%);
  }

  .cate_btn_w a:nth-of-type(3n) {
    margin-right: 0;
  }

  .cate_btn_w a:not(:nth-of-type(3n)) {
    margin-right: calc(20 / 1000 * 100%);
  }

  .cate_btn_w a:nth-of-type(-n + 7) {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 640px) {
  .cate_btn_w a {
    width: calc(310 / 640 * 100%);
  }

  .cate_btn_w a::after {
    right: 10px;
  }

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

  .cate_btn_w a:not(:nth-of-type(2n)) {
    margin-right: calc(20 / 640 * 100%);
  }

  .cate_btn_w a:nth-of-type(-n + 7) {
    margin-bottom: 20px;
  }
}

.categories {
  padding-top: 150px;
}

.categories:first-of-type {
  padding-top: 100px;
}

.categories:last-of-type {
  padding-bottom: 200px;
}

.categories h2 {
  margin-bottom: 50px;
}

.products_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}

.products_item {
  display: grid;
  grid-template-rows: fit-content(200px) auto;
  grid-template-columns: 20px 1fr;
  width: calc(320 / 1400 * 100%);
  margin-bottom: 60px;
  -ms-grid-columns: 20px 1fr;
  -ms-grid-rows: fit-content(200px) auto;
}

.products_item:not(:nth-of-type(4n)) {
  margin-right: calc(40 / 1400 * 100%);
}

.products_item > div:nth-of-type(1) {
  grid-row: 1;
  grid-column: 1;
  grid-column: 1 / 2;
}

.products_item > div:nth-of-type(2) {
  grid-row: 1;
  grid-column: 2;
  grid-column: 2 / 3;
}

.products_item > div:nth-of-type(3) {
  grid-row: 2;
  grid-column: 2;
  grid-column: 2 / 3;
}

.awards_tag {
  padding: 5px 3px;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  letter-spacing: 2px;
  background-color: #000;
  writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.products_img {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid #f5f7f9;
}

.products_tag {
  display: inline-block;
  padding: 0 5px;
  font-size: 11px;
  font-weight: bold;
  color: #555;
  background-color: #fff;
  border: 1px solid #555;
}

.products_tit {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}

.products_comp {
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: bold;
}

.products_url {
  margin-bottom: 0;
  font-size: 12px;
  word-break: break-all;
}

@media screen and (max-width: 1000px) {
  .products_item {
    width: calc(320 / 1000 * 100%);
  }

  .products_item:nth-of-type(3n) {
    margin-right: 0;
  }

  .products_item:not(:nth-of-type(3n)) {
    margin-right: calc(20 / 1000 * 100%);
  }
}

@media screen and (max-width: 768px) {
  .categories {
    padding-top: 80px;
  }

  .categories:first-of-type {
    padding-top: 60px;
  }

  .categories:last-of-type {
    padding-bottom: 80px;
  }

  .categories h2 {
    margin-bottom: 30px;
  }

  .products_item {
    grid-template-rows: fit-content(200px) auto 1fr;
    grid-template-columns: 1fr;
    width: 48%;
    margin-bottom: 60px;
    -ms-grid-columns: 1fr;
    -ms-grid-rows: fit-content(200px) auto 1fr;
  }

  .products_item > div:nth-of-type(1) {
    grid-row: 2;
    grid-column: 1;
    grid-column: 1 / 2;
  }

  .products_item > div:nth-of-type(2) {
    grid-row: 1;
    grid-column: 1;
    grid-column: 1 / 2;
  }

  .products_item > div:nth-of-type(3) {
    grid-row: 3;
    grid-column: 1;
    grid-column: 1 / 2;
  }

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

  .products_item:not(:nth-of-type(2n)) {
    margin-right: 4%;
  }

  .awards_tag {
    padding: 3px 5px;
    writing-mode: initial;
  }

  .products_tag {
    font-size: 10px;
  }

  .products_tit {
    margin-bottom: 5px;
    font-size: 13px;
  }

  .products_comp,
  .products_url {
    margin-bottom: 0;
    font-size: 11px;
  }
}

/* フッター */
.past_w {
  background-color: #f5f7f9;
}

.past_w h2 {
  margin-bottom: 80px;
}

.past_btn_w {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.past_btn_w::after {
  width: 32%;
  content: "";
}

.past_btn_w a {
  position: relative;
  width: 32%;
  padding: 25px 40px 25px 15px;
  margin-bottom: 20px;
  font-size: 28px;
  color: #555;
  text-align: center;
  background-color: #fff;
  border: 1px solid #555;
  transition: all 0.5s;
}

.past_btn_w a::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 16px;
  height: 16px;
  content: "";
  border-top: 1px solid #555;
  border-right: 1px solid #555;
  transition: all 0.5s;
  transform: rotate(45deg) translateY(-65%);
}

.past_btn_w a:hover {
  color: #fff;
  text-decoration: none;
  background-color: #000;
}

.past_btn_w a:hover::after {
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}

.fmenu_w {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 0 50px;
}

.fmenu {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 45px;
  font-size: 13px;
}

.fmenu > a {
  padding: 0 20px;
  border-right: 1px solid #555;
}

.fmenu > a:first-of-type {
  padding-left: 0;
}

.foot_sns a {
  padding-left: 20px;
}

.fmenu_l {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 50%;
  padding-right: 3%;
}

.fmenu_l img {
  margin-right: 10px;
}

.fmenu_l p {
  margin-bottom: 0;
  font-size: 16px;
}

.fmenu_r {
  width: 50%;
  padding-left: 3%;
  font-size: 13px;
}

footer #copyright {
  margin-bottom: 0;
  font-size: 13px;
  color: #fff;
  text-align: center;
  background-color: #000;
}

@media screen and (max-width: 1150px) {
  .past_btn_w a {
    width: 49%;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 1000px) {
  .past_btn_w a {
    font-size: 22px;
  }

  .fmenu > a {
    padding: 0 8px;
  }

  .foot_sns a {
    padding-left: 8px;
  }
}

@media screen and (max-width: 768px) {
  .past_w h2 {
    margin-bottom: 30px;
  }

  .past_btn_w a {
    padding: 15px 30px 15px 10px;
    font-size: 16px;
  }

  .fmenu_w {
    justify-content: flex-start;
    width: 100%;
    max-width: 300px;
    padding: 60px 0 30px;
    margin: 0 auto;
  }

  .fmenu {
    order: 3;
  }

  .fmenu > a {
    display: none;
  }

  .fmenu_l {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }

  .fmenu_r {
    justify-content: flex-start;
    width: 100%;
    padding: 0;
  }

  footer #copyright {
    padding: 20px 0 67px;
    font-size: 10px;
    text-align: left;
  }
}

@media screen and (max-width: 600px) {
  .past_btn_w a:nth-of-type(n) {
    width: 100%;
    margin-right: 0;
  }

  .past_btn_w a:not(:last-of-type) {
    margin-bottom: 10px;
  }
}

/* 歴代グランプリ */
.gp_list {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 160px 1fr 2fr;
  border-bottom: 1px solid #e0e3e8;
  -ms-grid-columns: 160px 1fr 2fr;
  -ms-grid-rows: auto;
}

.gp_list > div {
  padding: 30px 20px 30px 0;
}

.gp_list:first-of-type > div {
  padding: 15px 20px 15px 0;
  font-weight: bold;
  background-color: #f5f7f9;
  border-bottom: none;
}

.gp_list > div:nth-of-type(1) {
  grid-row: 1;
  grid-column: 1;
  grid-column: 1 / 2;
  padding-left: 20px;
}

.gp_list > div:nth-of-type(2) {
  grid-row: 1;
  grid-column: 2;
  grid-column: 2 / 3;
  font-weight: bold;
}

.gp_list > div:nth-of-type(3) {
  grid-row: 1;
  grid-column: 3;
  grid-column: 3 / 4;
}

@media screen and (max-width: 768px) {
  .gp_list {
    grid-template-rows: auto auto;
    grid-template-columns: 80px 1fr;
    -ms-grid-columns: 80px 1fr;
    -ms-grid-rows: auto auto;
  }

  .gp_list > div {
    padding: 10px 10px 10px 0;
  }

  .gp_list:first-of-type > div {
    padding: 5px 10px 5px 0;
  }

  .gp_list > div:nth-of-type(1) {
    grid-row: 1;
    grid-row: 1 / 3;
    grid-column: 1;
    grid-column: 1 / 2;
    padding-left: 10px;
    -ms-grid-row-span: 2;
  }

  .gp_list > div:nth-of-type(2) {
    grid-row: 1;
    grid-column: 2;
    grid-column: 2 / 3;
    padding-bottom: 0;
  }

  .gp_list > div:nth-of-type(3) {
    grid-row: 2;
    grid-column: 2;
    grid-column: 2 / 3;
    padding-top: 0;
  }
}

#page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50000;
}
