@charset "UTF-8";

a[id^="menu_button"] + div.width_fixed>.content_wrapper,
a[id^="menu_link"] + div.width_fixed>.content_wrapper{
  display: flex;
  column-gap:1rem;
  row-gap: 1rem;
  flex-wrap: wrap;
}
a[id^="menu_link"] +.contents_btn01 .content_wrapper>a{
  margin: 0;
  width: calc(33.3333% - 1rem * 2 / 3) !important;
  min-width: unset;
  box-sizing: border-box;
}
a[id^="menu_button"] +.contents_btn01 .content_wrapper>a{
   margin: 0;
   width: calc(25% - 1rem * 3 / 4) !important;
   min-width: unset;
   box-sizing: border-box;
}
a[id^="menu_button"] +.contents_btn01 .content_wrapper>a span{
  padding: 10px 5px;
}
#menu_button12 + div.width_fixed>.content_wrapper,
#menu_button13 + div.width_fixed>.content_wrapper{
  justify-content: center;
}
@media screen and (max-width: 800px){
  a[id^="menu_button"] +.contents_btn01 .content_wrapper>a{
    width: calc(50% - 1rem * 1 / 2) !important;
  }
  #menu_button12 + div.width_fixed>.content_wrapper,
  #menu_button13 + div.width_fixed>.content_wrapper{
     justify-content: flex-start;
  }
}
@media screen and (max-width: 700px){
  a[id^="menu_link"] +.contents_btn01 .content_wrapper>a{
    width: 100% !important;
 }
}
@media screen and (max-width: 500px){
  a[id^="menu_button"] +.contents_btn01 .content_wrapper>a{
    padding-left: 22px;
    padding-right: 10px;
  }
  a[id^="menu_button"] +.contents_btn01 .content_wrapper>a span{
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 359px){
  a[id^="menu_button"] +.contents_btn01 .content_wrapper>a span{
    font-size: 1rem;
  }
}