@charset "UTF-8";

/* 全体 */
:root {
  --coopBlue: #1e51a2;
  --coopSky: #009bc2;
  --coopBack: #ffffec;
  --formRed2: #ff5252;
}
#contents img {
  display: block;
}
.flex {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
}
.flex p {
  margin: 0;
  margin-top: 0.75rem;
}

/* トップビュー */
.top_view {
  margin-top: 2rem;
}
.top_view img {
  border-radius: 2rem;
}
.top_view + p {
  margin: 2rem 0;
  text-align: center;
  font-size: 1.2rem;
}

/* STEP1 */
.step1 {
  margin-bottom: 3rem;
}
.food_box {
  margin-top: 2.5rem;
}
.food {
  position: relative;
  width: 33.3%;
  padding: 1rem;
  padding-top: 1.5rem;
  border: solid 2px var(--formRed2);
  border-radius: 0.5rem;
  background-color: var(--coopBack);
  box-sizing: border-box;
}
.food .course-title {
  position: absolute;
  content: "";
  top: -2.2rem;
  left: calc(50% - (11rem / 2));
  padding: 0.4rem 3rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
  background-color: var(--formRed2);
}
.food p {
  line-height: 1.4;
}
.food_image {
  position: relative;
}
.food_image img {
  border-radius: 0.25rem;
}
.food_image img:nth-of-type(2) {
  position: absolute;
  content: "";
  bottom: 0.25rem;
  width: 4.5rem;
}
.food_image.left img:nth-of-type(2) {
  left: 0.75rem;
}
.food_image.right img:nth-of-type(2) {
  right: 0.75rem;
}
.food_image + p {
  margin: 0;
}
p.ocr {
  margin-top: 0.25rem;
}

.hinmei span {
  font-size: 1rem;
}
p:has(.coop.up) {
  position: relative;
  padding-left: 2.2rem;
}
.coop.up {
  position: absolute;
  content: "";
  top: -1.6rem;
  left: 0;
  width: 3rem;
  height: 1.5rem;
}

/* STEP2 */
.order {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  padding: 1rem;
  border: solid 2px var(--coopBlue);
  border-radius: 0.5rem;
  background-color: var(--coopBack);
}
.order > div {
  width: 50%;
}

.order1 {
  padding-right: 2rem;
  border-right: dashed 1px var(--coopBlue);
}
.order1 > div {
  position: relative;
}
.order1 > div:last-of-type::before {
  position: absolute;
  content: "";
  top: 0;
  right: calc(50% - (70% / 2));
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    to right,
    transparent 75%,
    var(--coopBack) 100%
  );
  z-index: 10;
}
.order1 img {
  width: 70%;
  margin: 0 auto;
}
.order1 > div:last-of-type span {
  width: fit-content;
  margin-left: 5rem;
}

.order2 > div:has(+ div) {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: dashed 1px var(--coopBlue);
}
#contents div.link a {
  width: 80%;
  padding: 1rem 0 !important;
}

/* PC */
@media screen and (min-width: 680px) {
  /* STEP1 */
  h3 span {
    display: inline-block;
    margin-right: 0.5rem;
  }
  .food_box {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1rem;
  }
}

/* SP */
@media screen and (max-width: 679px) {
  /* トップビュー */
  .top_view {
    margin-top: 1rem;
  }
  .top_view img {
    border-radius: 1rem;
  }
  .top_view + p {
    text-align: left;
    font-size: 1rem;
  }

  /* STEP1 */
  .food_box {
    margin-top: 2.5rem;
  }
  .food {
    width: 100%;
    padding: 1rem;
  }
  .food:has(+ .food) {
    margin-bottom: 2.2rem;
  }
  span.coop {
    vertical-align: -0.8rem;
  }

  .order {
    display: block;
    padding: 1rem;
    border: solid 2px var(--coopBlue);
    border-radius: 0.5rem;
    background-color: var(--coopBack);
  }
  .order > div {
    width: 100%;
  }

  .order1 {
    margin-bottom: 2rem;
    padding: 0;
    padding-bottom: 2rem;
    border: none;
    border-bottom: dashed 1px var(--coopBlue);
    box-sizing: border-box;
  }
  .order1 > div:last-of-type::before {
    right: 0;
  }
  .order1 img {
    width: 100%;
    margin: 0 auto;
  }
  .order1 > div:last-of-type span {
    width: fit-content;
    margin-left: 0;
  }

  .order2 > div:has(+ div) {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: dashed 1px var(--coopBlue);
  }
  #contents div.link a {
    width: 100%;
    padding: 1rem 0.5rem !important;
    box-sizing: border-box;
  }
}
