@charset "UTF-8";
/*各ページ独自のcss設定*/


/*以下に指定を記述する*/

body{
   background-color: #fffbf8;
}

p{
   font-family: "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
}

.title{
   color: #3e3a39;
   font-size: 28px;
   font-weight: bold;
   text-align: center;
   margin: 0 auto;
   margin-top: 40px;
}




.linebox {
  position: relative;
  width: 265px;
  height: 4px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.line {
  position: absolute;
  height: 4px;
}

.line1 {
  width: 120px;
  background: #edaa0b;
  border-radius: 10px;
  z-index: 3;
  left: 0;
}

.line2 {
  width: 100px;
  background: #f3c759;
  border-radius: 0 10px 10px 0;
  z-index: 2;
  left: 105px;
}

.line3 {
  width: 80px;
  background: #f9e3aa;
  border-radius: 0 10px 10px 0;
  z-index: 1;
  right: 0;
}


.capbox {
    position: relative;
    width: 345px;
    margin: 0 auto;
    padding: 15px 20px;
    border-top: 1px solid #f3c759;
    border-bottom: 1px solid #f3c759;
    margin-bottom: 30px;
}

.capbox::before,
.capbox::after {
    position: absolute;
    width: 1px;
    top: 50%;
    transform: translateY(-50%);
    height: calc(100% + 10px);
    background-color: #f3c759;
    content: '';
}

.capbox::before {
    left: 5px;
}

.capbox::after {
    right: 5px;
}

.honbun{
   font-size: 14px;
   line-height: 1.5;
   text-align: justify;
   text-align-last: left;
   color: #3e3a39;
}

.chubox{
   width: 265px;
   height: 55px;
   background-color: #ffffff;
   border: 1px solid #f3c759;
   margin: 0 auto;
   display: flex;
   justify-content: center;
   align-items: center;
   position: relative;
   margin-bottom: 20px;
}

.chubox::before{
   content: "";
   position: absolute;
   top: -2px;
   left: 233px;
   width: 32px;
   height: 32px;
   background-color: #fffbf8;
   clip-path:polygon(0 0, 100% 0, 100% 100%)
}

.chubox::after{
   content: "";
   position: absolute;
   top: -1px;
   left: 234px;
   width: 30px;
   height: 30px;
   background-color: #f3c759;
   clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.shadow{
   position: absolute;
   top: 29px;
   left: 237px;
   width: 27px;
   height: 3px;
   background-color: #f3c75980;
}

.chutitle{
   color: #3e3a39;
   font-weight: bold;
   font-size: 22px;
   position: relative;
}



.smallbox{
   width: 125px;
   height: 36px;
   border-top: 1.5px solid #f3c759;
   border-bottom: 1.5px solid #f3c759;
   margin: 0 auto;
   display: flex;
   justify-content: center;
   align-items: center;
   position: relative;
}

.smallbox::before{
   content: "";
   position: absolute;
   top: 0px;
   left: 0px;
   width: 20px;
   height: 20px;
   background-color: #f3c759;
   clip-path: polygon(0 0, 0 100%, 100% 0);
}

.smallbox::after{
   content: "";
   position: absolute;
   top: 15px;
   left: 105px;
   width: 20px;
   height: 20px;
   background-color: #f3c759;
   clip-path: polygon(100% 100%, 0 100%, 100% 0);
}

.smalltitle{
   color: #3e3a39;
   font-weight: 500;
   font-size: 16px;
}

.box{
   background-color: #ffffff;
   width: 335px;
   border: 1px solid #f3c759;
   margin: 0 auto;
   margin-top: 20px;
   margin-bottom: 60px;
   padding: 15px;
}





.bar-graph-wrap {
  width: 305px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto;
}
.graph {
  margin: 0;
  border-radius: 0 4px 4px 0;
  height: 15px;
  color: #3e3a39;
  font-size: 12px;
  position: relative;
}
.name{
   font-size: 12px;
}
.number{
   position: absolute;
   right: -8px;
   align-items: center;
   top: 60%;
   transform: translate(-50%, -50%);
}
.g1{
  background: #f7a1be;
  width: 69%;
}
.g2{
  background: #A1D3F7;
  width: 38%;
}
.g3{
  background: #C7F589;
  width: 38%;
}
.g4{
  background: #f1c65b;
  width: 31%;
}
.g5{
  background: #f9e3aa;
  width: 28%;
}
.g6{
  background: #f7a1be;
  width: 48%;
}
.g7{
  background: #A1D3F7;
  width: 43%;
}
.g8{
  background: #C7F589;
  width: 40%;
}
.g9{
  background: #f1c65b;
  width: 29%;
}
.g10{
  background: #f9e3aa;
  width: 29%;
}
.g11{
  background: #f7a1be;
  width: 54%;
}
.g12{
  background: #A1D3F7;
  width: 53%;
}
.g13{
  background: #C7F589;
  width: 46%;
}
.g14{
  background: #f1c65b;
  width: 37%;
}
.g15{
  background: #f9e3aa;
  width: 29%;
}
.g16{
  background: #f7a1be;
  width: 37%;
}
.g17{
  background: #A1D3F7;
  width: 33%;
}
.g18{
  background: #C7F589;
  width: 33%;
}
.g19{
  background: #f1c65b;
  width: 25%;
}
.g20{
  background: #f9e3aa;
  width: 22%;
}
.g21{
  background: #f7a1be;
  width: 33%;
}
.g22{
  background: #A1D3F7;
  width: 33%;
}
.g23{
  background: #C7F589;
  width: 33%;
}
.pie-chart-container {
  width: 305px;
  min-height: 145px;
  margin-left: 0;
  margin-right: auto;
  position: relative;
}

.pie-chart {
  width: 100%;
  height: 100%;
  position: relative;
}

.pie-chart::before {
  content: "";
  display: block;
  width: 145px; /* 円のサイズ */
  height: 145px;
  background:
    radial-gradient(circle closest-side, transparent 70%, white 0),
    conic-gradient(
  rgba(243, 199, 89, 0.25) 0%,   /* かなり薄い */
      rgba(243, 199, 89, 0.25) 5.8%,
      rgba(243, 199, 89, 0.55) 0%,   /* 中くらい */
      rgba(243, 199, 89, 0.55) 64.9%,
      rgba(243, 199, 89, 0.8) 0%,    /* かなり濃い */
      rgba(243, 199, 89, 0.8) 92.4%,
      rgba(243, 199, 89, 1) 0%,      /* 完全不透明 */
      rgba(243, 199, 89, 1) 100%
    );
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 100% 100%;
}
.graphcap {
  position: absolute;
  bottom: 1em;
  right: 0.5em;
  font-size: smaller;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.legend-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5em;
}

.legend-color {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  border-radius: 0.2em;
  flex-shrink: 0;
}

.legend-label,
.legend-number {
  display: inline-block;
  min-width: 4em;
  text-align: right;
}

.return{
   font-size: 17px;
   font-weight: 500;
   color: #3e3a39;
   text-decoration: none;
   display: flex;
   justify-content: center;
   align-items: center;
   background-color: #f9f9f9;
   width: 180px;
   height: 45px;
   margin: 0 auto;
   margin-bottom: 90px;
   box-shadow: 1px 1px 1px #00000080;
   position: relative;
}

.return::before{
   content: "";
   position: absolute;
   top: 0px;
   left: 166px;
   width: 15px;
   height: 15px;
   background-color: #b3b3b3;
   clip-path:polygon(0 0, 100% 0, 100% 100%)
}

.return::after{
   content: "";
   position: absolute;
   top: 30px;
   left: 0px;
   width: 15px;
   height: 15px;
   background-color: #f3c759;
   clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.modoru{
   display: block;
   text-decoration: none;
   width: 180px;
   margin: 0 auto;
   position: relative;
}

.nanameline{
   display: inline-block;
   width: 10px;
   height: 0.75px;
   background: #4d4d4d;
   transform: rotate(-45deg) translateY(-55%);
   transform-origin: left bottom;
   position: absolute;
   top: 55%;
   left: 33px;

}

.yokoline{
   display: inline-block;
   width: 30px;
   height: 0.75px;
   background: #4d4d4d;
   position: absolute;
   top: 55%;
   transform: translateY(-55%);
   left: 33px;
}

.back-to-top {
position: fixed;
bottom: 15px;
right: 15px;
background-color: #f3c75999;
color: white;
padding: 10px 14px;
border-radius: 25px;
text-decoration: none;
font-weight: bold;
font-size: 14px;
z-index: 999;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease;
}

.back-to-top:hover {
background-color: #e07e0099;
}

@media screen and (min-width:1024px) {
    /*レスポンシブ用*/
.title{
   font-size: 32px;
}

.capbox {
    width: 70%;
}



.chubox{
   width: 60% !important;
   height: 63px;
}

.chubox::before{
   top: -3px;
   left: auto;
   right: -2px;
   width: 33px;
   height: 33px;
}

.chubox::after{
   top: -1px;
   left: auto;
   right: -1px;
   width: 30px;
   height: 30px;
}

.shadow{
   top: 29px;
   left: auto;
   right: -1px;
   width: 27px;
   height: 3px;
}

.chutitle{
   font-size: 26px;
}

.smallbox{
   width: 133px;
   height: 44px;
}

.smallbox::before{
   top: -1px;
   left: 0px;
   width: 20px;
   height: 20px;
}

.smallbox::after{
   top: auto;
   bottom: -1px;
   left: auto;
   right: -1px;
   width: 20px;
   height: 20px;
}

.smalltitle{
   font-size: 20px;
}



.box{
   width: 80% !important;
   padding: 2.5%;
}


.honbun{
   font-size: 18px;
}

.underhonbun{
   margin-bottom: 0px;
}


.bar-graph-wrap {
  width: 95%;
  gap: 20px;
}
.graph {
  height: 30px;
  font-size: 16px;
}
.name{
   font-size: 16px;
}

.pie-chart-container {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.pie-chart {
  width: 30%;
  height:  80%;
}

.pie-chart::before {
  min-width: 400px;
  min-height: 400px;
  width: 100%;
  height: 100%;
  left: 2em;
}
.graphcap {
  width: 20%;
  right: auto;
  bottom: auto;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 1em;
  z-index: 100;
  position: static;
  margin-left: 40px;
}

.legend-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5em;
}

.legend-color {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  border-radius: 0.2em;
  flex-shrink: 0;
}

.legend-label,
.legend-number {
  display: inline-block;
  min-width: 4em;
  text-align: right;
}

.return{
   font-size: 18px;
   width: 188px;
   height: 53px;
}

.return::before{
   top: 0px;
   left: auto;
   right: -1px;
   width: 20px;
   height: 20px;
}

.return::after{
   top: 33px;
   left: 0px;
   width: 20px;
   height: 20px;
}

.modoru{
   display: block;
   text-decoration: none;
   width: 180px;
   margin: 0 auto;
   position: relative;
}

.nanameline{
   display: inline-block;
   width: 10px;
   height: 0.75px;
   background: #4d4d4d;
   transform: rotate(-45deg) translateY(-55%);
   transform-origin: left bottom;
   position: absolute;
   top: 55%;
   left: 37px;

}

.yokoline{
   display: inline-block;
   width: 30px;
   height: 0.75px;
   background: #4d4d4d;
   position: absolute;
   top: 55%;
   transform: translateY(-55%);
   left: 37px;
}
.return:hover{
  transform: translateY(4px);
  box-shadow: none;
}


.modoru:hover{
    transform: translateY(4px);


}


}
    