.case{
  font-family: YakuHanJP, "Roboto", "Noto Sans JP", sans-serif;
  margin: 0 auto;
  caret-color: transparent;
}


.case_content_top {
  padding: 75px 0 60px 0;
  background: #FFD940;
}

.case_content_top h2 {
  margin: 0 0 0 0;
  padding: 0 0 15px 0;
  line-height: 1.2em;
  font-size: clamp(30px, 5vw, 62px);
  font-weight: 700;
  color: #685BC7;
  text-align: center;
}

.case_content_top p{
  color: #685BC7;
  font-weight: bold;
  text-align: center;
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.5em;
  margin-top: 20px;
} 


.case-top-button{
  margin: 50px auto 20px;
  text-align: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0 40px;
  max-width: 800px;
  gap: 30px;
  justify-content: center;
}

.case-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45%;
  height: 65px;
  padding: 19px 30px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  border-radius: 9999px;
  color: #685bc7;
  box-shadow: inset 0 0 0 2px #685bc7;
  transition: box-shadow 0.3s, transform 0.3s;
  transform: scale3d(1, 1, 1);
  will-change: transform;
}

.case-button::after {
  content: '';
  width: 10px;
  height: 10px;
  border: 0;
  border-bottom: solid 3px #685bc7;
  border-right: solid 3px #685bc7;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 17px;
  bottom: 0;
  margin: auto;
}

.case-button:hover::after{
  border-bottom: solid 3px #FFD940;
  border-right: solid 3px #FFD940;
}


@media (hover: hover) {
  .case-button:where(:any-link, :enabled, summary):hover {
    color: #FFD940;
    box-shadow: inset 0 0 0 45px #685bc7;
    transform: scale3d(1.05, 1.05, 1);
  }
}

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

  .case_content_top {
    padding: 50px 10px;
  }

  .case_content_top h2 {
    line-height: 1.2em;
    font-size: 40px;
  }

  .case-top-button{
    margin: 30px auto 20px;
    padding: 0 20px;
    gap: 15px 0;
    align-items: center;
    justify-content: space-between;
  }
  .case-button {
    font-size: 16px;
    line-height: 1.3em;
    height: 65px;
  }

}

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

  .case-button {
    width: 48%;
    padding: 16px 25px 16px 10px;
    font-size: clamp(12px, 3vw, 15px);
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .case-button::after {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-bottom: solid 2.5px #685bc7;
    border-right: solid 2.5px #685bc7;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 10px;
    bottom: 0;
    margin: auto;
  }
}


.travel-case,
.diary-case,
.canvas-case{
  background-color: #C0F2EA;
}

.gourmet-case,
.hobby-case{
  background-color: #F266BF;
}

.travel-case,
.gourmet-case,
.diary-case,
.hobby-case,
.canvas-case{
display: flex;
justify-content: center;
padding: 80px 0;
}


@media screen and (max-width: 768px) {
  .travel-case,
.gourmet-case,
.diary-case,
.hobby-case,
.canvas-case{
padding: 40px 0;
}
}

.case_container{
  width: 80%;
  max-width: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:50px;
}

.case_contant_left{
  width: 50%;
  padding:30px 10px;
  text-align: left;
}

.case_contant_right{
  width: 40%;
}

.case_contant_left h2{
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 700;
  color: #685BC7;
  line-height: 1.5em;
}

.case_contant_left.gourmet-left h2,
.case_contant_left.hobby-left h2{
  color: #FFD940;
}

.case_contant_left p{
  color: #685BC7;
  font-weight: bold;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.5em;
  margin-top: 30px;
}

.case_contant_left.gourmet-left p,
.case_contant_left.hobby-left p{
  color: #FFD940;
}

.case_contant_right .case_img_bg,
.case_contant_right .gourmet_img_bg,
.case_contant_right .diary_img_bg,
.case_contant_right .hobby_img_bg,
.case_contant_right .canvas_img_bg
{
  position: relative;
  text-align: center;
}

.case_contant_right .case_img_bg img,
.case_contant_right .gourmet_img_bg img,
.case_contant_right .diary_img_bg img,
.case_contant_right .hobby_img_bg img,
.case_contant_right .canvas_img_bg img
{
  width: 80%;
}

.case_img_01,.case_img_02,.case_img_03,
.gourmet_img_01,.gourmet_img_02,.gourmet_img_03,
.diary_img_01,.diary_img_02,.diary_img_03,
.hobby_img_01,.hobby_img_03,
.canvas_img_01,.canvas_img_02,.canvas_img_03,.canvas_img_04{
  position: absolute;
  width: 40%;
}

.hobby_img_02,.hobby_img_04{
  position: absolute;
  width: 60%;
}



.case_img_bg img,
.gourmet_img_bg img,
.diary_img_bg img,
.hobby_img_bg img,
.canvas_img_bg img
{
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.4));
  margin-bottom: 120px;
}

.case_img_01{
  bottom: -80px;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  z-index: 5;
}

.case_img_02{
  bottom:-100px;
  left: 0;
  transform: rotate(-15deg);
}

.case_img_03{
  bottom:-100px;
  right: 0;
  transform: rotate(15deg);
}

.gourmet_img_01{
  bottom: -100px;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  z-index: 5;
}

.gourmet_img_02{
  bottom:-100px;
  left: -20px;
}

.gourmet_img_03{
  bottom:-100px;
  right: -20px;
}

.diary_img_01{
  bottom: -100px;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  z-index: 5;
}

.diary_img_02{
  bottom:-140px;
  left: -20px;

}

.diary_img_03{
  bottom:-60px;
  right: -20px;
}


.hobby_img_01{
  bottom: -50px;
  right: -4vw;
  z-index: 5;
}

.hobby_img_02{
  bottom:-100px;
  right: -1vw;
  z-index: 3;
}

.hobby_img_03{
  bottom:-50px;
  left: 5vw;
  z-index: 2;
}

.hobby_img_04{
  bottom:-100px;
  left: -4vw;
}


.canvas_img_01{
  bottom: -120px;
  left: -12%;
  transform: rotate(-15deg);
}

.canvas_img_02{
  bottom:-100px;
  left: 15%;
  transform: rotate(-5deg);
}

.canvas_img_03{
  bottom:-100px;
  right: 17%;
  transform: rotate(5deg);
}

.canvas_img_04{
  bottom:-120px;
  right: -10%;
  transform: rotate(15deg);
}

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

  .case_container{
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:10px;
  }

  .case_contant_left{
    width: 100%;
    padding:0 10px;
    text-align: center;
  }
  
  .case_contant_right{
    width: 100%;
    padding:30px;
  }

  .case_contant_left h2{
    font-size: clamp(26px, 6.5vw, 45px);
    line-height: 1.2em;
  }

  .case_contant_left p{
    font-size: clamp(16px, 3vw, 22px);
    margin-top: 20px;
  }


  
  .case_img_02{
    bottom:-100px;
    left: 0;
    transform: rotate(-10deg);
  }
  
  .case_img_03{
    bottom:-100px;
    right: 0;
    transform: rotate(10deg);
  }
  
 
  .gourmet_img_02{
    bottom:-100px;
    left: -20px;
  }
  
  .gourmet_img_03{
    bottom:-100px;
    right: -20px;
  }
  
 
  .diary_img_02{
    bottom:-120px;
    left: -20px;
  
  }
  
  .diary_img_03{
    bottom:-80px;
    right: -20px;
  
  }


  
.hobby_img_01{
  bottom: -50px;
  right: -5vw;
}

.hobby_img_02{
  bottom:-26vw;
  right: -1vw;
}

.hobby_img_03{
  bottom:-50px;
  left: 12vw;
}

.hobby_img_04{
  bottom:-26vw;
  left: -10vw;
}


.canvas_img_01{
  bottom: -120px;
  left: -5%;
  transform: rotate(-15deg);
}

.canvas_img_02{
  bottom:-100px;
  left: 15%;
  transform: rotate(-5deg);
}

.canvas_img_03{
  bottom:-100px;
  right: 19%;
  transform: rotate(5deg);
}

.canvas_img_04{
  bottom:-120px;
  right: -5%;
  transform: rotate(15deg);
}

}

.margin_area{
  height: 62px;
}

.margin_area.travel_m,
.margin_area.diary_m,
.margin_area.canvas_m{
  background-color: #C0F2EA;
}

.margin_area.gourmet_m,
.margin_area.hobby_m{
  background-color: #F266BF;
}