@charset "UTF-8";
main{
  position: relative;
  overflow: clip;
}
.sidemenu {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}
#sidemenu_peripheral .side_carrier,
#sidemenu_peripheral .side_inner {
  z-index: 999;
}
.side_inner {
  position: sticky;
  top: 90px;
  left: 0;
  max-height: calc(100vh - 90px);
  width: 264px;
  background: #F9D5BE;
  border-radius: 0 35px 35px 0;
  overflow-x: hidden;
  overflow-y: auto;
}
.side_head {
  display: flex;
  align-items: center;
  background: #EB5C02;
  padding: 10px 30px 10px 40px;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  &:hover {
    pointer-events: none;
    opacity: 1;
  }
}
.side_main {
  padding: 10px 0 20px 40px;
}
a.side_parent {
  color: #000;
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  &::after{
    content: '';
    background: url("../../../common/img/arrow_side.svg") no-repeat center;
    display: block;
    width: 17px;
    height: 17px;
    position: absolute;
    right: 10px;
  }
  &[aria-expanded="true"]::after{
    transform: rotate(-90deg);
  }
}

.detail_menu {
  background: #ECECEC;
  height: 224px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  @media screen and (max-width: 1481px) {
    /* height: 170px; */
  }
  @media screen and (max-width: 767px) {
    height: auto;
    padding: 15px 0;
    padding-right: calc(5% + 25px);
    padding-left: 5%;
    gap: 10px;
  }
}
a.detail_third {
  /* max-width: 224px; */
  max-width: calc(33.3% - 13.3px);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #Fff;
  height: 40px;
  font-weight: bold;
  color: #EB5C02;
  border-radius: 100px;
  @media screen and (max-width: 1481px) {
    max-width: calc(33.3% - 13.3px);
  }
  @media screen and (max-width: 767px) {
    width: calc(50% - 5px);
    max-width: initial;
    height: 30px;
    font-size: 1.2rem;
    text-align: center;
    padding: 5px;
    line-height: 1;
  }
}
a.detail_third[onclick] {
  font-size: 1.2rem;
  @media screen and (max-width: 1481px) {
    font-size: 1.2rem; 
  }
  @media screen and (max-width: 767px) {
    font-size: min(1.2rem, 2.4vw);
  }
}
.detail_body {
  padding-bottom: 60px;
  padding-left: 264px;
  background: #F6F6F6;
  @media screen and (max-width: 1481px) {
    /* padding-left: 264px; */
  }
  @media screen and (max-width: 767px) {
    padding-right: 30px;
    padding-left: 0px;
  }
}

.under_mv {
  background: #fff;
  padding-left: 264px;
  padding-right: 0;
  @media screen and (max-width: 1481px) {
    padding-left: 264px;
  }
  @media screen and (max-width: 767px) {
    padding-right: calc(5% + 10px);
    padding-left: 5%;
    min-height: 190px;
  }
}

.page-pankuzu {
  padding-left: 264px;
  padding-right: 0; 
  @media screen and (max-width: 1481px) {
    padding-left: 264px;
  }
  @media screen and (max-width: 767px) {
    padding-right: calc(5% + 10px);
    padding-left: 5%;
  }
}

.page_title {
  border-bottom: 1px solid #EB5C02;
}
.page_title--main {
  color: #EB5C02;
  padding-left: 5px;
}
.ft_cont::before {
  background: url("../../../common/img/ft_bg_t_gray.png") no-repeat center;
  -webkit-background-size: 100% 100%;
  background-size: 100% 100%;
}
.det_inner {
  max-width: 956px;
  width: 90%;
  margin: auto;
  padding-top: 24px;
}
.det_name {
  font-size: 3.2rem;
  padding-top: 30px;
  display: flex;
  justify-content: center;
  text-align: center;
}
.det_over {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 15px;
  gap: 20px;
  /* margin-top: 30px; */
}
.det_mid {
  font-size: 2.8rem;
  font-weight: bold;
  padding-bottom: 15px;
  border-bottom: 1px solid #EB5C02;
}
.det_block {
  max-width: 716px;
  width: 100%;
  margin: auto;
  line-height: 2;
}
.det_tab {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  border: 1px solid #EB5C02;
  border-radius: 50px;
  color: #EB5C02;
  font-weight: bold;
  min-height: 40px;
  margin-top: 30px;
}
.det_flex {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
}
.det_img {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}
a.side_cp{
  display: none;
}

@media screen and (max-width: 767px) {
  .sidemenu {
    width: 35px;
    left: auto;
    right: 0;
    transition-delay: .3s;
    &:has(a.side_cp[aria-expanded="true"]){
      width: 100%;
      transition: .0s;
    }
  }
  a.side_cp {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    display: block;
    height: 220px;
    background: #e85f21;
    color: #fff;
    padding: 10px 5px;
    font-size: 1.5rem;
    border-radius: 10px 0 0 10px;
    transition: .3s;
    position: absolute;
    top: 0;
    right: 0;
    &[aria-expanded="true"]{
      transform: translateX(-275px);
      .side_cp_arrow {
        transform: rotate(90deg);
      }
    }
    &:hover {
      opacity: 1;
    }
    .side_cp_arrow {
      transform: rotate(-90deg);
      display: inline-block;
    }
  }
  .side_carrier:has(.side_cp[aria-expanded="true"]) + .side_inner {
    transform: translateX(calc(100vw - 275px));
  }

  .side_inner {
    width: 275px;
    max-height: calc(100vh - 100px);
    transform: translateX(100vw);
    transition: .3s;
    border-radius: 0 0 0 35px;
    top: 80px;
  }
  .side_carrier {
    position: sticky;
    top: 80px;
    left: 0;
    height: 0;
  }
  .side_head {
    padding: 10px 20px;
    font-size: 2rem;
  }
  .side_main {
    padding: 10px 0 20px 20px;
  }
  a.side_parent {
    font-size: 1.4rem;
    padding: 5px;
  }
  .det_name {
    font-size: 2.4rem;
  }
  .det_mid {
    font-size: 2rem;
    padding-bottom: 10px;
  }
  .det_data {
    flex-direction: column;
    align-items: center;
  }
  .det_cell {
    margin-top: 30px;
  }
}

@media print {
}