@charset "utf-8";

#ttt_head{
  padding: 80px 0 40px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  z-index: 10;
}
.ttt_head_bg{
  width: 100%;
  height: 40vw;
  max-height: 276px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.ttt_head_bg::after{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgb(67, 154, 211, 0.5);
}
.ttt_head_mv {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 80%;
  max-width: 570px;
  margin: 0 auto;
  height: 40vw;
  max-height: 276px;
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  z-index: -1;
}
#ttt_head h1{
  width: 60%;
  max-width: 490px;
  margin: 0 auto 40px;
}

#ttt_head h2{
  background-image: url("../img/bg_hdbdr_l.svg"), url("../img/bg_hdbdr_r.svg");
  background-repeat: no-repeat;
  background-size: calc((100% - 14em) / 2) 8px;
  background-position: left center, right center;
text-align: center;
  font-size: 1.25em;
  color:#fff;
  font-weight: bold;
}


#ttt_listarea > div.ttt_grid{
  display: -ms-grid;
  display: grid; 
  -ms-grid-columns: 74% 2% 24%; 
  grid-template-columns: 74% 24%; 
  gap: 0 2%; 
  grid-template-areas: "ttt_backnum ttt_categories"; 
  width:100%;
  max-width: 1600px;
  margin: 40px auto;
}

.ttt_backnum{  -ms-grid-row: 1;  -ms-grid-column: 1;  grid-area: ttt_backnum; }

.ttt_categories{  -ms-grid-row: 1;  -ms-grid-column: 3;  grid-area: ttt_categories;}

.ttt_backnum ul{
  width:96%;
  margin: 0 auto;
}

.ttt_backnum li a{
  display: flex;
  align-content: space-around;
  align-items: center;
  padding: 16px;
    margin: 0 0 32px ;
    background-color: #fff;
  box-shadow: 2px 4px 4px rgba(0,0,0,0.2);
  transition: box-shadow 0.5s;
    color:var(--ttt-col-main);
  text-decoration: none;
}


.ttt_backnum li:first-of-type a{
  margin:0 0 32px;
}

.ttt_photobox{
  width:30%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.ttt_backnum a div:not([class]){
  padding: 0 1em;  
}

.ttt_backnum h3{
  color:var(--ttt-col-main);
  font-weight: bold;
  font-size: 1.25em;
  margin: 0.5em 0 1em;
}
.ttt_backnum p{
  line-height: 1.6em;
}

.ttt_categories > div{
  padding:  0 2em 0 1em;
}

a.ttt_ctlinkhd{
  display: flex;
  justify-content: space-between;
  padding:8px 1em 4px;
  border-bottom: solid 4px var(--ttt-col-main);
  text-decoration: none;
  color: var(--ttt-col-main);
}

 a.ttt_ctlinks{
  margin-left:4vw;
  display: block;
  width:calc(100% - 4vw);
  border-bottom: solid 2px var(--ttt-col-sub);
  color: var(--ttt-col-sub);
  text-decoration: none;
  text-align: right;
  padding: 1em 1em 2px 0;  
}

.ttt_categories li:last-of-type a{
  margin-bottom: 2.5em;
}

.ttt_spmenu{
  display: none;
}

@media screen and (min-width:769px){

.ttt_backnum li a img{
    transition: width 0.5s;
}
  .ttt_backnum li a:hover{
box-shadow: none;
    color:var(--ttt-col-sub);
  }
    .ttt_backnum li a:hover h3{
    color:var(--ttt-col-sub);
  }
  
  .ttt_backnum li a:hover img{
  opacity: 0.7;
    width:110% !important;
  }
  a.ttt_ctlinkhd:hover{
         font-weight: bold;
    color:var(--ttt-col-sub);
     border-bottom-color: var(--ttt-col-sub2);
  }
  a.ttt_ctlinks:hover{
    font-weight: bold;
    border-bottom-color: var(--ttt-col-sub2);
  }
  
}


@media screen and (max-width:768px){
  #ttt_head{
    padding-top: clamp(3.5rem, 0.956rem + 9.47vw, 5.5rem);
    /* 56-88 430-768 */
  }
  #ttt_head h1{
    margin-bottom: clamp(1rem, -0.908rem + 7.1vw, 2.5rem);
    /* 16-40 430-768 */
  }
  #ttt_head h2{
    font-size: 1rem;
  }
  
  #ttt_listarea > div.ttt_grid{
    display: block;
    margin-bottom: 40px;
  }
  
  .ttt_backnum{
    width:100%;
    margin: 0 auto 32px;
    font-size: 0.875em;
  }
  
  .ttt_backnum li a{
  padding: 8px;
  }

.ttt_photobox{width:32%;}
  
  .ttt_backnum a > div:not([class]){
    width:68%;
  padding: 0 0 0 1em;  
}
  
  .ttt_backnum h3{
    font-size: 1em;
    margin-bottom: 0;
    line-height: 1.6;
  }
  
    .ttt_backnum li a p br{display: none;}

  .ttt_categories{
    height: 0;
    background-color:#fff;
    position: absolute;
    top:100vh;
    left:100vw;
    transition:height 1s, top 1s;
    overflow: hidden;
  }
  
    .ttt_categories.ttt_active{
      position: fixed;
      top:0;
      right:0;
      bottom: 0;
      left: 0;
      height: 100vh;
      padding-bottom: 80px;
      background-color: rgba(0,34,101,0.7);
      transition:height 1s, top 1s;
      overflow-y: scroll;
  }
  
 .ttt_categories a.ttt_ctlinkhd{
  border-bottom: solid 4px var(--ttt-col-lb);
  color: var(--ttt-col-lb);
   margin-top: 24px;
   font-size: 6vw;
}
  
    .ttt_categories ul{
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      width: 100%;
  }
  
  .ttt_categories li{
    width:33.3%;
    margin: 4vw 0 0;
  }
  
   .ttt_categories li:nth-of-type(3n){
     margin-right: 0;
  }
  
   a.ttt_ctlinks{
      display: flex;
      justify-content: center;
      align-items: center;
      width:30vw;
      max-width: 80px;
      margin: 0 auto;
      aspect-ratio: 1 / 1;
      border: none;
      text-align: center;
      color: var(--ttt-col-main);
          background-color: #fff;
  padding: 0
  }
  
     a.ttt_ctlinks p{
        font-size: 6vw;
        text-align: center;
  }

  .ttt_categories li:last-of-type a{  margin-bottom: 0;}
  
  .ttt_spmenu{
    content:"";
    display: block;
    width:68px;
    aspect-ratio: 1 / 1;
    background-color: #fff;
    padding: 8px;
    margin:16px 16px 16px auto;
    box-shadow: 2px 4px 4px rgba(0,0,0,0.2);
    cursor: pointer;
  }
  
  
      .ttt_categories.ttt_active::after{
        content: "×";
        display: flex;
      justify-content: center;
      align-items: center;
      width: 60px;
      aspect-ratio: 1 / 1;
        position: fixed;
        right:0;
        bottom:0;
      border: none;
      text-align: center;
      color: #fff;
      background-color: var(--ttt-col-main);
        font-size: 6vw;
        cursor: pointer;
  }
.ttt_fixed{
    height: 100vh !important;
    overflow: hidden !important;
  }
  
}