@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;
}






.all{
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
   gap: 45px;
   margin-top: 60px;
   margin-left: 35px;
   margin-right: 35px;
   margin-bottom: 90px;
}



.box{
   display: block;
   text-decoration: none;
   color:#3e3a39;
   font-size: 16px;
   font-weight: 500;
   text-align: center;
   padding-top: 20px;
   background-color:#ffffff;
   width: 127px;
   height: 108px;
   box-shadow: 1px 1px 1px #00000066;
   mix-blend-mode: multiply;
   z-index: 1;
   position: relative;
   line-height: 1;
   border: solid 1px #e5e5e5;
}

.contentsname{
   display: inline;
   position: relative;
}

.contentsname::after{
   content: "";
   display: block;
   width: calc(100% + 4px);
   height: 4px;
   background: #edaa0b80;
   left: 50%;
   transform: translateX(-50%);
   position: absolute;
   margin-top: -3px;
   z-index: -1;
}

.triangle{
   width: 80px;
   height: 80px;
   background: linear-gradient(to bottom right, #ffffff80 60%, #edaa0b80 100%);
   clip-path: polygon(0 100%, 100% 0, 100% 100%);
   z-index: 2;
   position: absolute;
   top: 27px;
   left: 46px;

}

.img{
   z-index: 100;
   position: absolute;
   left: 50%;
   transform: translateX(-50%);
   bottom: 13px;
}

.ilst{
   width: 127px;
   height: 108px;
}


.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: #edaa0b;
   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;
}





.all{
   width: 80%;
   min-height: 127px;
   gap: auto;
   margin-top: 60px;
   margin-left: auto;
   margin-right: auto;
   margin-bottom: 90px;
}



.box{
   font-size: 20px;
   padding-top: 20px;
   width: 17%;
   height: unset;
   aspect-ratio: 127 / 108;
}


.ng{
   height: 50%;
}
.kj{
   height: 50%;
}
.mc{
   height: 40%;
}


.contentsname::after{
   content: "";
   display: block;
   width: calc(100% + 4px);
   height: 4px;
   left: 50%;
   transform: translateX(-50%);
   position: absolute;
   margin-top: -3px;
   z-index: -1;
}

.triangle{
   width: 80px;
   height: 80px;
   top: auto;
   bottom: 0px;
   left: auto;
   right: 0px;
}

.img{
   z-index: 100;
   position: absolute;
   left: 50%;
   transform: translateX(-50%);
   bottom: 13px;
}

.ilst{
   display: none;
}


.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);


}
.box:hover {
  transform: translateY(4px);
  box-shadow: none;
}


}
    