

#content-movie {
  --background-color: #E6F4FF;
  --sub-color: #1E87DA;
}

#content-cafe {
  --background-color: #FFF3F4;
  --sub-color: #FF5862;
}

#content-restaurant {
  --background-color: #E8F9EA;
  --sub-color: #20AB35;
}

#content-shibusoba {
  --background-color: #FFFCF1;
  --sub-color: #B3900E;
}

.btn-movie {
  --background-color: #E6F4FF;
  --sub-color: #1E87DA;
}

.btn-cafe {
  --background-color: #FFF3F4;
  --sub-color: #FF5862;
}

.btn-restaurant {
  --background-color: #F6FFF7;
  --sub-color: #20AB35;
}

.btn-shibusoba {
  --background-color: #FFFCF1;
  --sub-color: #B3900E;
}

.tabs {

}

.tab-button {
  cursor: pointer;
  transition: scale 0.3s ease;
}

.tab-button.active {
  pointer-events: none;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

@media (hover:hover) {
  .tab-button:hover {
    scale: 1.2;
  }
}

main {
  overflow: hidden;
}

.c-case__heading {
  color: var(--sub-color);
  font-size: 22px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 16px;
}

@media screen and (max-width: 840px) {
  .c-case__heading {
    font-size: 16px;
    column-gap: 0;
  }
}

  .c-case__heading .icon {
    width: 80px;
    aspect-ratio: 80 / 69;
  }

@media screen and (max-width: 840px) {
  .c-case__heading .icon {
    width: 53px;
    aspect-ratio: 55 / 47;
  }
}

.c-case__heading .text-lg {
  font-size: 32px;
}

@media screen and (max-width: 840px) {
  .c-case__heading .text-lg {
    font-size: 22px;
  }
}

.p-case-fv {
  position: relative;
  padding-block: 47px 42px;
  z-index: 0;
}

@media screen and (max-width: 840px) {
  .p-case-fv {
    padding-block: 23px 13px;
    padding-inline: 16px;
  }
}

.p-case-fv::before {
  position: absolute;
  content: "";
  background: #FB9697;
  width: 1273px;
  height: 204px;
  left: 50%;
  translate: -50%;
  bottom: -43px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: -2;
}

@media screen and (max-width: 840px) {
  .p-case-fv::before {
    width: 375px;
    height: 81px;
    bottom: -32px;
  }
}

.p-case-fv::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #FDC681 0%, #FB9697 100%);
  z-index: -1;
}


.p-case-fv__lead {
  background: rgba(255, 255, 255, 0.74);
  color: var(--main-color);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: center;
  padding-block: 11px;
  font-feature-settings: "palt";
}

@media screen and (max-width: 1060px) {
  .p-case-fv__lead {
    font-size: 28px;
  }
}

@media screen and (max-width: 840px) {
  .p-case-fv__lead {
    font-size: 22px;
    margin-inline: calc(50% - 50vw);
  }
}

.p-case-fv__flex {
  margin-block-start: 30px;
  display: flex;
  justify-content: center;
  margin-inline: 0 -90px;
}

@media screen and (max-width: 1060px) {
  .p-case-fv__flex {
    margin-inline: 0 -30px;
  }
}

@media screen and (max-width: 840px) {
  .p-case-fv__flex {
    margin-block-start: 30px;
    margin-inline: auto;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    row-gap: 11px;
  }
}

.p-case-fv__img-wrap {
  position: relative;
  height: fit-content;
}

@media screen and (max-width: 840px) {
  .p-case-fv__img.restaurant {
    position: relative;
    right: 0;
  }
}

.p-case-fv__img img {
  border-radius: 50px;
  width: 587px;
  aspect-ratio: 587 / 393;
  display: block;
}

@media screen and (max-width: 1060px) {
  .p-case-fv__img img {
    width: 500px;
  }
}

@media screen and (max-width: 840px) {
  .p-case-fv__img img {
    border-radius: 30px;
    width: 100%;
    aspect-ratio: 358 / 235;
  }
}

.p-case-fv__point {
  position: absolute;
  bottom: -19px;
  left: -103px;
}

@media screen and (max-width: 1060px) {
  .p-case-fv__point {
    bottom: -56px;
    left: -24px;
  }
}

@media screen and (max-width: 840px) {
  .p-case-fv__point {
    left: -16px;
    bottom: auto;
    top: -18px;
  }
}


.p-case-fv__point img {
  width: 210px;
  aspect-ratio: 210 / 194;
  object-fit: contain;
}

@media screen and (max-width: 840px) {
  .p-case-fv__point img {
    width: 160px;
    aspect-ratio: 169 / 167;
  }
}

.p-case-fv__icon1,
.p-case-fv__icon2,
.p-case-fv__icon3 {
  position: absolute;
}

.p-case-fv__icon1 {
  top: 87px;
  left: -56px;
}

@media screen and (max-width: 1060px) {
  .p-case-fv__icon1 {
    left: -24px;
    top: 56px;
  }
}

@media screen and (max-width: 840px) {
  .p-case-fv__icon1 {
    left: -11px;
    top: auto;
    bottom: -4px;
  }
}

.p-case-fv__icon1 img {
  width: 84px;
  aspect-ratio: 84 / 87;
  object-fit: contain;
}

@media screen and (max-width: 840px) {
  .p-case-fv__icon1 img {
    width: 64px;
  }
}

.p-case-fv__icon2 {
  top: -13px;
  right: 73px;
}

@media screen and (max-width: 1060px) {
  .p-case-fv__icon2 {
    right: 100px;
  }
}

@media screen and (max-width: 840px) {
  .p-case-fv__icon2 {
    right: 20px;
  }
}

.p-case-fv__icon2 img {
  width: 78px;
  aspect-ratio: 78 / 86;
  display: block;
  object-fit: contain;
}

@media screen and (max-width: 840px) {
  .p-case-fv__icon2 img {
    width: 63px;
  }
}

.p-case-fv__icon3 {
  right: 39px;
  bottom: -10px;
}

@media screen and (max-width: 1060px) {
  .p-case-fv__icon3 {
    right: 50px;
    bottom: -10px;
  }
}

@media screen and (max-width: 840px) {
  .p-case-fv__icon3 {
    right: -6px;
    bottom: 23px;
  }
}

.p-case-fv__icon3 img {
  width: 65px;
  aspect-ratio: 65 / 66;
  object-fit: contain;
}

@media screen and (max-width: 840px) {
  .p-case-fv__icon3 img {
    width: 53px;
  }
}

.p-case-fv__tabs {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 6px;
  align-items: center;
  margin-inline-start: -50px;
}

@media screen and (max-width: 1060px) {
  .p-case-fv__tabs {
    margin-inline-start: -80px;
  }
}

@media screen and (max-width: 840px) {
  .p-case-fv__tabs {
    display: none;
  }
}

.p-case-fv__tab--sp {
  display: none;
}

@media screen and (max-width: 840px) {
  .p-case-fv__tab--sp {
    display: block;
  }
}

.p-case-fv__tabs--sp {
  display: none;
}

@media screen and (max-width: 840px) {
  .p-case-fv__tabs--sp {
    display: flex;
    justify-content: space-between;
    column-gap: 8px;
  }
}

.p-case-fv__tab {
  background: var(--background-color);
  width: 255px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  column-gap: 10px;
  padding: 10px;
}

@media screen and (max-width: 840px) {
  .p-case-fv__tab {
    width: 100%;
    flex-direction: column;
    width: 114px;
    column-gap: 0;
    row-gap: 5px;
    padding: 6px 2px;
  }
}

.p-case-fv__tab.active {
  position: relative;
  width: 387px;
  aspect-ratio: 387 / 99;
  box-shadow: 7px 11px 4px 0 rgba(0, 0, 0, 0.11);
  display: flex;
  padding: 9.5px 12px;
}

@media screen and (max-width: 840px) {
  .p-case-fv__tab.active {
    width: 100%;
    display: block;
  }
}

.p-case-fv__tab.active::before {
  position: absolute;
  content: "";
  width: 20px;
  height: 24px;
  background-color: var(--background-color);
  top: 50%;
  translate: 0 -50%;
  right: calc(100% - 5px);
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

#content-movie .p-case-fv__tab.active {
  margin-block-end: 7px;
}

.p-case-fv__tab--sp {
  position: relative;
  width: min(358px, 100%);
  padding: 14px 21px;
  background-color: var(--background-color);
  border-radius: 10px;
  box-shadow: 7px 11px 4px 0 rgba(0, 0, 0, 0.11);
}

.p-case-fv__tab--sp::before {
  position: absolute;
  content: "";
  background-color: var(--background-color);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  width: 24px;
  height: 20px;
  left: 50%;
  translate: -50%;
  bottom: calc(100% - 3px);
}

.p-case-fv__tab--sp .p-case-fv__tab-text {
  color: var(--sub-color);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.37;
}

.p-case-fv__tab--sp .p-case-fv__tab-catch {
  font-size: 14px;
}

.p-case-fv__tab-icon img {
  width: 60px;
  aspect-ratio: 1;
  display: block;
}

.p-case-fv__tab.active .p-case-fv__tab-icon img {
  width: 80px;
  aspect-ratio: 1;
  display: block;
}

@media screen and (max-width: 840px) {
  .p-case-fv__tab.active .p-case-fv__tab-icon img {
    width: 51px;
    aspect-ratio: 1;
    display: block;
  }
}

.btn-movie .p-case-fv__tab-catch,
.btn-cafe .p-case-fv__tab-catch,
.btn-restaurant .p-case-fv__tab-catch,
.btn-shibusoba .p-case-fv__tab-catch
 {
  color: var(--sub-color);
}

.p-case-fv__tab-catch {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.05em;
  text-align: left;
  font-feature-settings: "palt";
}

@media screen and (max-width: 840px) {
  .p-case-fv__tab-catch {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    font-feature-settings: "palt";
    text-align: center;
  }
}

.p-case-fv__tab.active .p-case-fv__tab-catch {
  color: var(--sub-color);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.p-case-fv__tab-text {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
}

@media screen and (max-width: 840px) {
  .p-case-fv__tab-text {
    margin-block: 4px 0;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
    font-feature-settings: "palt";
  }
}

.p-case-fv__tab.active .p-case-fv__tab-text {
  font-size: 14px;
}

.p-case-use {
  background-color: var(--background-color);
  padding-block: 110px 60px;
}

@media screen and (max-width: 840px) {
  .p-case-use {
    padding-block: 86px 43px;
  }
}

.p-case-use__inner {
  padding-inline: 40px;
  width: min(calc(1040px + 40px * 2), 100%);
  margin-inline: auto;
}

@media screen and (max-width: 840px) {
  .p-case-use__inner {
    padding-inline: 16px;
    max-width: calc(500px + 32px);
  }
}

.p-case-use__words-wrap {
  padding-block: 50px 0;
  display: flex;
  justify-content: center;
  column-gap: 48px;
  width: fit-content;
  margin-inline: auto;
}

@media screen and (max-width: 840px) {
  .p-case-use__words-wrap {
    padding-block: 24px 0;
    column-gap: 0;
    flex-direction: column-reverse;
    align-items: center;
    row-gap: 8px;
  }
}

.p-case-use__icon {
  width: 114px;
}

@media screen and (max-width: 840px) {
  .p-case-use__icon {
    width: 114px;
  }
}

.p-case-use__icon img {
  aspect-ratio: 1;
  display: block;
}

.p-case-use__word-wrap {
  position: relative;
  padding: 24px;
  background-color: var(--sub-color);
  border-radius: 16px;
  height: fit-content;
  width: 100%;
}

@media screen and (max-width: 840px) {
  .p-case-use__word-wrap {
    padding: 24px 12px;
    text-align: center;
  }
}

.p-case-use__word-wrap::before,
.p-case-use__word-wrap::after {
  position: absolute;
  content: "";
  background-color: var(--sub-color);
  border-radius: 50%;
  width: 12px;
  aspect-ratio: 1;
}

.p-case-use__word-wrap::before {
  bottom: 14px;
  right: calc(100% + 4px);
}

@media screen and (max-width: 840px) {
  .p-case-use__word-wrap::before {
    bottom: -18px;
    right: auto;
    left: 71px;
  }
}

.p-case-use__word-wrap::after {
  bottom: 6px;
  right: calc(100% + 25px);
}

@media screen and (max-width: 840px) {
  .p-case-use__word-wrap::after {
    bottom: -29px;
    right: auto;
    left: 89px;
  }
}

.p-case-use__word {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

@media screen and (max-width: 840px) {
  .p-case-use__word {
    font-size: 16px;
    line-height: 1.37;
  }
}

.p-case-use__list {
  margin-block-start: 40px;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  width: 100%;
}

@media screen and (max-width: 840px) {
  .p-case-use__list {
    margin-block: 8px 0;
    margin-inline: auto;
    row-gap: 10px;
    max-width: 358px;
  }
}

.p-case-use__item {
  background-color: var(--white);
  border-radius: 20px;
  padding: 32px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 840px) {
  .p-case-use__item {
    padding: 30px 23px;
    flex-direction: column;
  }
}

.p-case-use__item:nth-of-type(even) {
  flex-direction: row-reverse;
}

@media screen and (max-width: 840px) {
  .p-case-use__item:nth-of-type(even) {
    flex-direction: column;
  }
}

.p-case-use__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 549px;
}

@media screen and (max-width: 840px) {
  .p-case-use__left {
    width: 100%;
  }
}

.p-case-use__item:nth-of-type(odd) .p-case-use__left {
  padding-inline: 0 24px;
}

@media screen and (max-width: 840px) {
  .p-case-use__item:nth-of-type(odd) .p-case-use__left {
    padding-inline: 0;
  }
}

.p-case-use__item:nth-of-type(even) .p-case-use__left {
  padding-inline: 24px 0;
}

@media screen and (max-width: 840px) {
  .p-case-use__item:nth-of-type(even) .p-case-use__left {
    padding-inline: 0;
  }
}

.p-case-use__title {
  position: relative;
  color: var(--sub-color);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.37;
  padding-block: 0 13px;
  border-bottom: 3px solid var(--sub-color);
  text-align: center;
  width: 78%;
}

@media screen and (max-width: 840px) {
  .p-case-use__title {
    font-size: 22px;
    width: 100%;
    width: max-content;
  }
}

.p-case-use__title::before {
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50%;
  transform: skew(-25deg);
  height: 15px;
  width: 15px;
  border-right: 3px solid var(--sub-color);
  background-color: var(--white);
  content: "";
}

@media screen and (max-width: 840px) {
  .p-case-use__title::before {
    width: 10px;
    height: 10px;
    transform: skew(-40deg);
  }
}

.p-case-use__desc {
  margin-block: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 16px;
}

@media screen and (max-width: 840px) {
  .p-case-use__desc {
    margin-block: 32px 0;
  }
}

.p-case-use__desc.shibusoba {
  display: flex;
  flex-direction: column;
  row-gap: 21px;
  align-items: start;
  width: max-content;
}

.p-case-use__place {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

@media screen and (max-width: 840px) {
  .p-case-use__place {
    font-size: 20px;
  }
}

.p-case-use__boxes-col {
  display: grid;
  row-gap: 7px;
}

.p-case-use__boxes {
  display: flex;
  align-items: center;
  column-gap: 38px;
}

@media screen and (max-width: 840px) {
  .p-case-use__boxes {
    column-gap: 32px;
  }
}

.p-case-use__box {
  position: relative;
  border-radius: 10px;
  background: var(--background-gray2);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 143px;
  height: 81px;
}

@media screen and (max-width: 840px) {
  .p-case-use__box {
    width: 68px;
    height: 51px;
  }
}

.p-case-use__box.pink,
.p-case-daily__box.pink {
  background-color: #FFEFF1;
  color: inherit;
}



.p-case-use__box-noColor{
  display: flex;
  align-items: center;
  column-gap: 30px;
  flex-wrap: nowrap;
}

@media screen and (max-width: 840px) {
  .p-case-use__box-noColor {
    column-gap: 21px;
  }
}

.p-case-use__box:nth-of-type(1)::after {
  position: absolute;
  content: "→";
  color: var(--main-color);
  font-size: 22px;
  font-weight: 700;
  top: 50%;
  translate: 0 -50%;
  left: calc(100% + 8px);
}

.p-case-use__box:nth-of-type(1)::after {
  left: calc(100% + 5px);
}

.p-case-use__box:nth-of-type(2) {
  width: 340px;
  display: flex;
  column-gap: 34px;
}

@media screen and (max-width: 840px) {
  .p-case-use__box:nth-of-type(2) {
    width: 212px;
    column-gap: 22px;
  }
}

@media screen and (max-width: 840px) {
  .p-case-use__boxes-col .p-case-use__boxes .p-case-use__box:nth-of-type(1) {
    padding: 12px;
  }
}


.p-case-use__text {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  font-feature-settings: "palt";
}

@media screen and (max-width: 840px) {
  .p-case-use__text {
    font-size: 14px;
  }
}

.p-case-use__text.center {
  text-align: center;
}

.p-case-use__text .text-s {
  font-size: 14px;
}

@media screen and (max-width: 840px) {
  .p-case-use__text .text-s {
    font-size: 11px;
  }
}

.p-case-use__text.text-m {
    font-size: 18px;
    line-height: 1.6;
  }

@media screen and (max-width: 840px) {
  .p-case-use__text.text-m {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: .05em;
  }
}

.p-case-use__text .text-lg {
  font-size: 32px;
}

@media screen and (max-width: 840px) {
  .p-case-use__text .text-lg {
    font-size: 16px;
  }
}

@media screen and (max-width: 840px) {
  .p-case-use__box-noColor {
    font-size: 16px;
  }

  .p-case-use__box-noColor .text-lg {
    font-size: 22px;
}

.p-case-use__box-noColor .text-md {
  font-size: 20px;
}

}

.p-case-use__box-text--left {
  position: relative;
  text-align: center;
}

.p-case-use__box-text--left::before {
  position: absolute;
  content: "";
  background: url(../img/case/use_kakeru.png) no-repeat center / contain;
  width: 18px;
  aspect-ratio: 1;
  top: calc(50% + 3px);
  translate: 0 -50%;
  left: calc(100% + 8px);
}

@media screen and (max-width: 840px) {
  .p-case-use__box-text--left::before {
    width: 16px;
    left: calc(100% + 3px);
  }
}

.p-case-use__note {
  margin-block-start: 40px;
  font-size: 12px;
  font-weight: 500;
  font-feature-settings: "palt";
}

.p-case-use__note.center {
  margin-block-start: 18px;
  margin-right: 0;
  
}

.p-case-use__right {
  width: min(calc(436 / 1040 * 100%), 436px);
  aspect-ratio: 436 / 260;
}

@media screen and (max-width: 840px) {
  .p-case-use__right {
    margin-block: 16px 0;
    width: 100%;
    aspect-ratio: 312 / 185;
  }
}

.p-case-use__right img {
  aspect-ratio: 436 / 260;
  border-radius: 10px;
}

@media screen and (max-width: 840px) {
  .p-case-use__right img {
    aspect-ratio: 312 / 185;
  }
}

.p-case-use__box2 {
  display: flex;
  align-items: center;
  column-gap: 30px;
  width: max-content;
}

@media screen and (max-width: 840px) {
  .p-case-use__box2 {
    column-gap: 28px;
  }
}

.p-case-use__box3 {
  border-radius: 10px;
  width: 213px;
  height: 81px;
  color: var(--main-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: #FFEFF1;
  font-weight: 700;
}

@media screen and (max-width: 840px) {
  .p-case-use__box3 {
    width: max-content;
    font-size: 16px;
    padding: 4px;
    height: 51px;
  }
}

.p-case-use__box3 .text-s {
  font-size: 14px;
}

@media screen and (max-width: 840px) {
  .p-case-use__box3 .text-s {
    font-size: 11px;
  }
}
.p-case-use__box3 .text-lg {
  font-size: 32px;
  line-height: 1;
}

@media screen and (max-width: 840px) {
  .p-case-use__box3 .text-lg {
    font-size: 16px;
  }
}

.p-case-use__count {
  position: relative;
  color: var(--main-color);
  font-size: 22px;
  font-weight: 700;
}

@media screen and (max-width: 840px) {
  .p-case-use__count {
    font-size: 14px;
  }
}


.p-case-use__count::before {
  position: absolute;
  content: "";
  background: url(../img/case/use_kakeru.png) no-repeat center / contain;
  width: 18px;
  height: 18px;
  top: calc(50% + 4px);
  translate: 0 -50%;
  right: calc(100% + 4px);
}

@media screen and (max-width: 840px) {
  .p-case-use__count::before {
    width: 16px;
    height: 16px;
      top: 50%;
  }
}


.p-case-use__count .text-lg {
  font-size: 32px;
}

@media screen and (max-width: 840px) {
  .p-case-use__count .text-lg {
    font-size: 16px;
  }
}

.p-case-daily {
  background: linear-gradient(180deg, #FDC681 0%, #FB9697 100%);
  padding-block: 80px;
}

@media screen and (max-width: 840px) {
  .p-case-daily {
    padding-block: 43px;
  }
}

.p-case-daily__words-wrap {
  align-items: center;
}

@media screen and (max-width: 840px) {
  .p-case-daily__words-wrap {
    row-gap: 15px;
    width: 100%;
  }
}

.p-case-daily__content {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.80);
  padding: 52px 32px 60px;
}

@media screen and (max-width: 840px) {
  .p-case-daily__content {
    padding: 30px 22px;
    max-width: 358px;
    margin-inline: auto;
  }
}

.p-case-daily__list {
  margin-block-start: 40px;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  max-width: 986px;
  margin-inline: auto;
}

@media screen and (max-width: 840px) {
  .p-case-daily__list {
    margin-block-start: 9px;
    row-gap: 10px;
  }

}

.p-case-daily__head {
  background: linear-gradient(107deg, #D54209 4.59%, #E31F60 105.97%);
  color: var(--white);
  padding: 17px 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  border-radius: 16px 16px 0 0;
}

@media screen and (max-width: 840px) {
  .p-case-daily__head {
    line-height: 1.3;
    padding: 12px 16px;
    font-size: 16px;
  }
}

.p-case-daily__head .note {
  font-size: 12px;
}

.p-case-daily__body {
  position: relative;
  background: var(--white);
  border-radius: 0 0 16px 16px;
  padding: 24px 26px;
  display: flex;
  column-gap: 20px;
  justify-content: space-between;
}

@media screen and (max-width: 840px) {
  .p-case-daily__body {
    padding: 16px 14px 24px;
    flex-direction: column;
    row-gap: 16px;
  }
}



.p-case-daily__text-wrap {
  width: 100%;
}

.p-case-daily__box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 16px;
  background: var(--background-gray);
  padding: 16px calc(180 / 1440 * 100vw) 16px calc(24 / 1440 * 100vw);
  text-align: center;
}

@media screen and (max-width: 840px) {
  .p-case-daily__box {
    padding: 13px 86px 13px 12px;
  }
}


.p-case-daily__box.pd {
  padding: 21px calc(180 / 1440 * 100vw) 22px 24px;
}

@media screen and (max-width: 840px) {
  .p-case-daily__box.pd {
    padding: 18px 90px 18px 12px;
  }
}

.p-case-daily__box.reverse {
  padding: 16px calc(35 / 1440 * 100vw) 16px calc(161 / 1440 * 100vw);
}

@media screen and (max-width: 840px) {
  .p-case-daily__box.reverse {
    padding: 13px 86px 13px 12px;
  }
}

.p-case-daily__box.thin {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-case-daily__img {
  width: 290px;
  flex-shrink: 0;
}

.p-case-daily__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1040px) {
  .p-case-daily__img {
  width: calc(290 / 1040 * 100vw);
  min-width: 250px;
  height: auto;
}

}
@media screen and (max-width: 1040px) {
  .p-case-daily__img img {
    height: auto;
}

}

@media screen and (max-width: 1040px) {
  .p-case-daily__body:has(.p-case-daily__box.thin) .p-case-daily__img img {
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

}

@media screen and (max-width: 840px) {
  .p-case-daily__img {
    width: 100%;
  }
}


.p-case-daily__box.no-circle {
  padding-inline: 75px;
}

@media screen and (max-width: 840px) {
  .p-case-daily__box.no-circle {
    padding-inline: 18px;
    width: 100%;
  }
}

.p-case-daily__box.pi {
  padding-inline: calc(92 / 1440 * 100vw);
}

@media screen and (max-width: 840px) {
  .p-case-daily__box.pi {
    padding: 13px 16px;
  }
}

.p-case-daily__box.max-content {
  width: max-content;
}

@media screen and (max-width: 840px) {
  .p-case-daily__box.max-content {
    width: 100%;
}
}


@media screen and (max-width: 840px) {
  .p-case-daily__box.no-circle .p-case-daily__box-text:first-of-type {
    width: 100%;
  }
}


.p-case-daily__box-text {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}

@media screen and (max-width: 840px) {
  .p-case-daily__box-text {
    font-size: 16px;
  }
}

.p-case-daily__box-text:first-of-type {
  padding-block: 0 7px;
  border-bottom: 1px solid var(--main-color);
  width: 404px;
}

@media screen and (max-width: 840px) {
  .p-case-daily__box-text:first-of-type {
    font-size: 16px;
    width: 180px;
  }
}

.p-case-daily__box-text.max-content {
  width: max-content;
}

@media screen and (max-width: 840px) {
  .p-case-daily__box-text.nowrap {
    white-space: nowrap;
  }
}

.p-case-daily__box-text .text-s {
  font-size: 20px;
}

@media screen and (max-width: 840px) {
  .p-case-daily__box-text .text-s {
    font-size: 16px;
  }
}

.p-case-daily__box-text .text-lg {
  font-size: 30px;
  line-height: 1;
}

@media screen and (max-width: 840px) {
  .p-case-daily__box-text .text-lg {
    font-size: 22px;
    letter-spacing: -0.01em;
  }
}

.p-case-daily__circle {
  flex-shrink: 0;
  width: 133px;
  aspect-ratio: 1;
  border: 1px solid var(--main-color);
  border-radius: 50%;
  background-color: var(--white);
  display: grid;
  place-content: center;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  font-feature-settings: "palt";
}

@media screen and (max-width: 840px) {
  .p-case-daily__circle {
    width: 95px;
    line-height: 1.2;
    font-size: 14px;
    right: 6px;
  }
}

@media screen and (max-width: 1250px) {
  .p-case-daily__circle.sp.right {
    right: -12px;
  }
}

.p-case-daily__box.reverse .p-case-daily__circle {
  right: auto;
  left: 13px;
}

@media screen and (max-width: 840px) {
  .p-case-daily__box.reverse .p-case-daily__circle {
    left: auto;
    right: 6px;
  }
}

@media screen and (max-width: 840px) {
  .p-case-daily__circle.sp {
    width: 70px;
    right: 13px;
  }
}

.p-case-daily__circle .text-s {
  font-size: 12px;
}

@media screen and (max-width: 840px) {
  .p-case-daily__circle .text-s {
    font-size: 10px;
  }
}

.p-case-daily__circle .text-lg {
  font-size: 36px;
  line-height: 1;
}


@media screen and (max-width: 840px) {
  .p-case-daily__circle .text-lg {
    font-size: 24px;
    line-height: 1;
  }
}

.p-case-daily__circle .text-md {
  font-size: 27px;
}

@media screen and (max-width: 840px) {
  .p-case-daily__circle .text-md {
    font-size: 20px;
  }
}

@media screen and (max-width: 840px) {
  .p-case-daily__circle .text-sp-lg {
    font-size: 22px;
  }
}

@media screen and (max-width: 840px) {
  .p-case-daily__circle .text-sp-md {
    font-size: 14px;
  }
}




.p-case-daily__head .text-s {
  font-size: 12px;
  font-weight: 400;
}

.p-case-daily__detail {
  margin-block: 50px 0;
  border-radius: 16px;
  background: #FF7F7A;
  padding: 30px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 40px;
  max-width: 688px;
  margin-inline: auto;
}

@media screen and (max-width: 840px) {
  .p-case-daily__detail {
    margin-block: 30px 0;
    max-width: 358px;
    padding: 20px;
    row-gap: 30px;
  }
}

.p-case-daily__about {
  position: relative;
  font-size: 20px;
  font-weight: 700;
  width: 100%;
  text-align: center;
}

.p-case-daily__about::before {
  position: absolute;
  content: "";
  background-color: var(--white);
  width: 100%;
  height: 1px;
  top: calc(100% + 20px);
  left: 50%;
  translate: -50%;
}

@media screen and (max-width: 840px) {
  .p-case-daily__about::before{
    top: calc(100% + 15px);
  }
}

/* 追加css */

.p-case-daily__body {
  justify-content: center;
}

  .p-case-daily__item:nth-of-type(even) .p-case-daily__body {
    flex-direction: row-reverse;
  }

.p-case-daily__top {
  display: flex;
  column-gap: 10px;
  align-items: center;
}

.p-case-daily__box1 {
  width: 470px;
  max-width: 470px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 14px;
  color: var(--main-color);
  font-size: 22px;
  font-weight: 700;
  background: #FFEFF1;
  border-radius: 16px;
  min-height: 125px;
}


@media screen and (max-width: 1040px) {
  .p-case-daily__box1 {
    width: 100%;
  }
}
@media screen and (max-width: 840px) {
  .p-case-daily__box1 {
    row-gap: 0;
    font-size: 16px;
  }
}

.p-case-daily__box1.border {
  position: relative;
}

.p-case-daily__box1.border::before {
  position: absolute;
  content: "";
  width: calc(100% - 24px * 2);
  height: 1px;
  background: var(--main-color);
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

@media screen and (max-width: 840px) {
.p-case-daily__box1.border::before {
  content: none;
}
}

.p-case-daily__box-text1 {
  text-align: center;
  width: 100%;
}

@media screen and (max-width: 840px) {
  .p-case-daily__box-text1:nth-of-type(1) {
    border-bottom: 1px solid var(--main-color);
    padding-block-end: 7px;
  }
}

.p-case-daily__box1 .text-lg {
  font-size: 30px;
}

.p-case-daily__box1 .text-s {
  font-size: 20px;
}


.p-case-daily__box1 .p-case-daily__note {
  margin-block:12px 0;
 color: var(--text-primary);
}

.p-case-daily__box1 .p-case-daily__note {
  text-align: left;
  width: fit-content;
  margin-inline: auto;
}

.p-case-daily__body:has(.thin) {
  display: flex;
  align-items: stretch;
}

.p-case-daily__body.bottom {
  padding-block-end: 52px;
}

.p-case-daily__body.eiga {
  padding-block-end: 15px;
}

.p-case-daily__body.eiga .p-case-daily__note {
  margin-block-start: 12px;
}

@media screen and (max-width: 1130px) {
  .p-case-daily__circle {
    margin: -20px 0 0 -40px;
    position: relative;
    z-index: 2;
  }
}

@media screen and (max-width: 840px) {

  .p-case-daily__item:nth-of-type(even) .p-case-daily__body {
    flex-direction: column;
  }



  .p-case-daily__circle {
    margin: 0;
    position: relative;
    z-index: 2;
  }

  .p-case-daily__circle.small {
    width: 70px;
  }

  .p-case-daily__circle .text-md {
    font-size: 14px;
  }

  .p-case-daily__box1 {
    font-size: 16px;
    padding: 13px;
    min-height: 0;
  }

  .p-case-daily__box1 .text-lg {
    font-size: 22px;
    line-height: 1.1;
  }

  .p-case-daily__box1 .text-s {
    font-size: 16px;
  }

  .p-case-daily__body.bottom {
    padding-block-end: 82px;
  }
  

}

.p-case-daily__point-list {
  display: grid;
  margin-block-start: 18px;
  row-gap: 8px;
}

@media screen and (max-width: 840px) {
  .p-case-daily__point-list {
    margin-inline-start: 0;
    row-gap: 13px;
  }
}

.p-case-daily__point-item {

}

.p-case-daily__point-item .text {
  color: var(--main-color);
  font-size: 16px;
  font-weight: 700;
}

.p-case-daily__point-item .note {
  font-size: 12px;
}


.p-case-daily__note {
  margin-block-start: 4px;
  font-size: 12px;
  font-weight: 500;
}

@media screen and (max-width: 840px) {
  .p-case-daily__note {
    margin-inline-start: 0;
    align-self: start;
  }
}


.p-case-daily__note.bottom {
  position: absolute;
  font-size: 12px;
  font-weight: 500;
  bottom: 16px;
  left: 26px;
  margin-block-start: 0;
}

@media screen and (max-width: 840px) {
  .p-case-daily__note.bottom {
    left: 14px;
    bottom: 24px;
    width: calc(280 / 314 * 100%);
    line-height: 1.1;
  }
}

.p-case-campaign {
  background: var(--white);
  padding-block: 80px;
}

@media screen and (max-width: 840px) {
  .p-case-campaign {
    padding-block: 30px 0;
  }
}

.p-case-campaign__heading {
  padding-block: 13px;
  background: linear-gradient(107deg, rgba(255, 194, 115, 0.24) 4.59%, rgba(255, 204, 172, 0.24) 20.68%, rgba(255, 203, 188, 0.24) 34.32%, rgba(255, 208, 203, 0.24) 47.48%, rgba(255, 183, 187, 0.24) 62.1%, rgba(255, 212, 221, 0.24) 84.52%, rgba(255, 229, 240, 0.24) 105.97%);
  text-align: center;
}

@media screen and (max-width: 840px) {
  .p-case-campaign__heading {
    letter-spacing: -0.01em;
  }
}

.p-case-campaign__wrap {
  margin-block: 84px 0;
  border-radius: 16px;
  background: #FFEFF1;
  max-width: 826px;
  padding-block: 43px;
  margin-inline: auto;
}

@media screen and (max-width: 840px) {
  .p-case-campaign__wrap {
    margin-block: 40px 0;
    border-radius: 0;
    width: 100%;
    padding: 43px 16px;
    row-gap: 26px;
  }
}

.p-case-campaign__inner {
  padding-inline: 20px;
  width: min(calc(688px + 20px * 2), 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  align-items: center;
}

@media screen and (max-width: 840px) {
  .p-case-campaign__inner {
    padding-inline: 16px;
    width: min(calc(500px + 16px * 2), 100%);
    row-gap: 26px;
  }
}

.p-case-campaign__top {
  width: 100%;
}

.p-case-campaign__text-lg {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  padding-block: 0 20px;
  text-align: center;
  border-bottom: 1px solid var(--main-color);
}

.p-case-campaign__text {
  margin-block: 20px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.p-case-campaign__box {
  border-radius: 16px;
  background: #FFF8F9;
  padding: 30px 36px;
  width: 100%;
}

@media screen and (max-width: 840px) {
  .p-case-campaign__box {
    padding: 20px;
  }
}

.p-case-campaign__text-list {
  margin-block: 20px 0;
  list-style-type: none;
  counter-reset: listnum;
}

.p-case-campaign__text-item {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .03em;
}

.p-case-campaign__text-item::before {
  counter-increment: listnum;
  content: counter(listnum) ".";
}

.p-case-campaign__app {
  padding: 20px;
}

.p-case-campaign__note {
  margin-block: 12px 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.3s ease-in-out;
}

.p-case-campaign__note a {
  text-decoration: underline;
}

@media (hover:hover) {
  .p-case-campaign__note a:hover {
    color: var(--text-link-hover);
  }
}

.p-case-other {
  background: linear-gradient(180deg, #FFE2C5 0%, #FFF0E9 100%);
  padding-block: 80px;
}

@media screen and (max-width: 840px) {
  .p-case-other {
    background: linear-gradient(180deg, #FFE7CA 0%, #FFC8C9 100%);
    padding-block: 43px;
  }
}

.p-cafe-other__inner {
  padding-inline: 20px;
  width: min(calc(986px + 20px * 2), 100%);
}

.p-case-other__heading {
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
  padding-block: 13px;
}

.p-case-other__list {
  margin-block: 30px 0;
  display: flex;
  column-gap: 16px;
  justify-content: space-between;
}

@media screen and (max-width: 840px) {
  .p-case-other__list {
    flex-direction: column;
    row-gap: 28px;
    column-gap: 0;
    align-items: center;
  }
}

.p-case-other__item {
  max-width: 308px;
  flex: 1;
}

.p-case-other__button {
  background-color: var(--background-color);
  padding: 14px 13px 20px;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  border-radius: 16px;
}

.p-case-other__img img {
  border-radius: 6px;
  display: block;
  aspect-ratio: 280 / 118;
}

.p-case-other__title {
  color: var(--sub-color);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}