body {
  font-family: "Noto Sans JP", sans-serif;
  min-width: 1110px;
  padding-bottom: 30px;
  background-image: url(../img/main_bg.jpg);
  background-repeat: repeat;
  background-size: 1440px auto;
  background-position: center top;
  background-color: #f3e9dd;
  position: relative;
}
body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: calc(100% - 30px * 2);
  height: calc(100% - 30px * 2);
  display: block;
  border: 5px solid #bf8e28;
  pointer-events: none;
  z-index: 1;
}

.pagetop {
  display: none;
  position: fixed;
  bottom: 120px;
  right: 50px;
  z-index: 10000;
}

.pagetop a {
  display: block;
  text-indent: -9999px;
  width: 70px;
  height: 70px;
  background: url(../img/page_top.png);
  background-size: 70px;
}

.pagetop a:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
}

header {
  background-image: url(../img/main_pt.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;
  padding: calc(125 / 1440 * 100vw) 0 0;
  height: calc(630 / 1440 * 100vw);
  min-height: calc(630 / 1440 * 1110px);
  text-align: center;
  position: relative;
}
header::after {
  content: "";
  position: absolute;
  left: calc(212 / 1440 * 100%);
  top: calc(36 / 1440 * 100%);
  display: block;
  width: calc(622 / 2 / 1440 * 100%);
  height: calc(546 / 2 / 1440 * 100vw);
  pointer-events: none;
  background-image: url(../img/main_foods.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 1;
}
header .logo {
  position: absolute;
  right: 0;
  top: 0;
  width: 160px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../img/main_bg.jpg);
  background-repeat: repeat;
  background-size: 1440px auto;
  background-position: right top;
  z-index: 1;
}
header .logo img {
  width: calc(218px / 2);
}
header h1 {
  width: calc(1200 / 2 / 1440 * 100%);
  margin: 0 auto;
  position: relative;
}
header h1 img {
  width: 100%;
}
header .product {
  position: absolute;
  bottom: calc(50 / 1440 * 100vw);
  right: calc(200 / 1440 * 100%);
  width: calc(290 / 1440 * 100%);
  transform: rotate(-10deg);
  z-index: 1;
  filter: drop-shadow(2px 2px 20px rgba(0, 0, 0, 0.15));
}

main {
  width: 980px;
  margin: 0 auto;
  padding: 0 0 50px;
}

h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 46px;
  line-height: 1;
  margin-bottom: 30px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-top: 3px solid #bf8e28;
  border-bottom: 3px solid #bf8e28;
}
h2:not(:first-of-type) {
  margin-top: 140px;
}
h2 .sub {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-37px / 2);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  margin: 0 auto;
  padding: 0 60px;
  width: max-content;
  height: 37px;
  background-image: url(../img/h2_sub_bg_left.svg), url(../img/h2_sub_bg_right.svg), url(../img/main_bg.jpg);
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto 37px, auto 37px, 1440px auto;
  background-position: left 20px center, right 20px center, center top;
}

.lead {
  font-size: 18px;
  line-height: 2;
  font-weight: 500;
  text-align: center;
  margin: 30px 0 70px;
}

ul {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}
ul li {
  width: calc((100% - 60px) / 2);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 49px;
  border: 1px solid #000;
  position: relative;
}
ul li.wide {
  width: 100%;
  gap: 50px;
  flex-direction: row;
}
ul li.wide .block {
  flex: 1;
}
ul li.wide .ph {
  aspect-ratio: initial;
  width: 360px;
}
ul li.wide .ph.large {
  width: 415px;
}
ul li.wide .ttl {
  text-align: left;
}
ul li.wide .ttl.large {
  font-size: 30px;
}
ul li::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 40px;
  height: 40px;
  display: block;
  border: 1px solid #000;
  background-color: transparent;
  background-image: url(../img/arrow_right_black.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px auto;
}
@media (hover: hover) {
  ul li::after {
    transition: all 0.3s;
  }
  ul li .ph img {
    transition: transform 0.3s;
  }
  ul li:hover::after {
    background-image: url(../img/arrow_right_white.svg);
    background-color: #000;
  }
  ul li:hover .ph img {
    transform: scale(1.075);
  }
}
ul a {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
}
ul .block {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
ul .heading {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-20px * 1.3 / 2);
  margin: 0 auto;
  padding: 0 20px;
  width: max-content;
  background-image: url(../img/main_bg.jpg);
  background-repeat: repeat;
  background-size: 1440px auto;
  background-position: center top;
}
ul .ph {
  width: 100%;
  aspect-ratio: 360 / 240;
  overflow: hidden;
}
ul .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
ul .ttl {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  padding: 10px;
  background-color: #bf8e28;
}
ul .desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}

footer .footerArea {
  margin: 0 auto;
  padding: 0 80px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer .footerArea .logo {
  width: 70px;
}
footer .footerArea .logo img {
  width: 100%;
}
footer .footerArea .copyright {
  font-size: 10px;
  line-height: 1;
}

@media screen and (min-width: 769px) and (max-width: 1110px) {
  header {
    padding: calc(125 / 1440 * 1110px) 0 0;
  }
  header::after {
    height: calc(546 / 2 / 1440 * 1110px);
  }
  header .product {
    bottom: calc(50 / 1440 * 1110px);
  }
}
@media screen and (min-width: 769px) {
  .sp {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }

  body {
    min-width: auto;
    padding-bottom: calc(10 / 390 * 100vw);
    background-image: url(../img/sp_main_bg.jpg);
    background-repeat: repeat-y;
    background-size: 100% auto;
  }
  body::before {
    width: calc(100% - 10 / 390 * 100vw * 2);
    height: calc(100% - 10 / 390 * 100vw * 2);
    border-width: 3px;
  }

  .pagetop {
    bottom: 50px;
    right: 10px;
  }

  header {
    background-image: url(../img/sp_main_pt.png);
    background-size: contain;
    padding: calc(90 / 390 * 100vw) 0 0;
    height: calc(360 / 390 * 100vw);
    min-height: calc(360 / 390 * 100vw);
  }
  header::after {
    left: calc(-4 / 390 * 100vw);
    top: calc(5 / 390 * 100vw);
    width: calc(622 / 390 * 100vw * 0.25);
    height: calc(546 / 390 * 100vw * 0.25);
  }
  header .logo {
    right: 0;
    top: 0;
    width: calc(75 / 390 * 100vw);
    height: calc(35 / 290 * 100vw);
    background-image: url(../img/sp_main_bg.jpg);
    background-repeat: repeat-y;
    background-size: 100% auto;
    z-index: 1;
  }
  header .logo img {
    width: calc(55 / 390 * 100vw);
  }
  header h1 {
    width: calc(280 / 390 * 100vw);
  }
  header .product {
    bottom: calc(38 / 390 * 100vw);
    right: calc(10 / 390 * 100%);
    width: calc(150 / 390 * 100%);
    filter: drop-shadow(calc(2 / 390 * 100vw) calc(2 / 390 * 100vw) calc(20 / 390 * 100vw) rgba(0, 0, 0, 0.15));
  }

  main {
    width: calc(100% - 30 / 390 * 100vw * 2);
    padding: 0;
  }

  h2 {
    font-size: calc(26 / 390 * 100vw);
    margin-bottom: calc(20 / 390 * 100vw);
    height: calc(80 / 390 * 100vw);
  }
  h2:not(:first-of-type) {
    margin-top: calc(70 / 390 * 100vw);
  }
  h2 .sub {
    top: calc(-25 / 390 * 100vw / 2);
    font-size: calc(16 / 390 * 100vw);
    padding: 0 calc(30 / 390 * 100vw);
    height: calc(25 / 390 * 100vw);
    background-image: url(../img/h2_sub_bg_left.svg), url(../img/h2_sub_bg_right.svg), url(../img/main_bg.jpg);
    background-repeat: no-repeat, no-repeat, repeat-y;
    background-size: auto calc(25 / 390 * 100vw), auto calc(25 / 390 * 100vw), 100% auto;
    background-position: left calc(8 / 390 * 100vw) center, right calc(8 / 390 * 100vw) center, center top;
  }

  .lead {
    font-size: calc(16 / 390 * 100vw);
    margin: calc(20 / 390 * 100vw) 0 calc(50 / 390 * 100vw);
    text-align: justify;
  }

  ul {
    flex-direction: column;
    gap: calc(50 / 390 * 100vw);
  }
  ul li {
    width: 100%;
    gap: calc(19 / 390 * 100vw);
    padding: calc(19 / 390 * 100vw) calc(19 / 390 * 100vw) calc(50 / 390 * 100vw);
  }
  ul li:has(.heading br) {
    padding-top: calc(30 / 390 * 100vw);
  }
  ul li.wide {
    gap: calc(19 / 390 * 100vw);
    flex-direction: column;
  }
  ul li.wide .block {
    flex: auto;
  }
  ul li.wide .ph {
    width: 100%;
  }
  ul li.wide .ph.large {
    width: 100%;
  }
  ul li.wide .ttl {
    text-align: center;
  }
  ul li.wide .ttl.large {
    font-size: calc(20 / 390 * 100vw);
  }
  ul li::after {
    width: calc(40 / 390 * 100vw);
    height: calc(40 / 390 * 100vw);
    background-size: calc(12 / 390 * 100vw) auto;
  }
  ul .block {
    gap: calc(20 / 390 * 100vw);
  }
  ul .heading {
    font-size: calc(18 / 390 * 100vw);
    top: calc(-18 / 390 * 100vw * 1.3 / 2 * 1.1);
    padding: 0 calc(10 / 390 * 100vw);
    background-image: url(../img/sp_main_bg.jpg);
    background-repeat: repeat-y;
    background-size: 100% auto;
  }
  ul .heading:has(br) {
    top: calc(-18 / 390 * 100vw * 1.3 * 1.1);
  }
  ul .ttl {
    font-size: calc(16 / 390 * 100vw);
    padding: calc(6 / 390 * 100vw);
  }
  ul .desc {
    font-size: calc(14 / 390 * 100vw);
  }

  footer .footerArea {
    width: calc(100% - 20 / 390 * 100vw * 2);
    height: calc(146 / 390 * 100vw);
    padding: 0 calc(20 / 390 * 100vw);
    flex-direction: column;
    justify-content: center;
    gap: calc(10 / 390 * 100vw);
  }
  footer .footerArea .logo {
    width: calc(70 / 390 * 100vw);
  }
  footer .footerArea .copyright {
    font-size: calc(10 / 390 * 100vw);
  }
}
