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


.label{
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 20px;
   margin-bottom: 30px;
}

.labelbox{
   width: 309px;
   height: 58px; 
   display: flex;           
   justify-content: center; 
   align-items: center;
   text-decoration: none;
   background-color: #f5f5f5;
   border-radius: 5px;
   font-weight: 600;
   color: #3e3a39;
   position: relative;
}

.lab-tri1{
   aspect-ratio: 1 / 0.7;
   clip-path: polygon(0 0, 50% 100%, 100% 0);
   background-color: #edaa0b;
   position: absolute;
   width: 15px;
   top: 22px;
   left: 20px;
}

.lab-tri2{
   aspect-ratio: 1 / 0.7;
   clip-path: polygon(0 0, 50% 100%, 100% 0);
   background-color: #edaa0b;
   position: absolute;
   width: 15px;
   top: 22px;
   right: 20px;
}


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

.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: #edaa0b;
   clip-path: polygon(0 0, 0 100%, 100% 100%);
}

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

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

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

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

.smallbox::after{
   content: "";
   position: absolute;
   top: 15px;
   right: 0px;
   width: 20px;
   height: 20px;
   background-color: #edaa0b;
   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 #edaa0b;
   margin: 0 auto;
   margin-top: 20px;
   margin-bottom: 60px;
   padding: 15px;
}


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

.underhonbun{
   margin-bottom: 0px;
}

.buntitle{
   margin-left: 12px;
   margin-bottom: 10px;
   font-size: 16px;
   font-weight: 500;
   position: relative;
}

.buntitle::before{
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 0;
    border-left: 6px solid #edaa0b;
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
}

.img{
   width: 305px;
   display: block;
   margin-bottom: 15px;
}




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

.labelbox{
   width: 35%;
   height: 64px;
}

.lab-tri1{
   width: 20px;
   top: 24px;
   left: 20px;
}

.lab-tri2{
   width: 20px;
   top: 24px;
   right: 20px;
}

.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;
   right: 0px;
   width: 20px;
   height: 20px;
}

.smalltitle{
   font-size: 20px;
}



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

  .resflex {
    display: grid;
    grid-template-areas:
      "title title"
      "image text";
    grid-template-columns: 40% 1fr;
    gap: 0.5rem 1rem;
    align-items: start;
  }

  .resflex .buntitle {
    grid-area: title;
  }

  .resflex img {
    grid-area: image;
    width: 100%;
    height: auto;
  }

  .resflex .honbun {
    grid-area: text;
  }



.honbun{
   font-size: 18px;
}

.underhonbun{
   margin-bottom: 0px;
}

.buntitle{
   margin-left: 12px;
   margin-bottom: 0px;
   font-size: 20px;
}

.buntitle::before{
    border-top: 8px solid transparent; 
    border-bottom: 8px solid transparent;
    border-left: 10px solid #edaa0b; 
    left: -16px;  
}

.img{
   width: 50%;
   margin-bottom: 25px;
}




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


}

}
    