@charset "UTF-8";

/* 変数 */
:root {
  /* 色 */
  --main-color: #1e51a2;
  --accent-color: #fff000;
  --border-color1: #f1f9fe;
  --border-color2: #e4f4fd;
}

/* ---------------------------------------- */

/* 全体 */
p {
  margin: 0;
  line-height: 1.8;
}
img {
  pointer-events: none;
  display: inline-block;
}
h5 {
  background-color: transparent !important;
}
.marker {
  background: linear-gradient(0deg, var(--accent-color) 25%, #ffffff 35%);
  padding: 0 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------------------------------------- */

/* トップイメージ */
section:has(.top_img) {
  position: relative;
}
section:has(.top_img) > p {
  text-align: right;
}
.top_img {
  margin-top: 30px;
  padding: 50px 0;
  border-radius: 20px;
  text-align: center;
  background-image: repeating-conic-gradient(
    var(--border-color1) 0%,
    var(--border-color1) 2.5%,
    var(--border-color2) 2.5%,
    var(--border-color2) 5%,
    var(--border-color1) 5%,
    var(--border-color1) 7.5%,
    var(--border-color2) 7.5%,
    var(--border-color2) 10%
  );
}
/* 商品画像 */
.foods div {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
}
.foods img {
  width: 130px;
  height: fit-content;
}
.foods div:nth-of-type(1) {
  top: 10px;
  left: calc(50% - 460px);
  rotate: -10deg;
  & img {
    width: 170px;
  }
}
.foods div:nth-of-type(2) {
  top: 210px;
  left: calc(50% + (370px));
  rotate: 15deg;
  & img {
    width: 100px;
  }
}
.foods div:nth-of-type(3) {
  top: 180px;
  left: calc(50% - (440px));
  rotate: -20deg;
  & img {
    width: 100px;
  }
}
.foods div:nth-of-type(4) {
  top: 50px;
  left: calc(50% + (450px));
  rotate: 15deg;
  & img {
    width: 110px;
  }
}
.foods div:nth-of-type(5) {
  top: -15px;
  left: calc(50% + (260px));
  rotate: 5deg;
  & img {
    width: 90px;
  }
}
.foods div:nth-of-type(6) {
  top: 140px;
  left: calc(50% - (600px));
  rotate: -15deg;
}
.foods div:nth-of-type(7) {
  top: 0;
  left: 0;
  rotate: 15deg;
  display: none;
}

/* ---------------------------------------- */

/* Guidance */
.guidance h3 {
  position: relative;
  border: none !important;
  margin: 70px auto 20px auto !important;
  font-size: 28px !important;
  width: fit-content;
}
.guidance h3 span {
  font-size: 1.6em;
}
.guidance h3::before {
  position: absolute;
  content: "";
  top: calc(50% - (35px / 2));
  left: calc(50% - 150px);
  width: 35px;
  height: 35px;
  border-left: 4px solid var(--main-color);
  rotate: -30deg;
}
.guidance h3::after {
  position: absolute;
  content: "";
  top: calc(50% - (35px / 2));
  right: calc(50% - 150px);
  width: 35px;
  height: 35px;
  border-right: 4px solid var(--main-color);
  rotate: 30deg;
}

/* 3つの便利ポイント */
.benri3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: default;
  margin-bottom: 40px;
}
.benri3 div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--main-color);
  background-image: repeating-linear-gradient(
    -45deg,
    #2057af,
    #2057af 10px,
    transparent 10px,
    transparent 20px
  );
  width: 32.5%;
  height: 220px;
}
.benri3 p {
  text-align: center;
  font-size: 24px;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 0 8px var(--main-color);
}
.benri3 div:last-of-type p {
  line-height: 1.3;
}
.benri3 img {
  vertical-align: bottom;
  width: 50px;
  height: 50px;
  border: solid 2px #fff;
  border-radius: 6px;
}
.benri3 p span {
  font-size: 70px;
  font-weight: bold;
  color: var(--accent-color);
}

/* ---------------------------------------- */

/* 優先してお届け */
.you-sen {
  /* padding: 10px 20px !important; */
  margin-top: 15px !important;
}
.you-sen h4 {
  background-color: var(--main-color);
  background-image: repeating-linear-gradient(
    -45deg,
    #2057af,
    #2057af 10px,
    transparent 10px,
    transparent 20px
  );
  color: #fff !important;
  padding: 10px;
  border-radius: 8px;
}
.you-sen h4 + p {
  margin-bottom: 50px;
}
.you-sen h4 + p > span {
  font-size: 14px;
}

/* ---------------------------------------- */

/* さらに */
section:has(.allowBar) > div:nth-of-type(2) {
  margin: 0 auto;
}
.allowBar {
  position: relative;
  padding-bottom: 10px;
  border-bottom: solid 3px var(--main-color) !important;
  margin-bottom: 40px;
}
.allowBar::before {
  position: absolute;
  content: "";
  top: calc(62px * sqrt(2) / 2);
  left: calc(50% - (25px * sqrt(2) / 2));
  width: 30px;
  height: 30px;
  rotate: 45deg;
  background: linear-gradient(-45deg, #ffffff 60%, rgba(0, 0, 0, 0) 40%);
  border-right: solid 3px var(--main-color);
  border-bottom: solid 3px var(--main-color);
}
.allowBar h5 {
  text-align: center;
  font-size: 32px !important;
  margin-top: 60px !important;
}
.allowBar h5 span {
  display: inline-block;
  rotate: 10deg;
  font-size: 34px;
}
.more {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin: 0 auto;
  margin-top: 50px;
  width: 95%;
}
.more_table table,
.more_table th,
.more_table td {
  box-sizing: border-box;
  border-collapse: collapse;
}
.more_table th,
.more_table td {
  text-align: center;
  padding: 10px;
  border-bottom: solid 1px #aaa;
}
.more_table th {
  background-color: #bbcbeb;
}
.more_table td {
  padding: 10px 20px;
}
.more_table td img {
  display: block;
  margin: 0 auto;
  width: 70%;
}
.more_table tr:first-of-type th,
.more_table tr:first-of-type td {
  border-top: solid 1px #aaa;
}
.more > p {
  font-size: 24px;
  line-height: 1.6;
}
.more > p span {
  font-size: 36px;
  font-weight: bold;
}
.more + p {
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  margin-top: 40px;
  color: var(--main-color);
}
.kakko {
  font-size: 28px !important;
  font-weight: normal !important;
}
.kakko:first-of-type {
  vertical-align: text-top;
}
.more .marker {
  color: #ff0000;
}
.more .marker span:nth-of-type(3) {
  font-size: 28px !important;
  vertical-align: bottom;
}
section:has(.back-color) {
  margin-top: 80px;
}

/* ---------------------------------------- */

/* 登録と変更 */
section:has(.back-color) {
  background-color: #f1f9fe;
  padding: 20px;
  border: solid 3px var(--main-color);
  border-radius: 15px;
}
.back-color {
  background-color: #fff;
  padding: 20px;
}
.back-color h4 {
  margin-top: 0 !important;
  padding: 6px 10px;
  border-radius: 0 !important;
  font-size: 24px !important;
  text-align: center;
  border-bottom: solid 2px var(--main-color);
}
.back-color h5 {
  margin: 10px 0 !important;
  margin-top: 1em !important;
  padding: 5px 10px !important;
  color: #fff !important;
  background-color: var(--main-color) !important;
}
.back-color h5:last-of-type {
  margin-top: 4em !important;
}
.back-color h6 {
  color: #000 !important;
  padding: 0.8em !important;
  background-color: #def2fe !important;
  margin: 0 !important;
  margin-bottom: 10px !important;
}
/* 登録方法 */
.method-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
  gap: 20px;
}
.method-card div p {
  margin-bottom: 20px;
}
.scroll-box {
  width: 65%;
}
.method-cards {
  display: flex;
  justify-content: center;
  gap: 50px;
}
.method-cards img {
  display: block;
}
.method-card2:first-of-type {
  position: relative;
  width: 42%;
}
.method-card2:first-of-type::before {
  position: absolute;
  content: "2";
  top: 240px;
  left: calc(50% - 130px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  background-color: #000;
  z-index: 10;
  display: grid;
  place-content: center;
}
.method-card2:first-of-type::after {
  position: absolute;
  content: "3";
  top: 240px;
  left: calc(50% - 15px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  background-color: #000;
  z-index: 10;
  display: grid;
  place-content: center;
}
.method-card2:first-of-type > div {
  position: relative;
}
.method-card2:first-of-type p span {
  font-weight: bold;
}
.method-card2:first-of-type > div::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, transparent 75%, #fff 100%);
  z-index: 10;
}
/* 変更方法 */
.method-card2:last-of-type {
  width: 58%;
}
.method-card2:last-of-type > div > div {
  position: relative;
}
.method-card2:last-of-type > div {
  border: dotted 1px #aaa;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.method-card2:last-of-type > div > p {
  margin-top: -5px;
  margin-bottom: 5px;
}
.method-card2:last-of-type > div > p > span {
  color: var(--main-color);
  font-weight: bold;
}
.method-card2:last-of-type > div:last-of-type {
  margin-bottom: 0;
}
.method-card2:last-of-type
  > div:not(.method-card2:last-of-type > div:last-of-type)
  > div::after {
  position: absolute;
  content: "4";
  top: 80px;
  left: calc(50% - (40px / 2) - 20px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  background-color: #000;
  display: grid;
  place-content: center;
}
.method-card2:last-of-type > div:last-of-type > div::after {
  position: absolute;
  content: "5";
  top: 90px;
  left: 85%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  background-color: #000;
  display: grid;
  place-content: center;
}
