
ul {
  list-style: none;
}
dd {
  margin-inline-start: initial !important;
}

@media (max-width: 767px) {
  .inner-1120 {
    padding: initial;
  }
}

#B-Choco_sp {
  font-family:
    "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
}
/*メディアクエリーPC*/
@media (min-width: 768px) {
  #B-Choco_sp {
    background-image: url("https://megu-group.com/wp-content/themes/megu-group-2023/common/images/servieces/chocolatier-megu-supporters/support-img-03.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
  }
}
/*メディアクエリーモバイル*/
@media (max-width: 767px) {
  #B-Choco_sp {
    background-image: url("https://megu-group.com/wp-content/themes/megu-group-2023/common/images/servieces/chocolatier-megu-supporters/support-img-sp-03.png");
    background-repeat: no-repeat;
    background-size: 120% auto;
  }
}

.main-container {
  position: relative;
  z-index: 1 !important;
}
#FirstView_sp {
  height: auto;
  padding: 2% 0;
  min-height: 300px;
}

.concept-text_sp {
  color: var(--choco-dark-dark);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-shadow: 2px 2px 5px var(--accent-cream);
}
#B-Choco_sp ul li,
#B-Choco_sp .concept-text2 {
  color: var(--choco-dark);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
}

#CHOCOLATIER_MEGU_sp {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: xx-large;
  letter-spacing: 0.8rem;
  margin-bottom: 40px;
  color: #fff6a7;
  text-shadow: 5px 5px 10px var(--choco-main);
  -webkit-box-reflect: below -40px
    linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}
#KAZO_B_sp {
  font-size: 2em;
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin-bottom: 100px;
  text-align: center;
  color: #e4e3e3;
  text-shadow:
    1px 1px 0 #333,
    -1px 1px 0 #333,
    1px -1px 0 #333,
    -1px -1px 0 #333;
}
.main-container {
  padding-top: initial !important;
}

.section__inner2 {
  padding-top: 50px;
  padding-bottom: 50px;
}
.section__inner3 {
  margin-top: 50px;
  margin-bottom: 50px;
}

#B-Choco_sp h3 {
  text-align: center;
  font-size: 44px;
  letter-spacing: 1em;
  color: var(--choco-dark);
  margin-bottom: 10vh;
  background-image: url("https://megu-group.com/wp-content/themes/megu-group-2023/common/images/servieces/chocolatier-megu-supporters/megu4_03.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  line-height: 160px;
  text-shadow: 2px 2px 2px var(--bg-cream);
  width: 100vw; /* 画面の横幅いっぱいにする */
  margin-left: calc(50% - 50vw); /* 左側にグイッと引っ張り出す */
  margin-right: calc(50% - 50vw);
}
@supports (-webkit-touch-callout: none) {
  /* iOS向けの修正 */
  #B-Choco_sp h3 {
    background-attachment: scroll; /* iOSでは固定を解除するか、別の手法にする */
  }
}

#B-Choco_sp h4 {
  text-align: center;
  font-size: 32px;
  text-indent: 1em;
  color: var(--choco-dark);
  margin-bottom: 10vh;
  letter-spacing: 0.8em;
  -webkit-text-stroke: 0.5px var(--choco-dark-dark);
}

#B-Choco_sp .concept_area_sp h4 {
  text-align: center;
  background: #ffd39aec;
  position: absolute;
  margin: 0 auto;
  padding: 20px;
  border-radius: 20px;
  color: var(--choco-dark);
  font-size: 26px;
  letter-spacing: 0.5em;
  text-shadow: 5px 5px 10px var(--choco-main);
  -webkit-text-stroke: 0.5px var(--choco-dark-dark);
}

#B-Choco_sp .donate_p {
  background-color: var(--choco-dark);
  color: #fff; /* 文字は白が映えます */
  width: fit-content;
  position: relative; /* リボンの端を固定する基準点 */
  text-align: center;
  box-shadow: 0 0 0 5px var(--choco-dark);
  border: 2px dotted #fff;
}

/* 左の折り返し */
#B-Choco_sp .donate_p::before {
  content: "";
  position: absolute;
  border-left-color: transparent; /*山形に切り抜き*/
}

/* 右の折り返し */
#B-Choco_sp .donate_p::after {
  content: "";
  position: absolute;
}

#B-Choco_sp .donate_p::before,
#B-Choco_sp .donate_p::after {
  z-index: -2;
}

/*メディアクエリーPC*/
@media (min-width: 768px) {
  #B-Choco_sp .donate_p {
    margin: 40px auto; /* 少し上下に隙間を作る */
    padding: 10px 40px;
  }
  #B-Choco_sp .donate_p::before {
    border: 60px solid var(--choco-dark);
    border-left-color: transparent;
    width: 10px;
    bottom: -20px;
    left: -75px;
  }
  #B-Choco_sp .donate_p::after {
    border: 60px solid var(--choco-dark);
    border-right-color: transparent;
    width: 10px;
    bottom: -20px;
    right: -75px;
  }
  #B-Choco_sp .concept_area_sp h4 {
    transform: translate(10px, -100%);
  }
}
/*メディアクエリーモバイル*/
@media (max-width: 767px) {
  strong {
    font-weight: initial;
  }

  h4 {
    margin-block-start: initial;
  }
  #B-Choco_sp .donate_p {
    margin: 20px auto; /* 少し上下に隙間を作る */
    padding: 10px 20px;
    width: 70%;
  }
  #B-Choco_sp .donate_p strong {
    font-size: 2.2rem !important;
    font-weight: 400 !important;
  }
  #B-Choco_sp .donate_p::before {
    border: 30px solid var(--choco-dark);
    border-left-color: transparent;
    width: 5px;
    bottom: -15px;
    left: -40px;
  }
  #B-Choco_sp .donate_p::after {
    border: 30px solid var(--choco-dark);
    border-right-color: transparent;
    width: 5px;
    bottom: -15px;
    right: -40px;
  }
  #B-Choco_sp .concept_area_sp h4 {
    transform: translate(-10px, -100%);
  }
}

.donate p {
  text-align: center;
  font-size: 24px;
}
#B-Choco_sp strong {
  display: block;
  text-align: center;
  font-size: 40px;
  letter-spacing: 0.5em;
  color: var(--bg-cream);
  margin-bottom: 4vh;
  -webkit-text-stroke: 1px var(--accent-cream);
}

.concept_area_sp {
  background-color: var(--bg-cream);
  border: 2px solid #e0b084;
  padding: 2em;
  box-shadow: 0px 0px 0px 20px var(--accent-cream);
  border-radius: 60px 20px 60px 20px;
  margin: 60px 0;
}

.concept_area_sp::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
}

/*メディアクエリーPC*/
@media (min-width: 768px) {
  .concept_area_sp {
    display: flow-root;
  }
}
/*メディアクエリーモバイル*/
@media (max-width: 767px) {
  .concept_area_sp {
    display: grid;
  }
}

.text_center {
  text-align: center;
  width: 100%; /* 念のため幅をいっぱいにしておく */
}
#B-Choco_sp h5 {
  font-size: 26px;
  letter-spacing: 0.5em;
  color: var(--choco-dark);
  padding: 1rem;
  font-weight: 600;
  background: linear-gradient(transparent 60%, rgba(210, 105, 30, 0.3) 60%);
  display: inline;
}

.donate_bank {
  border: var(--accent-orange) 3px double;
}
#B-Choco_sp .donate_bank ul {
  width: fit-content;
  margin: 5vh auto;
}
#B-Choco_sp .donate_bank li {
  padding: 10px 0;
  font-size: 18px;
  font-weight: 900;
}

.tiers3 dt,
.rooting dt {
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.5em;
  color: var(--choco-main);
}

.explantext {
  font-size: 16px;
}

.circle_shape_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 360px;
}

.circle_shape_img,
.aboutus_img {
  max-width: 500px;
  max-height: 300px;
  border-radius: 16% 79% 55% 85% / 77% 54% 63% 49%;
  float: left;
  shape-outside: circle(50%);
  margin-right: 40px;
  margin-top: 50px;
}

/*メディアクエリーPC*/
@media (min-width: 768px) {
  .concept_area {
    width: 80%;
    margin-top: 1em;
  }

  .circle_shape:nth-of-type(2n-1) {
    width: 95%;
  }
  .circle_shape_img img {
    width: 400px;
  }

  .circle_shape:nth-of-type(4) {
    width: 600px;
  }
}
/*メディアクエリーモバイル*/
@media (max-width: 767px) {
  .circle_shape {
    width: 400px;
  }
}

/*メディアクエリーPC*/
@media (min-width: 768px) {
  .concept-text {
    line-height: 6rem;
  }
  .concept-text2 {
    line-height: 5rem;
  }
}
/*メディアクエリーモバイル*/
@media (max-width: 767px) {
  .concept-text {
    line-height: 1.8;
  }
  .concept-text2 {
    line-height: 1.6;
  }
}

.img_flex-01 {
  display: flex;
}

#StaffArea .img_flex-01-mg {
  margin: 2em;
}

.flex4 li,
.tiers3 dl,
.flex4 dl {
  border: 2px solid var(--accent-cream);
}

.tiers3 dl {
  padding: 1rem 3rem;
  margin: 2.2rem;
  border-radius: 15px;
  height: 100%;
  border: var(--choco-dark) 1px solid;
}
.tiers3 dt {
  color: var(--choco-dark);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-shadow: 2px 2px 5px var(--bg-cream);
}
.tiers3 dt,
.tiers3 dd {
  padding: 1.2rem 0;
}
.tiers3 dd {
  font-size: 18px;
}
.support_name {
  font-size: 2rem;
  font-weight: 600;
  border-bottom: 2px dotted var(--accent-orange);
}
.tiers3 dl:nth-of-type(1) {
  background-color: var(--bg-cream);
  border: 2px solid var(--accent-cream);
}
.tiers3 dl:nth-of-type(2) {
  background-color: #f7dabf;
  border: 2px solid var(--accent-cream);
}

.tiers3 dl:nth-of-type(3) {
  background-color: #e9c09a;
  border: 2px solid var(--accent-cream);
}
.tiers3 dl ul {
  list-style: initial;
}

.flex4 li,
.flex4 dl {
  /* padding: 20px;*/
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--choco-main);
}

/*メディアクエリーPC*/
@media (min-width: 768px) {
  .tiers3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }

  .flex4 ul,
  .flex4 div {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 40px 0;
  }
  .flex4 dl {
    flex: 1; /* 各カードが均等な幅になるようにする */
  }
  .flex4 li,
  .flex4 dl {
    width: calc(25% - 15px);
    flex: 0 1 24%;
  }
}
/*メディアクエリーモバイル*/
@media (max-width: 767px) {
  ul {
    padding-inline-start: initial;
  }

  .flex4 ul,
  .flex4 div {
    display: flex;
    flex-wrap: wrap; /* ★折り返しを許可する */
    gap: 15px; /* 隙間を少し狭くすると並びやすい */
    justify-content: space-between;
  }
  .flex4 dl {
    width: 100%; /* 横幅いっぱいにする */
  }
  .flex4 li,
  .flex4 dl {
    width: calc(50% - 15px);
  }
}

.flex4 li span {
  display: block;
  padding: 1em;
  font-size: 18px;
  font-weight: 700;
}
.rooting dt,
.rooting dd {
  display: flex; /* フレックスボックスにする */
  align-items: center; /* 縦方向の真ん中 */
  justify-content: center; /* 横方向の真ん中 */
  text-align: center; /* 念のため文字も中央寄せ */
}

.rooting dt {
  margin: 0;
  background-color: var(--choco-dark);
  color: var(--accent-cream);
  border-radius: 12px 12px 0 0;
  padding: 0 20px;
  font-size: 20px;
  font-weight: 600;
}
.rooting dt {
  margin: 0;
  background-color: var(--choco-dark);
  color: var(--accent-cream);
  border-radius: 12px 12px 0 0;
  padding: 0 20px;
  font-size: 20px;
  font-weight: 600;
  height: 120px;
}
/*メディアクエリーPC*/
@media (min-width: 768px) {
  .rooting dt {
    font-size: 20px;
    height: 150px;
  }
}
/*メディアクエリーモバイル*/
@media (max-width: 767px) {
  .rooting dt {
    font-size: 18px;
    height: 140px;
  }
}

.rooting dd {
  padding: 10px 20px;
  min-height: 120px;
  font-weight: 600;
}
.rooting_img {
  display: inline-block;
  text-align: center;
  padding: 20px;
}
.rooting_img img {
  display: block;
  height: 160px;
  width: 160px;
}
/* ボタンデザイン */
.rooting button {
  background-color: var(--accent-orange);
  color: var(--bg-cream);
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
}

button:hover {
  background-color: var(--choco-main);
}

.overview {
  margin-top: 10em;
}

/* モバイル調整 */
@media (max-width: 768px) {
  #AboutUs_sp .inner-1120 > div {
    flex-direction: column; /* スマホでは縦並び */
  }
  #AboutUs_sp img {
    flex: 0 0 auto;
    width: 100%; /* スマホでは400pxに拘らず全幅 */
  }
}
