/* ===== Works page base ===== */
.tk-works{
  --bd:#dfe7ee;
  --txt:#183049;
  --muted:#5a6d7e;
  --brand:#19a8de;
  --bg:#ffffff;
  --card:#ffffff;
  --shadow:0 8px 24px rgba(0,0,0,.06);
  color:var(--txt);
  background:var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
}

.tk-works__hero{
  min-height: 220px;
  background: url("/path/to/hero.jpg") center/cover no-repeat;
  position: relative;
}
.tk-works__hero::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.15));
}
.tk-works__heroInner{
  position:relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 20px 40px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.tk-works__breadcrumb{ color:rgba(255,255,255,.85); font-size: 12px; }
.tk-works__title{ color:#fff; font-size: clamp(28px, 3vw, 44px); letter-spacing:.04em; margin:0; }

.tk-works__container{
  max-width:1200px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}

.tk-works__layout{
  display:grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items:start;
  margin-top:50px;
}

/* ===== Aside ===== */
.tk-works__aside{
  position: sticky;
  top: 110px;
}
.tk-works__asideHead{
  font-weight: 700;
  font-size: 17px;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--bd);
  margin-bottom: 18px;
}
.tk-works__nav{
  display:flex;
  flex-direction:column;
  gap: 14px;
  padding-left: 10px;
  border-left: 2px solid var(--bd);
}
.tk-works__navItem{
  text-decoration:none;
  color: var(--muted);
  padding: 6px 8px 6px 14px;
  position: relative;
  font-size: 17px;
  line-height: 1.2;
}
.tk-works__navItem::before{
  content:"";
  position:absolute;
  left:-2px; top: 0; bottom: 0;
  width:2px;
  background: transparent;
}
.tk-works__navItem.is-active{
  color: var(--txt);
  font-weight: 700;
}
.tk-works__navItem.is-active::before{
  background: var(--brand);
}

/* ===== Main ===== */
.tk-works__year{ margin-bottom: 44px; }
.tk-works__yearTitle{
  font-size: clamp(22px, 2.2vw, 34px);
  margin: 0 0 18px;
  letter-spacing: .06em;
}
.tk-works__cards{
  display:flex;
  flex-direction:column;
  gap: 18px;
}

/* ===== Card ===== */
.tk-worksCard{
  border: 1px solid var(--bd);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.tk-worksCard__badge{
  display:inline-block;
  margin: 18px 18px 0;
  background: var(--brand);
  color:#fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
}
.tk-worksCard__inner{
  padding: 14px 18px 18px;
}
.tk-worksCard__inner.has-thumb{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items:start;
}
.tk-worksCard__thumb{
  width:100%;
  border-radius: 10px;
  overflow:hidden;
  border: 1px solid var(--bd);
  background:#f6f8fa;
}
.tk-worksCard__thumb img{
  width:100%;
  height:auto;
  display:block;
}
.tk-worksCard__title{
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.5;
}
.tk-worksCard__text{
  margin:0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

/* ===== SP select ===== */
.tk-works__mobileSelect{
  display:none;
  margin: 0 0 18px;
  padding: 10px 0 18px;
  border-bottom: 1px solid var(--bd);
}
.tk-works__selectLabel{
  display:block;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}
.tk-works__select{
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--bd);
  padding: 0 12px;
  font-size: 15px;
  background:#fff;
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .tk-works__layout{
    grid-template-columns: 1fr;
  }
  .tk-works__aside{
    display:none;
  }
  .tk-works__mobileSelect{
    display:block;
  }
  .tk-worksCard__inner.has-thumb{
    grid-template-columns: 1fr;
  }
}

/* サイドブロック間の余白 */
.tk-works__asideBlock{
  margin-bottom: 40px;
}

/* フォトギャラリー見出し（左に青ライン） */
.tk-works__asideHead--gallery{
  position: relative;
  padding-left: 18px;
  font-size: 18px;
  font-weight: 700;
}

.tk-works__asideHead--gallery::before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  width:6px;
  height:28px;
  background:#19a8de;
  border-radius:3px;
}

/* サブナビ */
.tk-works__subnav{
  margin-top: 24px;
  display:flex;
  flex-direction:column;
  gap: 20px;
}

.tk-works__subnavItem{
  font-size:18px;
  font-weight:600;
  text-decoration:none;
  color:#183049;
  transition:.2s;
}

.tk-works__subnavItem:hover{
  color:#19a8de;
}


/* gallery subnav active */
.tk-works__subnavItem{
  display:block;
  text-decoration:none;
  color: #183049;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  padding: 2px 0;
}

.tk-works__subnavItem.is-active{
  color: var(--brand); /* 例：#19a8de */
}

.tk-works__galleryTitle{
  padding-top: 50px;
}
@media (max-width: 900px){
.tk-works__galleryTitle{
    padding-top: 20px;
  }
.tk-works__layout{
  margin-top:15px;
}
}

.tk-gallery__mobileNav{ display:none; }

@media (max-width: 900px){
  .tk-gallery__mobileNav{
    display:flex;
    gap: 10px;
    margin: 10px 0 18px;
  }
  .tk-gallery__mobileNavItem{
    flex:1;
    text-align:center;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--bd);
    border-radius:10px;
    text-decoration:none;
    color: var(--txt);
    font-weight:700;
    background:#fff;
  }
}


.tk-works__mobileLinks{ display:none; }

@media (max-width: 900px){
  .tk-works__mobileLinks{
    display:block;
    margin: 15px 0 14px;
  }
  .tk-works__toGallery{
    display:flex;
    align-items:center;
    justify-content:center;
    height:44px;
    border-radius:10px;
    border:1px solid var(--bd);
    text-decoration:none;
    font-weight:700;
    color: var(--txt);
    background:#fff;
  }
  .tk-works__toGallery:hover{
    color: var(--brand);
    border-color: var(--brand);
  }
}

#gallery-city,
#gallery-fluid{
  scroll-margin-top: 130px;
}

.GLR-article{
  position:relative;
  padding-bottom:50px;
  padding-top:30px;
}
.GLR-article h3{
  font-size:20px;
  position:relative;
  padding-bottom:5px;
}
.GLR-article p{
  font-size:17px;
  line-height:1.6em;
  letter-spacing:1px;
  position:relative;
  padding:15px;
}
.GRL-img{
  position:relative;
  padding-bottom:25px;
  width:90%;
  margin:auto;
}
.GRL-img span{
  display:block;
  padding-bottom:10px;
}
.GRL-img strong{
  display:block;
  padding-bottom:10px;
  font-size:20px;
}
@media(max-width:600px){
  .GRL-img{
  width:100%;
}
.GLR-article p{
  padding:15px 0px;
}
}

.tk-pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background: #19a8de;
  color: #fff;
  font-size: 20px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}

/* 表示状態 */
.tk-pagetop.is-show {
  opacity: 1;
  visibility: visible;
}

/* ホバー */
.tk-pagetop:hover {
  background: #6ecdf0;
}