/* =========================
   Hero slider
========================= */
.tk-hero{ width: 100%; }

.tk-hero__slides{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  height: clamp(420px, 52vw, 640px);
}

@media (max-width: 640px){
  .tk-hero__slides{ height: min(78vh, 640px); }
}

.tk-hero__list{
  position: relative;
  width: 100%;
  height: 100%;
}

.tk-hero__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
}

.tk-hero__slide.is-active{ opacity: 1; }

.tk-hero__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 7s linear;
}

.tk-hero__slide.is-active .tk-hero__img{ transform: scale(1.06); }

.tk-hero__overlay{
  position: absolute;
  left: clamp(16px, 5vw, 64px);
  bottom: clamp(70px, 9vw, 120px);
  color: #fff;
  z-index: 2;
  text-shadow: 0 2px 20px rgba(0,0,0,.45);
}

.tk-hero__title{
  font-size: clamp(34px, 5vw, 74px);
  letter-spacing: .28em;
  font-weight: 700;
  opacity: .72;
}

.tk-hero__sub{
  margin-top: 10px;
  font-size: clamp(16px, 2.2vw, 28px);
  letter-spacing: .14em;
  font-weight: 600;
}

/* ===== Indicator ===== */
.tk-hero__indicator{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.tk-hero__indicator-inner{
  width: min(640px, 92vw);
  display: grid;
  gap: 18px;
  align-items: center;
}

/* JSがスライド数に合わせて grid-template-columns を設定 */
.tk-hero__prog{
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  overflow: hidden;
}

.tk-hero__prog-fill{
  height: 100%;
  width: 0%;
  background: rgba(255,255,255,.95);
  border-radius: 999px;
  transform: translateZ(0);
}

/* ===== Nav buttons (任意) ===== */
.tk-hero__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  opacity: .9;
}

.tk-hero__nav:hover{ background: rgba(255,255,255,.25); }
.tk-hero__nav--prev{ left: 14px; }
.tk-hero__nav--next{ right: 14px; }

@media (max-width: 640px){
  .tk-hero__nav{ display: none; }
}

/* =========================
  Reveal
========================= */
[data-reveal]{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-in{
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-item]{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-in [data-reveal-item]{
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Mission (2-col + wrap inside left)
========================= */
.tk-mission{
  width: 100%;
  margin: auto;
}

.tk-mission__headline{
  text-align: center;
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: .04em;
  line-height: 1.5;
  margin-bottom: 80px;
}

/* ===== PC：2カラム固定 ===== */
.tk-mission__grid{
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  align-items: flex-start;
}

.tk-mission__left{
  flex: 1 1 auto;
  min-width: 0;
}

.tk-mission__img--right{
  flex: 0 0 clamp(320px, 28vw, 520px);
  margin: 0;
}

.tk-mission__img img{
  width: 100%;
  height: auto;
  display: block;
}
@media screen and (min-width: 640px) and (max-width: 979px) {
  .tk-mission__img--right{
    display:none;
  }
}
@media(max-width:640px){
	.tk-mission__img img{
		display:none;
	}
}

.tk-mission__img--left{
  float: left;
  width: clamp(400px, 30vw, 520px);
  margin-right: clamp(16px, 2.5vw, 34px);
  margin-bottom: 18px;
  margin-top: 6px;
}

.tk-mission__left::after{
  content:"";
  display:block;
  clear: both;
}

.tk-mission__text{
  font-size: 18px;
  line-height: 2.3;
  color: #111;
}

.tk-mission__text p + p{ margin-top: 22px; }

/* Mission：コンテナをフルブリード */
.tk-mission .container{
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* テキストだけ内側 */
@media (min-width: 641px){
  .tk-mission{ --tk-gutter: clamp(18px, 10vw, 150px); }

  .tk-mission__left{ padding-left: var(--tk-gutter); }

  .tk-mission__img--left{
    margin-left: calc(var(--tk-gutter) * -1);
  }
}

/* ===== SP：画像2枚横並び→本文 ===== */
@media (max-width: 640px){
  .tk-mission__headline{
    text-align: left;
    margin-bottom: 18px;
    font-weight: 800;
  }

  .tk-mission__grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "left right"
      "text text";
    gap: 18px;
  }

  .tk-mission__left{ grid-area: text; }

  .tk-mission__img--left{
    grid-area: left;
    float: none;
    width: 100%;
    margin: 0;
  }

  .tk-mission__img--right{
    grid-area: right;
    flex: none;
    width: 100%;
    margin: 0;
  }

  .tk-mission__left{ display: contents; }

  .tk-mission__text{
    grid-area: text;
    font-size: 18px;
    line-height: 2.0;
  }

  .tk-mission{
    width: 90%;
    margin: auto;
  }
}



/* =========================
  Business
========================= */
.tk-businessGrid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
}

.tk-businessCard{
  color: inherit;
  text-decoration: none;
  display: grid;
  row-gap: 18px;
}

.tk-businessCard__img{
  overflow: hidden;
  height: clamp(220px, 20vw, 320px);
}

.tk-businessCard__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tk-businessCard__title{
  text-align: center;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: .06em;
  margin: 0;
}

@media (max-width: 640px){
  .tk-businessGrid{
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

/* =========================
  Projects
========================= */
.tk-projectsRow{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(22px, 4vw, 60px);
  align-items: start;
}

.tk-projectsRow + .tk-projectsRow{
  margin-top: clamp(44px, 6vw, 80px);
}

.tk-projectsLead{
  margin: 22px 0 14px;
  font-size: clamp(22px, 2.3vw, 30px);
  letter-spacing: .04em;
}

.tk-projectsText{
  font-size: 16px;
  line-height: 2.1;
  color: #111;
  margin: 0 0 18px;
}

.tk-projectsMedia{ margin: 0; }

.tk-projectsMedia img{
  width: 100%;
  height: auto;
  display: block;
}

.tk-projectsBody--line{
  position: relative;
  padding-left: 26px;
}
.tk-projectsBody--line::before{
  content:"";
  position: absolute;
  left: 0;
  top: 8px;
  width: 2px;
  height: calc(100% - 8px);
  background: #d6d6d6;
}

.tk-projectsRow--bottom .tk-projectsMedia{ margin-top: 10px; }

@media (max-width: 820px){
  .tk-projectsRow{ grid-template-columns: 1fr; }
  .tk-projectsMedia{ order: -1; }
  .tk-projectsBody--line{ padding-left: 18px; }
}

/* =========================
  News（ここが今回の整理ポイント）
========================= */

/* 2カラム（PC） */
.tk-news{
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

/* 左カラム：デフォはそのまま（PC） */
.tk-newsAside{
  min-width: 0;
}

/* 右：一覧 */
.tk-newsList{
  list-style: none;
  padding: 0;
  margin: 0;
}

.tk-newsItem{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px dotted #CCC;
}

.tk-newsDate{
  color: #777;
  font-size: 18px;
}

.tk-newsTitle{
  color: #111;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

/* 年度リンク（PC） */
.tk-newsYearList{
  list-style: none;
  padding: 0;
  margin: 0;
}

.tk-newsYearItem{ margin-bottom: 18px; }

.tk-newsYearItem a{
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  color: #333;
  letter-spacing: .04em;
  transition: .25s;
}

.tk-newsYearItem a:hover{ color: #005bac; }

.tk-newsYearItem a.is-active{
  color: #005bac;
  border-left: 3px solid #005bac;
  padding-left: 12px;
}

/* SP：1カラム */
@media (max-width: 640px){
  .tk-news{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* ここが重要：flex-endをやめて崩れを防ぐ */
  .tk-newsAside{
    display: block;
  }
/* PC：プルダウンは隠す */

  .tk-newsYearSelectLabel{
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #666;
    margin-bottom: 6px;
  }

  .tk-newsYearSelect{
    width: 100%;
    height: 44px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .04em;
    background: #fff;
  }

  .tk-newsItem{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0;
  }

  .tk-newsTitle{ font-size: 18px; }
}

.tk-newsDetail__back:hover{ opacity: .8; }

.tk-newsYearSelectWrap{ display: none!important; }
/* SPだけ表示 */
@media (max-width: 640px){
  .tk-newsYearSelectWrap{ display: block!important; margin: 6px 0 18px; }
  .tk-newsYearList{ display: none; }
}

/* =========================
   News Detail (Scoped)
========================= */
.tk-newsDetail{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: clamp(18px, 2.4vw, 32px);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.tk-newsDetail__meta{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(0,0,0,.65);
}

.tk-newsDetail__date{
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.tk-newsDetail__tag{
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.75);
  font-size: 12px;
}

.tk-newsDetail__title{
  margin: 0;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: .02em;
}

.tk-newsDetail__eyecatch{
  margin: 16px 0 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,.04);
}

.tk-newsDetail__eyecatch img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tk-newsWysiwyg{
  margin-top: 18px;
  color: rgba(0,0,0,.82);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  font-feature-settings: "palt";
}

.tk-newsWysiwyg :where(p, ul, ol, blockquote, figure, table, pre){
  margin: 0 0 1.1em;
}

.tk-newsWysiwyg :where(h2, h3, h4){
  margin: 1.6em 0 .7em;
  line-height: 1.35;
  letter-spacing: .02em;
}

.tk-newsWysiwyg h2{
  font-size: 20px;
  padding-left: 12px;
  border-left: 4px solid rgba(0,0,0,.18);
}

.tk-newsWysiwyg h3{
  font-size: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.tk-newsWysiwyg :where(ul, ol){ padding-left: 1.4em; }
.tk-newsWysiwyg li{ margin: .35em 0; }

.tk-newsWysiwyg a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: .08em;
}
.tk-newsWysiwyg a:hover{ opacity: .75; }

.tk-newsWysiwyg img{
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.tk-newsWysiwyg blockquote{
  padding: 14px 16px;
  border-left: 4px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.04);
  border-radius: 10px;
}

.tk-newsDetail__foot{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.10);
}

.tk-newsDetail__back{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,.05);
}
