@charset "UTF-8";

h3{
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

/* ----------------------------------------------

  PC設定

  ------------------------------------------------*/
@media all and (min-width: 769px) {
#voice,
#staff{
  display: flex;
  flex-wrap: wrap;
  gap:3%;
  margin: 0 auto 60px;
  padding:0;
  width: 100%;
}
#staff h2{
  border:1px solid #000;
  font-size:24px;
  margin: 0 0 20px;
  padding: 10px 35px;
  width: calc(100% - 70px);
  position: relative;
}
#staff h2:before{
  content: "";
  background:#ff6900;
  width: 5px;
  height: 100%;
  position: absolute;
  top:0;
  left: 0;
}
#staff h3{
  font-size: 16px;
  margin: 0 0 30px;
  padding: 10px 35px;
  width: calc(100% - 70px);
}
#voice ul.voice_list,
#staff ul.staff_list{
  margin: 0;
  padding: 0;
  width: 30%;
}
#voice ul.voice_list .image,
#staff ul.staff_list .image{
  margin: 0 auto 10px;
  width: 100%;
  position: relative;
  height:360px;
  text-align: center;
}
#voice ul.voice_list .image span,
#staff ul.staff_list .image span{
  background:#fff;
  border:1px solid #000;
  font-size:14px;
  text-align: center;
  padding: 0 10px;
  position: absolute;
  top:10px;
  left:10px;
}
#voice ul.voice_list .image img,
#staff ul.staff_list .image img{
  width: auto;
  height: 100%;
  object-fit: contain;
}
#voice ul.voice_list .name,
#staff ul.staff_list .name{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto 15px;
  padding: 0;
  width: 100%;
}
#voice ul.voice_list .name b,
#staff ul.staff_list .name b{
  width: 50%;
}
#voice ul.voice_list .name a,
#staff ul.staff_list .name a{
  display: block;
  font-size: 14px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  text-align: center;
  position: relative;
  width: 40%;
}
#voice ul.voice_list .name a:after,
#staff ul.staff_list .name a:after{
  content: "";
  background:url(/images/arrow.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  width:12px;
  height: 12px;
  position: absolute;
  bottom:3px;
  right:3px;
}
#voice ul.voice_list .text,
#staff ul.staff_list .text{
  margin: 0 auto 20px;
  width: 100%;
  min-height: 120px;
}
#voice ul.voice_list .staff{
  margin: 0 auto;
  padding: 30px 0;
  width: 100%;
  position: relative;
}
#voice ul.voice_list .staff:before{
  content: "";
  background: url(/images/kakko_top.png);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 96%;
  height: 30px;
  position: absolute;
  top: 0;
  left: 2%;
}
#voice ul.voice_list .staff:after{
  content:"";
  background: url(/images/kakko_bottom.png);
  background-repeat: no-repeat;
  background-size:100%;
  width: 96%;
  height: 30px;
  position: absolute;
  bottom: 0;
  left: 2%;
}
#voice ul.voice_list .staff dl{
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 12px 0 0;
}
#voice ul.voice_list .staff dl dd.image{
  grid-row: 1/3;
  grid-column: 1/2;
}
#voice ul.voice_list .staff dl dd.image figure{
  border: 1px solid #000;
  border-radius:100px;
  width: 100px;
  height:100px;
  overflow: hidden;
}
#voice ul.voice_list .staff dl dd.image figure img{
}
#voice ul.voice_list .staff dl dd.name{
  grid-row: 1/2;
  grid-column: 2/3;
  background:#eee;
  font-size:14px;
  padding: 3px 10px;
  width: calc(100% - 20px);
}
#voice ul.voice_list .staff dl dd.text{
  grid-row: 2/3;
  grid-column: 2/3;
  font-size:14px;
  min-height: unset;
}

main .home{
  margin: 30px auto;
  padding: 0;
  width: 100%;
}
main .home a{
  display: block;
  border: 1px solid #000;
  border-radius:60px;
  margin: 0 auto;
  padding: 3px 10%;
  width: fit-content;
  transition: all ease 0.8s;
}
main .home a:hover{
  background:#caedef;
}

/*detailページ*/
#voice ul.detail_img,
#staff .detail_img{
  display: flex;
  flex-wrap: wrap;
  gap:1%;
  margin: 0 auto 30px;
  padding: 0;
  width: 100%;
}
#voice ul.detail_img .main,
#staff .detail_img .main{
  text-align: center;
  margin: 0 0 20px;
  width: 100%;
  height: 320px;
  overflow: hidden;
}
#voice ul.detail_img .main img,
#staff .detail_img .main img{
  /*max-width: 70%;
  width: 95%;*/
  height: 100%;
  object-fit: contain;
}
#voice ul.detail_img .sub,
#staff .detail_img .sub{
  width: 32%;
  margin: 0 0 20px;
}
#voice ul.detail_img .main span,
#voice ul.detail_img .sub span,
#staff .detail_img .main span,
#staff .detail_img .sub span{
  display: block;
  margin: 10px 0 0;
  padding: 0 0;
  width: 100%;
}
#voice dl.detail_comment{
  border-left: 8px solid #ff6900;
  margin: 0 auto 20px;
  padding: 10px 0 10px 20px;
  width: calc(100% - 20px);
}
#staff dl.detail_comment{
  border-left: 8px solid #ff6900;
  margin: 0 0 20px;
  padding: 10px 20px 10px 20px;
  width: calc(72% - 40px);
}
#voice dl.detail_comment dt,
#staff dl.detail_comment dt{
  border-bottom:1px solid #000;
  padding: 10px 20px;
  width:calc(100% - 40px);
}
#voice dl.detail_comment dd,
#staff dl.detail_comment dd{
  padding: 10px 20px;
  width:calc(100% - 40px);
}
#voice ul.detail_list,
#staff ul.detail_list{
  margin: 20px auto 20px;
  padding: 0;
  width: 80%;
}
#voice ul.detail_list .staff{
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  margin: 0 auto;
  padding: 20px 0;
  width: 100%;
  position: relative;
}
#voice ul.detail_list .staff dl{
  display: grid;
  grid-template-columns: 1fr 5fr;
  padding: 12px 0 0;
}
#voice ul.detail_list .staff dl dd.image{
  grid-row: 1/3;
  grid-column: 1/2;
}
#voice ul.detail_list .staff dl dd.image figure{
  border: 1px solid #000;
  border-radius:100px;
  width: 100px;
  height:100px;
  overflow: hidden;
}
#voice ul.detail_list .staff dl dd.image figure img{
}
#voice ul.detail_list .staff dl dd.name{
  grid-row: 1/2;
  grid-column: 2/3;
  background:#eee;
  font-size:14px;
  padding: 3px 10px;
  width: calc(100% - 20px);
}
#voice ul.detail_list .staff dl dd.text{
  grid-row: 2/3;
  grid-column: 2/3;
  font-size:14px;
  min-height: unset;
}
#staff .detail_info{
  display: flex;
  margin: 0 0 20px;
  width: 100%;
}
#staff .detail_info .detail_info_left{
  padding: 0 20px 0 0;
  width: calc(70% - 20px);
}
#staff .detail_info .detail_info_right{
  width: 30%;
}
#staff .detail_info dl.simple{
  border-bottom: 1px solid #000;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto 20px;
  width: 100%;
  position: relative;
}
#staff .detail_info dl.simple dt{
  margin: 0;
  padding: 10px;
  min-width: 125px;
  width: calc(15% - 20px);
  position: relative;
}
#staff .detail_info dl.simple dt:after{
  box-sizing: unset!important;
  content: "";
  background:#000;
  width: 1px;
  height: 18px;
  position: absolute;
  bottom:0;
  right:0;
}
#staff .detail_info dl.simple dd{
  margin: 0;
  padding: 10px 30px;
  width: calc(85% - 60px);
}

.bannerarea{
  margin: 60px auto;
  padding: 0;
  width: 90%;
}
}

/* ----------------------------------------------

  SP設定

  ------------------------------------------------*/
@media all and (max-width: 768px) {
h2{
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}
#contents{
  position: relative;
  z-index: 0;
}
.under_page #container #contents .top_prop h1{
  width: 70%;
}
#voice,
#staff{
  margin: 0 auto 60px;
  padding:0;
  width: 95%;
}
#staff h2{
  border:1px solid #000;
  font-size:18px;
  margin: 0 0 20px;
  padding: 10px 20px 10px 20px;
  position: relative;
}
#staff h2:before{
  content: "";
  background:#ff6900;
  width: 5px;
  height: 100%;
  position: absolute;
  top:0;
  left: 0;
}
#staff h3{
  font-size: 14px;
  margin: 0 0 30px;
  padding: 10px 20px 10px 20px;
}
#voice ul.voice_list,
#staff ul.staff_list{
  margin: 0 auto 40px;
  padding: 0;
  width: 100%;
}
#voice ul.voice_list .image,
#staff ul.staff_list .image{
  margin: 0 auto 10px;
  width: 100%;
  position: relative;
  height: 320px;
  text-align: center;
}
#voice ul.voice_list .image span,
#staff ul.staff_list .image span{
  background:#fff;
  border:1px solid #000;
  font-size:14px;
  text-align: center;
  padding: 0 10px;
  position: absolute;
  top:10px;
  left:10px;
}
#voice ul.voice_list .image img,
#staff ul.staff_list .image img{
  width: auto;
  height: 100%;
  object-fit: contain;
}
#voice ul.voice_list .name,
#staff ul.staff_list .name{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto 15px;
  padding: 0;
  width: 100%;
}
#voice ul.voice_list .name b,
#staff ul.staff_list .name b{
  width: 50%;
}
#voice ul.voice_list .name a,
#staff ul.staff_list .name a{
  display: block;
  font-size: 14px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  text-align: center;
  position: relative;
  width: 40%;
}
#voice ul.voice_list .name a:after,
#staff ul.staff_list .name a:after{
  content: "";
  background:url(/images/arrow.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  width:12px;
  height: 12px;
  position: absolute;
  bottom:3px;
  right:3px;
}
#voice ul.voice_list .text,
#staff ul.staff_list .text{
  margin: 0 auto 20px;
  width: 100%;
}
#voice ul.voice_list .staff{
  margin: 0 auto;
  padding: 30px 0;
  width: 100%;
  position: relative;
}
#voice ul.voice_list .staff:before{
  content: "";
  background: url(/images/kakko_top.png);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 96%;
  height: 30px;
  position: absolute;
  top: 0;
  left: 2%;
}
#voice ul.voice_list .staff:after{
  content:"";
  background: url(/images/kakko_bottom.png);
  background-repeat: no-repeat;
  background-size:100%;
  width: 96%;
  height: 30px;
  position: absolute;
  bottom: 0;
  left: 2%;
}
#voice ul.voice_list .staff dl{
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 12px 0 0;
}
#voice ul.voice_list .staff dl dd.image{
  grid-row: 1/3;
  grid-column: 1/2;
}
#voice ul.voice_list .staff dl dd.image figure{
  border: 1px solid #000;
  border-radius:100px;
  width: 100px;
  height:100px;
  overflow: hidden;
}
#voice ul.voice_list .staff dl dd.image figure img{
}
#voice ul.voice_list .staff dl dd.name{
  grid-row: 1/2;
  grid-column: 2/3;
  background:#eee;
  font-size:14px;
  padding: 3px 10px;
  width: calc(100% - 20px);
}
#voice ul.voice_list .staff dl dd.text{
  grid-row: 2/3;
  grid-column: 2/3;
  font-size:14px;
  min-height: unset;
}
main .home{
  margin: 30px auto;
  padding: 0;
  width: 100%;
}
main .home a{
  display: block;
  border: 1px solid #000;
  border-radius:60px;
  margin: 0 auto;
  padding: 3px 10%;
  width: fit-content;
  transition: all ease 0.8s;
}
main .home a:hover{
  background:#caedef;
}
/*detailページ*/
#voice ul.detail_img,
#staff ul.detail_img{
  display: flex;
  flex-wrap: wrap;
  gap:1%;
  margin: 0 auto 60px;
  padding: 0;
  width: 100%;
}
#voice ul.detail_img .main,
#staff ul.detail_img .main{
  text-align: center;
  margin: 0 0 20px;
  width: 100%;
}
#voice ul.detail_img .sub,
#staff ul.detail_img .sub{
  width: 32%;
  margin: 0 0 20px;
}
#voice ul.detail_img .main span,
#voice ul.detail_img .sub span,
#staff ul.detail_img .main span,
#staff ul.detail_img .sub span{
  display: block;
  margin: 10px 0 0;
  padding: 0 0;
  width: 100%;
}
#voice dl.detail_comment,
#staff dl.detail_comment{
  border-left: 8px solid #ff6900;
  margin: 0 auto 20px;
  padding: 0 0 0 10px;
  width: calc(100% - 10px);
}
#voice dl.detail_comment dt,
#staff dl.detail_comment dt{
  border-bottom:1px solid #000;
  padding: 10px 10px;
  width:calc(100% - 20px);
}
#voice dl.detail_comment dd,
#staff dl.detail_comment dd{
  padding: 10px 10px;
  width:calc(100% - 20px);
}
#voice ul.detail_list,
#staff ul.detail_list{
  margin: 20px auto 20px;
  padding: 0;
  width: 100%;
}
#voice ul.detail_list .staff{
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  margin: 0 auto;
  padding: 10px 0;
  width: 100%;
  position: relative;
}
#voice ul.detail_list .staff dl{
  display: grid;
  grid-template-columns: 1fr 3fr;
  padding: 12px 0 0;
}
#voice ul.detail_list .staff dl dd.image{
  grid-row: 1/3;
  grid-column: 1/2;
}
#voice ul.detail_list .staff dl dd.image figure{
  border: 1px solid #000;
  border-radius:100px;
  width: 100px;
  height:100px;
  overflow: hidden;
}
#voice ul.detail_list .staff dl dd.image figure img{
}
#voice ul.detail_list .staff dl dd.name{
  grid-row: 1/2;
  grid-column: 2/3;
  background:#eee;
  font-size:14px;
  padding: 3px 10px;
  width: calc(100% - 20px);
}
#voice ul.detail_list .staff dl dd.text{
  grid-row: 2/3;
  grid-column: 2/3;
  font-size:14px;
  min-height: unset;
}
#staff .detail_info{
  margin: 20px 0 20px;
  width: 100%;
}
#staff .detail_info .detail_info_left{
}
#staff .detail_info .detail_info_right{
  margin: 0 auto 20px;
  width: 60%;
}
#staff .detail_info dl.simple{
  box-sizing: unset!important;
  border-bottom: 1px solid #000;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto 20px;
  padding: 0 0 10px;
  width: 100%;
}
#staff .detail_info dl.simple dt{
  border-bottom: 1px solid #000;
  margin: 0;
  padding: 10px;
  width: calc(38% - 20px);
  height: fit-content;
  position: relative;
}
#staff .detail_info dl.simple dt:after{
  box-sizing: unset!important;
  content: "";
  background:#000;
  width: 1px;
  height: 18px;
  position: absolute;
  bottom:0;
  right:0;
}
#staff .detail_info dl.simple dd{
  box-sizing: unset!important;
  margin: 0;
  padding: 10px 10px;
  width: calc(62% - 20px);
}
.bannerarea{
  margin: 60px auto;
  padding: 0;
  width: 90%;
}
}
