body {
  font-family: "Noto Sans JP", sans-serif;
  min-width: 1200px;
  position: relative;
  background-image: url(../img/header_foods.png), url(../img/bg.jpg);
  background-repeat: no-repeat, repeat;
  background-size: calc(0.97 * max(1200px, 100vw)) auto, 1440px auto;
  background-position: left top;
  overflow-x: hidden;
}

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

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

@media (hover: hover) {
  .pagetop a:hover {
    opacity: 0.6;
    filter: alpha(opacity=60);
  }
}
p {
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  text-align: center;
  color: #544221;
}

header {
  padding: 0 0 calc(120 / 1440 * max(1200px, 100vw));
}
header .logo {
  position: absolute;
  right: 30px;
  top: 30px;
  width: calc(218px / 2);
}
header .logo img {
  width: 100%;
}
header h1 {
  width: calc(1472 / 4 / 1440 * max(1200px, 100vw));
  margin: 0 auto;
  position: relative;
}
header h1 .ttl {
  margin-top: calc(230 / 1440 * max(1200px, 100vw));
  width: 100%;
}
header h1::before {
  content: "";
  position: absolute;
  right: calc(50% - 395 / 1440 * max(1200px, 100vw));
  top: 0;
  width: calc(1400 / 2 / 1440 * max(1200px, 100vw));
  height: calc(1108 / 2 / 1440 * max(1200px, 100vw));
  display: block;
  pointer-events: none;
  background-image: url(../img/header_nabe.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;
  z-index: -1;
}
header h1::after {
  content: "";
  position: absolute;
  right: calc(50% - 490 / 1440 * max(1200px, 100vw));
  top: calc(397 / 1440 * max(1200px, 100vw));
  width: calc(600 / 2 / 1440 * max(1200px, 100vw));
  height: calc(468 / 2 / 1440 * max(1200px, 100vw));
  display: block;
  pointer-events: none;
  background-image: url(../img/header_tofu.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;
}

main {
  position: relative;
}
main .inner {
  width: 1100px;
  margin: 0 auto;
  padding: 0 0 calc(50 / 1440 * max(1200px, 100vw));
  position: relative;
  z-index: 1;
}
main .inner > .lead {
  line-height: 2.5;
  margin-bottom: 60px;
}

section {
  background-color: #fff;
  border-radius: 10px;
  padding: 80px;
  background-repeat: no-repeat;
  background-position: right 80px top 80px;
}
section + section {
  margin-top: 60px;
}
section .lead {
  text-align: justify;
}
section .lead:last-child {
  margin-bottom: 30px;
}

#sect01 {
  background-image: url(../img/illust01.png);
  background-size: calc(324px / 2) auto;
}

#sect02 {
  background-image: url(../img/illust02.png);
  background-size: calc(400px / 2) auto;
}

#sect03 {
  background-image: url(../img/illust03.png);
  background-size: calc(400px / 2) auto;
}

#sect04 {
  background-image: url(../img/illust04.png);
  background-size: calc(440px / 2) auto;
}

.balloon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ff7900;
  background-color: #fff;
  border-radius: 30px;
  padding: 0.38em 1em;
  color: #ff7900;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  text-align: justify;
  margin: -30px 0 22px -30px;
  position: relative;
}
.balloon:before {
  content: "";
  position: absolute;
  bottom: -19px;
  left: 80px;
  margin-left: -15px;
  border: 6px solid transparent;
  border-top: 14px solid #fff;
  z-index: 2;
}
.balloon:after {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 80px;
  margin-left: -17px;
  border: 8px solid transparent;
  border-top: 16px solid #ff7900;
  z-index: 1;
}

h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  text-align: justify;
  color: #544221;
  border-left: 3px solid #544221;
  padding: 10px 0 10px 15px;
  margin: 0 auto 20px;
  position: relative;
}
h2.extra {
  border-left: none;
  margin-bottom: 65px;
  padding-left: 120px;
}
h2.extra span {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #544221;
  border: 1px dotted #544221;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
}

.lead {
  margin-bottom: 50px;
}

.ph-extra {
  width: 600px;
  border-radius: 10px;
  margin-left: 50px;
  margin-bottom: 50px;
  float: right;
}

.anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 60px;
}
.anchors li {
  width: calc((100% - 10px) / 2);
  padding: 15px 20px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid transparent;
  position: relative;
}
@media (hover: hover) {
  .anchors li {
    transition: border-color 0.2s;
  }
  .anchors li:hover {
    border-color: #544221;
  }
}
.anchors li::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  pointer-events: none;
  background-color: #ff7900;
  background-image: url(../img/anchor_arrow.svg);
  background-repeat: no-repeat;
  background-size: 9px auto;
  background-position: center;
}
.anchors a {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}
.anchors .ttl {
  font-size: 20px;
  line-height: 1.3;
  text-align: justify;
  font-weight: 700;
  color: #544221;
  position: relative;
}
.anchors .ttl.extra {
  padding-left: 60px;
}
.anchors .ttl.extra span {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #544221;
  border: 1px dotted #544221;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
}
.anchors .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.anchors .tags span {
  font-size: 14px;
  font-weight: 700;
  line-height: 30px;
  white-space: nowrap;
  padding: 0 15px;
  color: #fff;
  background-color: #544221;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.recipes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.recipes li {
  width: calc((100% - 20px) / 2);
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 50px;
  border-radius: 10px;
  background-color: #f7f4ef;
  position: relative;
}
.recipes li::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  display: block;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background-color: #544221;
  background-image: url(../img/recipe_arrow.svg);
  background-repeat: no-repeat;
  background-size: 12px auto;
  background-position: center;
}
@media (hover: hover) {
  .recipes li::after {
    transition: background-color 0.3s;
  }
  .recipes li .ph img {
    transition: transform 0.3s;
  }
  .recipes li:hover::after {
    background-color: #ff7900;
  }
  .recipes li:hover .ph img {
    transform: scale(1.075);
  }
}
.recipes a {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.recipes .ph {
  width: 100%;
  margin-bottom: 15px;
  aspect-ratio: 360 / 240;
  border-radius: 10px;
  overflow: hidden;
}
.recipes .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recipes .catch {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}
.recipes .ttl {
  position: relative;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ff7900;
  border-radius: 5px;
  padding: 0.25em 0.5em;
  min-height: 46px;
  margin-bottom: 5px;
}
.recipes .text {
  font-size: 14px;
  line-height: 2;
  font-weight: normal;
  text-align: justify;
}

footer > * {
  width: calc(100% - 160px);
  margin: 0 auto;
}
footer .footerArea {
  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) {
  .sp {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }

  body {
    min-width: auto;
    background-image: url(../img/sp_header_foods.png), url(../img/sp_bg.jpg);
    background-repeat: no-repeat, repeat-y;
    background-size: 100% auto, 100% auto;
    background-position: left top;
  }

  p {
    font-size: calc(16 / 390 * 100vw);
    text-align: justify;
  }

  header {
    padding: 0 0 calc(50 / 390 * 100vw);
  }
  header .logo {
    right: calc(10 / 390 * 100vw);
    top: calc(10 / 390 * 100vw);
    width: calc(55 / 390 * 100vw);
    z-index: 1;
  }
  header .logo::before {
    content: "";
    position: absolute;
    left: calc(-10 / 390 * 100vw);
    top: calc(-10 / 390 * 100vw);
    width: calc(100% + 10 / 390 * 100vw * 2);
    height: calc(100% + 10 / 390 * 100vw * 1);
    display: block;
    z-index: -1;
    background-image: url(../img/sp_bg.jpg);
    background-repeat: repeat;
    background-size: 100% auto;
    background-position: left top;
  }
  header h1 {
    width: calc(176 / 390 * 100vw);
  }
  header h1 .ttl {
    margin-top: calc(110 / 390 * 100vw);
    width: 100%;
  }
  header h1::before {
    right: calc(50% - 193 / 390 * 100vw);
    top: 0;
    width: calc(672 / 2 / 390 * 100vw);
    height: calc(531 / 2 / 390 * 100vw);
    background-image: url(../img/sp_header_nabe.png);
  }
  header h1::after {
    right: calc(50% - 50vw - 1px);
    top: calc(190 / 390 * 100vw);
    width: calc(208 / 2 / 390 * 100vw);
    height: calc(225 / 2 / 390 * 100vw);
    background-image: url(../img/sp_header_tofu.png);
  }

  main .inner {
    width: calc(100% - 20 / 390 * 100vw * 2);
    padding: calc(50 / 390 * 100vw) 0 calc(80 / 390 * 100vw);
  }
  main .inner > .lead {
    margin-bottom: calc(30 / 390 * 100vw);
  }

  section {
    border-radius: calc(10 / 390 * 100vw);
    padding: calc(20 / 390 * 100vw);
  }
  section + section {
    margin-top: calc(30 / 390 * 100vw);
  }
  section .lead {
    text-align: justify;
  }
  section .lead:last-child {
    margin-bottom: 0;
  }

  #sect01 {
    background-position: right calc(20 / 390 * 100vw) top calc(70 / 390 * 100vw);
    background-size: auto calc(120 / 390 * 100vw);
  }

  #sect02 {
    background-position: right calc(20 / 390 * 100vw) top calc(100 / 390 * 100vw);
    background-size: auto calc(120 / 390 * 100vw);
  }

  #sect03 {
    background-position: right calc(20 / 390 * 100vw) top calc(65 / 390 * 100vw);
    background-size: auto calc(100 / 390 * 100vw);
  }

  #sect04 {
    background-position: right calc(20 / 390 * 100vw) top calc(115 / 390 * 100vw);
    background-size: auto calc(106 / 390 * 100vw);
  }

  .balloon {
    border-radius: calc(30 / 390 * 100vw);
    padding: 0.58em 1em;
    font-size: calc(14 / 390 * 100vw);
    margin: 0 0 calc(15 / 390 * 100vw) calc(-10 / 390 * 100vw);
  }
  .balloon:before {
    bottom: calc(-19 / 390 * 100vw);
    left: calc(80 / 390 * 100vw);
    margin-left: calc(-15 / 390 * 100vw);
    border: calc(6 / 390 * 100vw) solid transparent;
    border-top: calc(14 / 390 * 100vw) solid #fff;
  }
  .balloon:after {
    bottom: calc(-25 / 390 * 100vw);
    left: calc(80 / 390 * 100vw);
    margin-left: calc(-17 / 390 * 100vw);
    border: calc(8 / 390 * 100vw) solid transparent;
    border-top: calc(16 / 390 * 100vw) solid #ff7900;
  }

  h2 {
    font-size: calc(24 / 390 * 100vw);
    padding: calc(10 / 390 * 100vw) 0 calc(10 / 390 * 100vw) calc(15 / 390 * 100vw);
    margin: 0 auto calc(20 / 390 * 100vw);
  }
  h2.extra {
    margin-bottom: calc(20 / 390 * 100vw);
    padding-left: calc(90 / 390 * 100vw);
  }
  h2.extra span {
    width: calc(80 / 390 * 100vw);
    height: calc(80 / 390 * 100vw);
    font-size: calc(14 / 390 * 100vw);
  }

  .lead {
    margin-bottom: calc(20 / 390 * 100vw);
  }

  .ph-extra {
    width: 100%;
    border-radius: calc(10 / 390 * 100vw);
    margin-left: 0;
    margin-bottom: calc(20 / 390 * 100vw);
    float: none;
  }

  .anchors {
    flex-wrap: nowrap;
    flex-direction: column;
    gap: calc(10 / 390 * 100vw);
    margin-bottom: calc(30 / 390 * 100vw);
  }
  .anchors li {
    width: 100%;
    padding: calc(10 / 390 * 100vw) calc(50 / 390 * 100vw) calc(10 / 390 * 100vw) calc(10 / 390 * 100vw);
    border-radius: calc(10 / 390 * 100vw);
    border: none;
  }
  .anchors li::after {
    right: calc(10 / 390 * 100vw);
    width: calc(30 / 390 * 100vw);
    height: calc(30 / 390 * 100vw);
    background-size: calc(9 / 390 * 100vw) auto;
  }
  .anchors .ttl {
    font-size: calc(16 / 390 * 100vw);
  }
  .anchors .ttl.extra {
    padding-left: calc(50 / 390 * 100vw);
  }
  .anchors .ttl.extra span {
    width: calc(40 / 390 * 100vw);
    height: calc(40 / 390 * 100vw);
    font-size: calc(10 / 390 * 100vw);
  }
  .anchors .tags {
    gap: calc(5 / 390 * 100vw);
    margin-top: calc(10 / 390 * 100vw);
  }
  .anchors .tags span {
    font-size: calc(12 / 390 * 100vw);
    line-height: calc(24 / 390 * 100vw);
    padding: 0 calc(10 / 390 * 100vw);
    border-radius: calc(20 / 390 * 100vw);
  }

  .recipes {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: calc(20 / 390 * 100vw);
  }
  .recipes li {
    width: 100%;
    gap: calc(10 / 390 * 100vw);
    padding: calc(30 / 390 * 100vw);
    border-radius: calc(10 / 390 * 100vw);
  }
  .recipes li::after {
    width: calc(40 / 390 * 100vw);
    height: calc(40 / 390 * 100vw);
    border-top-left-radius: calc(10 / 390 * 100vw);
    border-bottom-right-radius: calc(10 / 390 * 100vw);
    background-size: calc(12 / 390 * 100vw) auto;
  }
  .recipes .ph {
    margin-bottom: calc(10 / 390 * 100vw);
    border-radius: calc(10 / 390 * 100vw);
  }
  .recipes .catch {
    font-size: calc(14 / 390 * 100vw);
    text-align: center;
  }
  .recipes .ttl {
    font-size: calc(18 / 390 * 100vw);
    border-radius: calc(5 / 390 * 100vw);
    min-height: calc(42 / 390 * 100vw);
    margin-bottom: 0;
  }
  .recipes .text {
    font-size: calc(12 / 390 * 100vw);
  }

  footer {
    margin-top: calc(-50 / 390 * 100vw);
  }
  footer > * {
    width: calc(100% - 20 / 390 * 100vw * 2);
  }
  footer .footerArea {
    height: calc(294 / 2 / 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);
  }
}
