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


/*以下に指定を記述する*/
body{
   background-color:#fffbf8;   
}

a{
   text-decoration: none;
}

p{
   font-weight:500;
   color:#3E3A39;
   text-align: center;
}

/*タイトル*/
.page-title{
  display: flex;
  flex-direction: column;
  justify-content:center;
  align-items: center;
}

.page-title h1{
   font-size:28px;
   text-align: center;
   margin-top:40px;
   font-weight: bold;
}

.under-bar{
   width:300px;
   height:4px;
   background-color:#f9e3aa;
   border-radius:2px;
}

.under-bar::before{
 content: "";
 width: 220px;
 height:4px;
 background-color:#f3c759;
 border-radius:2px;
 display: block;
}

.under-bar::after{
 content:"";
 width:120px;
 height:4px;
 background-color:#edaa0b;
 border-radius:2px; 
 display: block;
 margin-top:-4px;
}

/*上に戻る*/
.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;
}

/*トップに戻る*/
.back{
    font-size: 17px;
    font-weight: 500;
    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;
    margin-top:90px;
}

.back p{
   margin: 0;  
   font-size:17px;
   z-index: 1;
}

.back::before{
   content:"";
   position:absolute;
   top:0;
   right:0;
   border-right: 15px solid #b3b3b3;
   border-bottom: 15px solid transparent;
}

.back::after{
   content:"";
   position:absolute;
   bottom:0;
   left:0;
   border-right: 15px solid transparent;
   border-bottom: 15px solid #f3c759;

}  

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

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

.yajirushi-wrap {
    width: 48px;
    height: 24px;
    display: inline-block;
    position: absolute;
    left: 10px;
    top: 5px;
    z-index: 0;
}

/*説明*/
.capbox {
    position: relative;
    width: 345px;
    margin: 0 auto;
    margin-bottom: 70px;
    margin-top:30px;
    padding: 15px 20px;
    border-top: 1px solid #edaa0b;
    border-bottom: 1px solid #edaa0b;
}

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

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

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

.cap{
   font-weight:500;
   text-align: justify;
   margin: 0;  
   font-size:14px;
   line-height: 22px;
}

/*企画詳細*/
.title {
    width: 335px;
    height: 220px;
    margin: 40px auto;

    background-color: #ffffff;
    box-shadow: inset 0 0 0 1px #edaa0b;
    
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;  
}  

.title::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-right: 31px solid transparent;
    border-bottom: 31px solid #edaa0bff;
}

.title::after {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    width: 0;
    height: 0px;
    border-left: 32px solid transparent;
    border-top: 32px solid #fffbf8FF;
    z-index: 2;
    pointer-events: none
}

.name{
   font-size: 19px;
   font-weight: 700;
   position: relative;
}

.name::after{
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #edaa0b;
}

.host{
   font-size: 15px;
   margin-top: -50px;
}

.flex-hz{
   display: flex;
   margin-top: -30px;
}

.flex-vt{
   display: flex;
   flex-direction: column;
   width: 190px;
}

.photo{
   height:100px;
   width: 100px;
   margin-right: 10px;
   /*仮*/background-color: grey;
}

.date{
   font-size: 17px;
}

.detail{
   text-align: center;
   font-size: 16px;
   font-weight: 500;
   color: #3E3A39; 

   width: 120px;
   margin: 17px auto 0;

   border: solid 1.5px #edaa0b;
}

.detail:hover{
   color: rgba(62, 58, 57, 0.5);
   border: solid 1.5px rgba(237, 170, 11, 0.5);
}



@media screen and (min-width:1024px) {
   .page-title h1{
      font-size: 32px;
   }

  .capbox{
    width: 80%;
    margin-bottom: 30px;
  }

  .cap{
    font-size: 20px;
    line-height: 27px;
  }

  .container{
    padding: 0 5%;
  }

  .flex-vt{
    width: 210px;
  }

  .title{
    width: 40%;
    margin: 30px auto;
  }

  .name{
    font-size: 20px;
  }
  
  .host{
    font-size: 17px;
    margin-top: -40px;
  }

  .photo{
    margin-right: 30px;
  }

  .date{
    font-size: 19px;
  }

  .back p{
    font-size: 18px;
  }

  .back::before{
    border-right:21px solid #b3b3b3;
    border-bottom: 21px solid transparent;
  } 
  
  .back::after{
    border-right: 21px solid transparent;
    border-bottom: 21px solid #f3c759;
  }

  .detail{
    width: 150px;
  }

}
    