/*
Theme Name: YT Branding Lab. Child Theme
Theme URI: https://example.com/yt-branding-lab
Description: Lightning子テーマ - YT Branding Lab. ブランディング会社サイト
Author: YT Branding Lab.
Author URI: https://example.com
Template: lightning
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: yt-branding-child
*/

/* ============================================
   0. CSS Variables（ブランドカラー）
   ============================================ */
:root {
  --yt-red: #D94F3B;
  --yt-red-dark: #B83A28;
  --yt-red-light: #F5E6E3;
  --yt-beige: #FAF7F5;
  --yt-dark: #2C2C2C;
  --yt-gray: #707070;
  --yt-gray-light: #B0B0B0;
  --yt-white: #FFFFFF;
  --yt-font-display: "Cormorant Garamond", "Noto Serif JP", serif;
  --yt-font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --yt-font-accent: "Montserrat", sans-serif;
  --yt-section-padding: 100px 0;
  --yt-content-width: 1100px;
  --yt-transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   0.5. Lightning 親テーマ上書き
   ============================================ */

/* Lightning デフォルトヘッダーを非表示（子テーマのカスタムヘッダーを使用） */
body .site-header {
  display: none !important;
}

/* Lightning デフォルトフッターを非表示（子テーマのカスタムフッターを使用） */
body .site-footer {
  display: none !important;
}

/* Lightning のサイドバーを非表示 */
body .sub-section {
  display: none !important;
}

/* Lightning のメインエリアを全幅化 */
body .site-body {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body .site-body-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body .main-section {
  width: 100% !important;
  padding: 0 !important;
  float: none !important;
}
body .entry-body > * {
  /* entry-body 直下の子テーマセクションはそのまま */
}

/* Lightning のパンくずリスト非表示（トップページ） */
body.home .breadcrumb {
  display: none !important;
}

/* Lightning のページヘッダー非表示（トップページ） */
body.home .page-header {
  display: none !important;
}

/* Lightning の PAGE TOP ボタン位置調整 */
.pagetop {
  z-index: 998 !important;
}

/* Lightning の .container が子テーマの .yt-container と競合しないように */
body .site-body .container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ============================================
   1. Base / Reset
   ============================================ */
body {
  font-family: var(--yt-font-body);
  color: var(--yt-dark);
  background: var(--yt-white);
  line-height: 1.9;
  font-size: 15px;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--yt-font-display);
  font-weight: 500;
  line-height: 1.4;
}

a {
  color: var(--yt-red);
  text-decoration: none;
  transition: color var(--yt-transition);
}
a:hover {
  color: var(--yt-red-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   2. Utility
   ============================================ */
.yt-container {
  max-width: var(--yt-content-width);
  margin: 0 auto;
  padding: 0 30px;
}

.yt-section {
  padding: var(--yt-section-padding);
}

.yt-section--beige {
  background: var(--yt-beige);
}

.yt-section-title {
  font-family: var(--yt-font-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yt-red);
  margin-bottom: 8px;
}

.yt-section-title-jp {
  font-family: var(--yt-font-body);
  font-size: 12px;
  color: var(--yt-gray-light);
  letter-spacing: 0.1em;
  margin-bottom: 50px;
}

.yt-view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--yt-font-accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yt-red);
  border-bottom: 1px solid var(--yt-red);
  padding-bottom: 4px;
  transition: all var(--yt-transition);
}
.yt-view-more:hover {
  gap: 14px;
  color: var(--yt-red-dark);
  border-color: var(--yt-red-dark);
}
.yt-view-more::after {
  content: "→";
}

/* ============================================
   3. Header / Navigation
   ============================================ */
.yt-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}
.yt-header.is-scrolled {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* --- トップページ: 透明ヘッダー --- */
.yt-header--transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.yt-header--transparent .yt-header__logo-text {
  color: var(--yt-white);
}
.yt-header--transparent .yt-header__logo-text span {
  color: var(--yt-white);
}
.yt-header--transparent .yt-nav a {
  color: var(--yt-white);
}
.yt-header--transparent .yt-nav a::after {
  background: var(--yt-white);
}
.yt-header--transparent .yt-hamburger span {
  background: var(--yt-white);
}

/* スクロール後は通常ヘッダーに戻る */
.yt-header--transparent.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.yt-header--transparent.is-scrolled .yt-header__logo-text {
  color: var(--yt-dark);
}
.yt-header--transparent.is-scrolled .yt-header__logo-text span {
  color: var(--yt-red);
}
.yt-header--transparent.is-scrolled .yt-nav a {
  color: var(--yt-dark);
}
.yt-header--transparent.is-scrolled .yt-nav a::after {
  background: var(--yt-red);
}
.yt-header--transparent.is-scrolled .yt-hamburger span {
  background: var(--yt-dark);
}

.yt-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--yt-content-width);
  margin: 0 auto;
  padding: 18px 30px;
}

.yt-header__logo img {
  height: 36px;
  width: auto;
}
.yt-header__logo-text {
  font-family: var(--yt-font-accent);
  font-size: 18px;
  font-weight: 700;
  color: var(--yt-dark);
  letter-spacing: 0.05em;
}
.yt-header__logo-text span {
  color: var(--yt-red);
}

.yt-nav {
  display: none; /* PC含めて非表示、ハンバーガーに統一 */
}
.yt-nav a {
  font-family: var(--yt-font-accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yt-dark);
  position: relative;
}
.yt-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yt-red);
  transition: width var(--yt-transition);
}
.yt-nav a:hover::after {
  width: 100%;
}

/* Hamburger - 常時表示 */
.yt-hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}
.yt-hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--yt-dark);
  transition: all 0.3s;
}

/* フルスクリーンオーバーレイメニュー */
.yt-overlay-menu {
  position: fixed;
  inset: 0;
  background: rgba(44, 44, 44, 0.97);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.yt-overlay-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.yt-overlay-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.yt-overlay-menu__nav a {
  font-family: var(--yt-font-accent);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yt-white);
  position: relative;
  transition: color var(--yt-transition);
}
.yt-overlay-menu__nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--yt-red);
  transition: width var(--yt-transition);
}
.yt-overlay-menu__nav a:hover {
  color: var(--yt-red);
}
.yt-overlay-menu__nav a:hover::after {
  width: 100%;
}

/* ハンバーガー開いたとき → 白い × に */
.yt-hamburger.is-open span {
  background: var(--yt-white);
}

/* ============================================
   4. Hero / First View
   ============================================ */
.yt-hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- スライドショー背景 --- */
.yt-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.yt-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease;
  animation: heroSlideZoom 8s ease-in-out infinite alternate;
}
.yt-hero__slide.is-active {
  opacity: 1;
}

@keyframes heroSlideZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* 柔らかいオーバーレイ */
.yt-hero__slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 44, 44, 0.35) 0%,
    rgba(44, 44, 44, 0.15) 40%,
    rgba(44, 44, 44, 0.40) 100%
  );
  z-index: 1;
}

/* --- メインコンテンツ --- */
.yt-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--yt-white);
}

/* キャッチ「未来にノコスコト」- 先にふわっと */
.yt-hero__catch {
  font-family: var(--yt-font-display);
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 400;
  letter-spacing: 0.35em;
  margin-bottom: 30px;
  opacity: 0;
  animation: heroFadeUp 1.2s ease-out 0.3s both;
}

/* ロゴ - あとからふわっと */
.yt-hero__logo {
  margin: 0 auto;
  max-width: clamp(200px, 30vw, 320px);
  opacity: 0;
  animation: heroFadeUp 1.2s ease-out 1s both;
}
.yt-hero__logo img {
  width: 100%;
  height: auto;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .yt-hero__logo {
    max-width: 180px;
  }
}

/* ============================================
   5. Concept / Message
   ============================================ */
.yt-concept {
  padding: 100px 0 80px;
  background: var(--yt-white);
  text-align: center;
  overflow: hidden;
}

/* メインSVG - PDFに準じて大きめに */
.yt-concept__main {
  max-width: 720px;
  margin: 0 auto 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: conceptFadeUp 1s ease forwards;
}
@keyframes conceptFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.yt-concept__svg {
  width: 100%;
  height: auto;
  display: block;
}

/* サブテキスト「未来に残すための設計図」 */
.yt-concept__sub {
  font-family: var(--yt-font-body);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--yt-gray);
  margin: 0 auto 56px;
  position: relative;
  display: inline-block;
  padding: 0 60px;
}
.yt-concept__sub::before,
.yt-concept__sub::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 36px;
  height: 1px;
  background: #c4b8b0;
}
.yt-concept__sub::before { right: calc(100% - 44px); }
.yt-concept__sub::after  { left:  calc(100% - 44px); }

/* 説明文 */
.yt-concept__content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 780px;
  margin: 0 auto;
}

.yt-concept__photo {
  flex-shrink: 0;
  width: 200px;
}
.yt-concept__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.yt-concept__body {
  flex: 1;
  font-size: 13.5px;
  line-height: 2.4;
  color: var(--yt-gray);
  text-align: left;
}
.yt-concept__body p {
  margin-bottom: 8px;
}
.yt-concept__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .yt-concept {
    padding: 64px 20px 56px;
  }
  .yt-concept__main {
    max-width: 92%;
  }
  .yt-concept__sub {
    font-size: 11px;
    letter-spacing: 0.2em;
  }
  .yt-concept__content {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .yt-concept__photo {
    width: 160px;
  }
  .yt-concept__body {
    font-size: 13px;
    line-height: 2.2;
  }
}

/* ============================================
   6. Profile
   ============================================ */
/* ============================================
   6. Profile
   ============================================ */
.yt-profile {
  position: relative;
  overflow: hidden;
  background: var(--yt-beige);
}

/* メインレイアウト: 写真左45% + テキスト右55% */
.yt-profile__layout {
  display: grid;
  grid-template-columns: 45% 55%;
  position: relative;
}

/* 左: 写真 */
.yt-profile__photo {
  position: relative;
  z-index: 2;
}
.yt-profile__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 右: グレー背景テキストエリア */
.yt-profile__content {
  background: var(--yt-beige);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 80px 48px 80px;
  position: relative;
  overflow: visible;
}
/* グレー背景を写真の後ろに回り込ませる（上部15%あたりから） */
.yt-profile__content::before {
  content: "";
  position: absolute;
  top: 10%;
  left: -15%;
  right: 0;
  bottom: 0;
  background: var(--yt-beige);
  z-index: -1;
}

/* PROFILE 縦書き（背景透かし） */
.yt-profile__vertical-label {
  position: absolute;
  top: 24px;
  right: 32px;
  writing-mode: vertical-rl;
  font-family: var(--yt-font-accent);
  font-size: 110px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  text-transform: uppercase;
  z-index: 0;
}

/* テキスト幅を絞って中央寄り */
.yt-profile__inner {
  max-width: 380px;
  position: relative;
  z-index: 1;
}

/* 名前 */
.yt-profile__name {
  font-family: var(--yt-font-display);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 28px;
  color: var(--yt-dark);
  letter-spacing: 0.1em;
  border: none;
  padding: 0;
}
.yt-profile__name-kana {
  font-size: 12px;
  font-family: var(--yt-font-body);
  color: var(--yt-gray);
  margin-left: 14px;
  letter-spacing: 0.1em;
  font-weight: 300;
}

.yt-profile__text {
  font-size: 13.5px;
  line-height: 2.2;
  color: var(--yt-gray);
  margin-bottom: 28px;
}
.yt-profile__text p {
  margin-bottom: 10px;
}
.yt-profile__text p:last-child {
  margin-bottom: 0;
}

/* View More - 黒文字、下線なし、hover/activeでオレンジ */
.yt-profile .yt-view-more {
  color: var(--yt-dark);
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
  font-family: var(--yt-font-accent);
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}
.yt-profile .yt-view-more::after {
  color: var(--yt-dark);
}
.yt-profile .yt-view-more:hover,
.yt-profile .yt-view-more:active {
  color: var(--yt-red);
  border-bottom: none;
  border-color: transparent;
}
.yt-profile .yt-view-more:hover::after {
  color: var(--yt-red);
}

/* Career */
.yt-profile__career,
#profileCareer {
  margin-top: 30px;
  display: none !important;
}
.yt-profile__career.is-open,
#profileCareer.is-open {
  display: block !important;
}
.yt-profile__career-title {
  font-family: var(--yt-font-accent);
  font-size: 13px;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  color: var(--yt-dark);
}
.yt-profile__career-subtitle {
  font-family: var(--yt-font-accent);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin: 30px 0 16px;
  color: var(--yt-dark);
}
.yt-profile__career dt {
  font-family: var(--yt-font-accent);
  font-size: 13px;
  font-weight: 600;
  color: var(--yt-red);
  margin-bottom: 4px;
}
.yt-profile__career dd {
  font-size: 13px;
  line-height: 1.9;
  color: var(--yt-gray);
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--yt-red-light);
}
.yt-profile__career-note {
  font-size: 12px;
  color: var(--yt-gray);
  margin-top: 20px;
}

@media (max-width: 768px) {
  .yt-profile__layout {
    grid-template-columns: 1fr;
  }
  .yt-profile__photo {
    margin-top: 0;
    width: 100%;
  }
  .yt-profile__photo img {
    width: 100%;
    height: auto;
  }
  .yt-profile__content {
    padding: 40px 24px 48px;
    align-items: center;
  }
  .yt-profile__content::before {
    display: none;
  }
  .yt-profile__inner {
    max-width: 100%;
  }
  .yt-profile__name {
    font-size: 26px;
  }
  .yt-profile__vertical-label {
    font-size: 56px;
    top: 16px;
    right: 12px;
  }
}

/* ============================================
   7. Service
   ============================================ */
/* ============================================
   7. Service - Slider
   ============================================ */
.yt-service {
  position: relative;
  overflow: hidden;
  background: var(--yt-beige);
  padding: 80px 0 60px;
}

/* SERVICE 縦書き白文字（背景透かし） */
.yt-service__vertical-label {
  position: absolute;
  top: 40px;
  left: 32px;
  writing-mode: vertical-rl;
  font-family: var(--yt-font-accent);
  font-size: 100px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  text-transform: uppercase;
  z-index: 0;
  pointer-events: none;
}

/* ヘッダー: タイトル + 矢印ナビ */
.yt-service__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 60px;
  position: relative;
  z-index: 1;
}

.yt-service__nav {
  display: flex;
  gap: 12px;
}
.yt-service__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--yt-gray-light);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--yt-gray);
  transition: all 0.3s ease;
}
.yt-service__arrow:hover {
  border-color: var(--yt-dark);
  color: var(--yt-dark);
}

/* スライダー */
.yt-service__slider {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-left: 60px;
}
.yt-service__track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* カード */
.yt-service__card {
  flex: 0 0 30%;
  min-width: 280px;
}
.yt-service__card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}
.yt-service__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.yt-service__card:hover .yt-service__card-img img {
  transform: scale(1.05);
}
.yt-service__card-title {
  font-family: var(--yt-font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--yt-dark);
  letter-spacing: 0.04em;
}

.yt-service__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .yt-service {
    padding: 60px 0 40px;
  }
  .yt-service__header {
    padding: 0 24px;
  }
  .yt-service__slider {
    padding-left: 24px;
  }
  .yt-service__card {
    flex: 0 0 75%;
    min-width: 240px;
  }
  .yt-service__vertical-label {
    font-size: 60px;
    left: 12px;
  }
}

.yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--yt-font-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 14px 36px;
  border-radius: 4px;
  transition: all var(--yt-transition);
  cursor: pointer;
}
.yt-btn--outline {
  border: 1.5px solid var(--yt-dark);
  color: var(--yt-dark);
  background: transparent;
}
.yt-btn--outline:hover {
  border-color: var(--yt-red);
  color: var(--yt-red);
  background: transparent;
}
.yt-btn--primary {
  border: 1.5px solid var(--yt-red);
  color: var(--yt-white);
  background: var(--yt-red);
}
.yt-btn--primary:hover {
  background: var(--yt-red-dark);
  border-color: var(--yt-red-dark);
}

/* ============================================
   8. Process
   ============================================ */
.yt-process {
  position: relative;
  overflow: hidden;
  background: var(--yt-beige);
  padding: var(--yt-section-padding);
}

/* PROCESS 縦書き透かし */
.yt-process__vertical-label {
  position: absolute;
  top: 40px;
  left: 32px;
  writing-mode: vertical-rl;
  font-family: var(--yt-font-accent);
  font-size: 100px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  text-transform: uppercase;
  z-index: 0;
  pointer-events: none;
}

.yt-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: process-counter;
}

.yt-process-step {
  text-align: center;
  position: relative;
}
.yt-process-step::before {
  counter-increment: process-counter;
  content: "0" counter(process-counter);
  font-family: var(--yt-font-accent);
  font-size: 48px;
  font-weight: 200;
  color: var(--yt-red);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.yt-process-step__title {
  font-family: var(--yt-font-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.yt-process-step__text {
  font-size: 13px;
  line-height: 2;
  color: var(--yt-gray);
}

/* Connector line between steps */
.yt-process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -18px;
  width: 30px;
  height: 1px;
  background: var(--yt-gray-light);
}

/* ============================================
   9. Structure / Team
   ============================================ */
.yt-structure {
  text-align: center;
}

.yt-structure__diagram {
  max-width: 700px;
  margin: 0 auto 40px;
}

.yt-structure__center {
  display: inline-block;
  background: var(--yt-red);
  color: var(--yt-white);
  font-family: var(--yt-font-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 14px 40px;
  border-radius: 30px;
  margin-bottom: 40px;
}

.yt-structure__partners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.yt-partner-badge {
  width: 120px;
  text-align: center;
}
.yt-partner-badge__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--yt-beige);
  border: 2px solid var(--yt-red-light);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.yt-partner-badge__label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--yt-gray);
}

/* ============================================
   10. Media
   ============================================ */
.yt-media__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.yt-media-card {
  background: var(--yt-white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  transition: transform var(--yt-transition);
}
.yt-media-card:hover {
  transform: translateY(-3px);
}

.yt-media-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #ddd;
  overflow: hidden;
}
.yt-media-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-media-card__body {
  padding: 16px;
}
.yt-media-card__title {
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
}

/* ============================================
   11. Topics
   ============================================ */
.yt-topics__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.yt-topics__item {
  border-bottom: 1px solid #eee;
}
.yt-topics__item a {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  color: var(--yt-dark);
  transition: background var(--yt-transition);
}
.yt-topics__item a:hover {
  padding-left: 10px;
}

.yt-topics__date {
  font-family: var(--yt-font-accent);
  font-size: 13px;
  color: var(--yt-gray-light);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.yt-topics__title {
  font-size: 14px;
}

/* ============================================
   12. CTA
   ============================================ */
.yt-cta {
  background: var(--yt-red);
  color: var(--yt-white);
  text-align: center;
  padding: 60px 30px;
}

.yt-cta__text {
  font-family: var(--yt-font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.yt-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--yt-font-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--yt-white);
  border: 1.5px solid var(--yt-white);
  padding: 14px 40px;
  border-radius: 4px;
  transition: all var(--yt-transition);
}
.yt-cta__btn:hover {
  background: var(--yt-white);
  color: var(--yt-red);
}

/* ============================================
   13. Footer
   ============================================ */
.yt-footer {
  background: var(--yt-dark);
  color: var(--yt-white);
  padding: 60px 30px 30px;
}

.yt-footer__inner {
  max-width: var(--yt-content-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
}

.yt-footer__logo-text {
  font-family: var(--yt-font-accent);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.yt-footer__logo-text span {
  color: var(--yt-red);
}

.yt-footer__sns {
  display: flex;
  gap: 16px;
}
.yt-footer__sns a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yt-white);
  font-size: 16px;
  transition: all var(--yt-transition);
}
.yt-footer__sns a:hover {
  background: var(--yt-red);
  border-color: var(--yt-red);
}

.yt-footer__copy {
  text-align: center;
  font-family: var(--yt-font-accent);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================
   14. Works Archive
   ============================================ */
.yt-works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.yt-works-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--yt-white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  transition: transform var(--yt-transition), box-shadow var(--yt-transition);
}
.yt-works-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.yt-works-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #ddd;
  overflow: hidden;
}
.yt-works-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.yt-works-card:hover .yt-works-card__img img {
  transform: scale(1.05);
}

.yt-works-card__body {
  padding: 24px;
}
.yt-works-card__cat {
  font-family: var(--yt-font-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--yt-red);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.yt-works-card__title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}
.yt-works-card__excerpt {
  font-size: 13px;
  line-height: 1.8;
  color: var(--yt-gray);
}

/* ============================================
   15. Contact Page
   ============================================ */
.yt-contact {
  padding: var(--yt-section-padding);
}

.yt-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.yt-contact__info h3 {
  font-family: var(--yt-font-display);
  font-size: 24px;
  margin-bottom: 20px;
}
.yt-contact__info p {
  font-size: 14px;
  line-height: 2;
  color: var(--yt-gray);
  margin-bottom: 24px;
}
.yt-contact__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--yt-font-accent);
  font-size: 14px;
  color: var(--yt-red);
}

.yt-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.yt-form input[type="text"],
.yt-form input[type="email"],
.yt-form input[type="tel"],
.yt-form textarea,
.yt-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--yt-font-body);
  font-size: 14px;
  margin-bottom: 20px;
  transition: border-color var(--yt-transition);
  background: var(--yt-white);
}
.yt-form input:focus,
.yt-form textarea:focus,
.yt-form select:focus {
  outline: none;
  border-color: var(--yt-red);
}
.yt-form textarea {
  min-height: 160px;
  resize: vertical;
}

.yt-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.yt-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--yt-font-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 16px 48px;
  background: var(--yt-red);
  color: var(--yt-white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--yt-transition);
}
.yt-form__submit:hover {
  background: var(--yt-red-dark);
}

/* ============================================
   16. Single Works / Topics
   ============================================ */
.yt-single__header {
  padding: 140px 0 60px;
  background: var(--yt-beige);
  text-align: center;
}
.yt-single__cat {
  font-family: var(--yt-font-accent);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--yt-red);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.yt-single__title {
  font-family: var(--yt-font-display);
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 12px;
}
.yt-single__date {
  font-family: var(--yt-font-accent);
  font-size: 13px;
  color: var(--yt-gray-light);
}
.yt-single__body {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 30px;
  font-size: 15px;
  line-height: 2.2;
}

/* ============================================
   17. Page Header (Archive pages)
   ============================================ */
.yt-page-header {
  padding: 140px 0 50px;
  background: var(--yt-beige);
  text-align: center;
}
.yt-page-header__title {
  font-family: var(--yt-font-accent);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.15em;
}
.yt-page-header__sub {
  font-size: 13px;
  color: var(--yt-gray-light);
  margin-top: 8px;
}

/* ============================================
   18. Scroll Animation
   ============================================ */
.yt-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.yt-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   19. Responsive
   ============================================ */
@media (max-width: 768px) {
  :root {
    --yt-section-padding: 70px 0;
  }

  .yt-hamburger {
    display: flex;
  }

  .yt-process__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .yt-process-step:not(:last-child)::after {
    display: none;
  }

  .yt-media__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .yt-contact__grid {
    grid-template-columns: 1fr;
  }

  .yt-footer__inner {
    flex-direction: column;
    text-align: center;
  }
  .yt-footer__sns {
    justify-content: center;
  }

  .yt-service__buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .yt-process__grid {
    grid-template-columns: 1fr;
  }
  .yt-media__grid {
    grid-template-columns: 1fr;
  }
  .yt-form__row {
    grid-template-columns: 1fr;
  }
}
