@charset "UTF-8";
/* ============================================================
   Galaxia Blog（デザインモック）— 編集メディア型
   参考: cyberagent.co.jp/way の構成を Galaxia 用に
   ============================================================ */
:root {
  --accent-from: #5b8cff;
  --accent-to: #9b6bff;
  --accent: linear-gradient(90deg, #5b8cff, #9b6bff);
  --ink: #14141a;
  --ink-soft: #5a5a66;
  --ink-faint: #8a8a96;
  --line: #e6e6ec;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: 1180px; max-width: 90%; margin: 0 auto; }

/* ---------- サイトヘッダー ---------- */
.smart-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 110; }
.smart-header__inner { display: flex; align-items: center; min-height: 82px; padding: 12px 0; }
.smart-header__brand { display: flex; flex-direction: column; gap: 6px; }
.smart-header__brandrow { display: flex; align-items: center; }
.smart-header__logo img { height: 40px; width: auto; display: block; }
.smart-header__eye { display: inline-flex; align-items: center; margin-left: 14px; }
.smart-header__eye img { height: 42px; width: auto; display: block; }
.smart-header__tag { margin: 0; font-size: 11.5px; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }

/* グローバルナビ（PC） */
.smart-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.smart-nav a { font-size: 14px; font-weight: 700; color: var(--ink); }
.smart-nav a:hover { color: var(--accent-to); }
.smart-header__cta {
  margin-left: auto; display: inline-flex; align-items: center; height: 40px; padding: 0 22px;
  border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; font-size: 13px;
  box-shadow: 0 8px 18px rgba(91,108,255,.28);
}
.smart-header__cta:hover { color: #fff; opacity: .92; }

/* カテゴリータブ（PC） */
.smart-cats-wrap { border-top: 1px solid var(--line); }
.smart-cats { display: flex; gap: 2px; height: 52px; align-items: stretch; }
.smart-cats a {
  display: inline-flex; align-items: center; padding: 0 16px;
  font-size: 13.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; position: relative;
}
.smart-cats a:hover { color: var(--ink); }
.smart-cats a.is-active { color: var(--ink); }
.smart-cats a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--accent);
}
/* カテゴリー列の右端：運営会社（コーポレートサイト）への導線 */
.smart-cats__corp { margin-left: auto; gap: 4px; color: var(--ink-soft); }
.smart-cats__corp:hover { color: var(--accent); }
.smart-cats__corp .smart-cats__corp-arrow { font-size: 12px; opacity: .8; }

/* ハンバーガー（スマホ） */
.smart-hamburger { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent; position: relative; }
.smart-hamburger span, .smart-hamburger span::before, .smart-hamburger span::after {
  content: ""; position: absolute; left: 9px; width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: .25s;
}
.smart-hamburger span { top: 20px; }
.smart-hamburger span::before { top: -7px; }
.smart-hamburger span::after { top: 7px; }
.smart-hamburger.is-open span { background: transparent; }
.smart-hamburger.is-open span::before { top: 0; transform: rotate(45deg); }
.smart-hamburger.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ドロワー（スマホメニュー） */
.smart-drawer {
  position: fixed; inset: 0; background: #fff; z-index: 100;
  transform: translateX(100%); transition: transform .3s ease;
  padding: 90px 24px 32px; overflow-y: auto;
}
.smart-drawer.is-open { transform: none; }
.smart-drawer nav { display: flex; flex-direction: column; }
.smart-drawer #drawerCats { display: contents; }
.smart-drawer a { display: block; padding: 15px 2px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15.5px; color: var(--ink); }
.smart-drawer__label { margin: 22px 0 2px; font-size: 11px; font-weight: 800; color: var(--ink-faint); letter-spacing: .12em; }
.smart-drawer__cta {
  margin-top: 24px; text-align: center; background: var(--accent); color: #fff !important;
  border-radius: 999px; border-bottom: 0 !important; font-weight: 800;
}
body.no-scroll { overflow: hidden; }

@media (max-width: 860px) {
  .smart-nav, .smart-header__cta, .smart-cats-wrap { display: none; }
  .smart-hamburger { display: block; }
  .smart-header__inner { min-height: 60px; padding: 8px 0; }
  .smart-header__logo img { height: 32px; }
  .smart-header__eye img { height: 34px; }
  .smart-header__tag { font-size: 10px; line-height: 1.45; max-width: 60vw; }
}
@media (min-width: 861px) {
  .smart-drawer { display: none; }
}

/* ---------- ページヘッダー ---------- */
.blog-head { padding: 30px 0 4px; }
.blog-head__en {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0;
}
.blog-head__ja { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: var(--ink-soft); letter-spacing: .04em; }

/* ---------- セクション見出し（大見出し + 太い罫線） ---------- */
.section { padding: 44px 0; }
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 30px;
}
.sec-head h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-head h2 .chev { color: var(--accent-to); font-weight: 800; }
.sec-head__note { font-size: 13px; color: var(--ink-faint); font-weight: 600; }
.sec-head__more { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.sec-head__more:hover { color: var(--accent-to); }

/* ---------- 記事カード・グリッド ---------- */
.post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }

.post-card { position: relative; display: flex; flex-direction: column; }
.post-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  background: #ddd;
}
.post-card__media {
  position: absolute; inset: 0;
  transition: transform .55s cubic-bezier(.2, .7, .3, 1);
}
.post-card:hover .post-card__media { transform: scale(1.09); }
.post-card__ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,.85); font-weight: 800; font-size: 12px; letter-spacing: .1em;
  pointer-events: none;
}
.post-card__rank {
  position: absolute; top: 0; right: 0;
  width: 38px; height: 38px; border-radius: 0 4px 0 10px;
  background: #14141a; color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
}
.post-card__meta { margin: 14px 0 8px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.post-card__meta .cat {
  background: var(--accent);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.post-card__meta .sep { color: var(--line); margin: 0 8px; -webkit-text-fill-color: var(--line); }
.post-card__title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: .01em;
  border-left: 3px solid var(--ink);
  padding-left: 12px;
  margin: 0 0 16px;
  flex: 1;
  /* 横並び時にタイトル高さを揃える：常に3行分を確保し、3行を超えたら省略 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 4.8em; /* line-height 1.6 × 3行 */
}
.post-card:hover .post-card__title { border-left-color: var(--accent-to); }
.post-card__foot {
  margin-top: auto;
  border-top: 1px solid var(--ink);
  position: relative;
  height: 38px;
}
.post-card__arrow {
  position: absolute; right: 0; top: 0;
  width: 46px; height: 38px; background: #14141a; color: #fff;
  display: grid; place-items: center;
  transition: background .2s;
}
.post-card:hover .post-card__arrow { background: linear-gradient(90deg, #5b8cff, #9b6bff); }
.post-card__arrow svg { width: 18px; height: 18px; }

.thumb-g1 { background: linear-gradient(135deg, #5b8cff, #9b6bff); }
.thumb-g2 { background: linear-gradient(135deg, #11998e, #38ef7d); }
.thumb-g3 { background: linear-gradient(135deg, #f7971e, #ffd200); }
.thumb-g4 { background: linear-gradient(135deg, #ee5a6f, #f29263); }
.thumb-g5 { background: linear-gradient(135deg, #4568dc, #b06ab3); }
.thumb-g6 { background: linear-gradient(135deg, #232526, #414345); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}
@media (max-width: 560px) {
  .post-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   特集（サムネ＋テキストの2カラムリスト）
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.feature-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.feature-item__body { flex: 1; min-width: 0; }
.feature-item__title { font-size: 17px; font-weight: 800; line-height: 1.55; margin: 0; }
.feature-item:hover .feature-item__title { color: var(--accent-to); }
.feature-item__meta { margin-top: 12px; display: flex; align-items: center; gap: 12px; }
.feature-badge { border: 1px solid var(--ink); font-size: 11px; font-weight: 800; padding: 3px 10px; }
.feature-item__date { font-size: 12px; font-weight: 700; color: var(--ink-faint); }
.feature-item__thumb { position: relative; width: 150px; aspect-ratio: 16 / 10; border-radius: 4px; flex-shrink: 0; overflow: hidden; }
.feature-item__media { position: absolute; inset: 0; transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.feature-item:hover .feature-item__media { transform: scale(1.09); }

/* ============================================================
   トピックス（テキスト主体・2カラム）
   ============================================================ */
.topics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.topic { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
.topic__title { font-size: 15.5px; font-weight: 800; line-height: 1.6; margin: 0; }
.topic:hover .topic__title { color: var(--accent-to); }
.topic__date { margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--ink-faint); }

/* ============================================================
   フォトギャラリー（不揃いタイルが噛み合って全体で1枚に）
   縦長・正方形・横長・細長を不規則に組む（参考: TCD NUMERO）
   ============================================================ */
.gallery {
  display: grid;
  aspect-ratio: 16 / 9;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(5, 1fr);
  grid-template-areas:
    "a a b c c d d"
    "a a b c c e f"
    "g h h i i e f"
    "g h h i i j j"
    "g k k l l j j";
  gap: 3px;
  border-radius: 6px;
  overflow: hidden;
}
.gallery a { position: relative; overflow: hidden; transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.gallery a:hover { transform: scale(1.06); z-index: 2; }
.g-a { grid-area: a; } .g-b { grid-area: b; } .g-c { grid-area: c; } .g-d { grid-area: d; }
.g-e { grid-area: e; } .g-f { grid-area: f; } .g-g { grid-area: g; } .g-h { grid-area: h; }
.g-i { grid-area: i; } .g-j { grid-area: j; } .g-k { grid-area: k; } .g-l { grid-area: l; }
.gallery a::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.10); transition: background .25s;
}
.gallery a:hover::after { background: rgba(0,0,0,.30); }
.gallery a > span {
  position: absolute; top: 8px; left: 8px; z-index: 1;
  color: #fff; font-weight: 800; font-size: 10px; letter-spacing: .08em;
  background: rgba(0,0,0,.5); padding: 3px 8px; border-radius: 3px;
}

/* ============================================================
   SNS / RSS リンク
   ============================================================ */
.sns-row {
  display: flex; justify-content: flex-end; align-items: center; gap: 30px;
  padding: 26px 0; border-top: 1px solid var(--line); margin-top: 10px;
}
.sns-row a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.sns-row a:hover { color: var(--accent-to); }
.sns-row svg { width: 18px; height: 18px; }

@media (max-width: 760px) {
  .feature-grid, .topics-grid { grid-template-columns: 1fr; gap: 0; }
  .gallery a > span { font-size: 11px; }
  .sns-row { justify-content: center; gap: 22px; flex-wrap: wrap; }
}

/* ============================================================
   カテゴリーページ
   ============================================================ */
.cat-head { padding: 40px 0 10px; }
.cat-head__crumb { font-size: 12px; font-weight: 700; color: var(--ink-faint); margin: 0 0 14px; }
.cat-head__crumb a:hover { color: var(--accent-to); }
.cat-head__title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin: 0; letter-spacing: .02em; }
.cat-head__count { margin: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--ink-soft); }

.pager-cats { display: flex; justify-content: center; gap: 8px; margin: 40px 0 10px; }
.pager-cats button {
  min-width: 42px; height: 42px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font-weight: 700; color: var(--ink-soft); cursor: pointer;
}
.pager-cats button:hover { border-color: var(--accent-to); }
.pager-cats button.is-active { background: var(--accent); color: #fff; border-color: transparent; }

/* ============================================================
   タブ切替：新着記事グリッドのスッと切り替わるモーション
   ============================================================ */
#latestGrid .post-card { animation: cardIn .45s cubic-bezier(.2,.7,.3,1) both; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.articles-heading-sub { font-size: 13px; color: var(--ink-faint); font-weight: 600; margin-left: 4px; }

/* ============================================================
   ヒーロースライダー（大型サムネ・PCトップ）
   ============================================================ */
.hero-slider { position: relative; margin: 26px 0 6px; border-radius: 12px; overflow: hidden; background: #eee; }
.hero-slider__track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.hero-slide { position: relative; min-width: 100%; aspect-ratio: 21 / 9; display: block; overflow: hidden; }
.hero-slide__img { position: absolute; inset: 0; }
.hero-slide__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 75%);
}
.hero-slide__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.7); font-weight: 800; letter-spacing: .12em; }
.hero-slide__body { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 40px 48px; max-width: 66%; color: #fff; }
.hero-slide__cat {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  background: rgba(255,255,255,.16); backdrop-filter: blur(4px); padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.hero-slide__title { font-size: clamp(20px, 2.7vw, 34px); font-weight: 800; line-height: 1.45; margin: 0; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.hero-slide__date { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; opacity: .9; }

.hero-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: #14141a; font-size: 22px; line-height: 1;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: background .2s, transform .2s;
}
.hero-slider__arrow:hover { background: #fff; }
.hero-slider__arrow--prev { left: 18px; }
.hero-slider__arrow--next { right: 18px; }

.hero-slider__dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.hero-slider__dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.5); transition: background .2s, width .2s;
}
.hero-slider__dots button.is-active { background: #fff; width: 24px; border-radius: 5px; }

@media (max-width: 700px) {
  .hero-slide { aspect-ratio: 4 / 3; }
  .hero-slide__body { padding: 22px 22px 30px; max-width: 90%; }
  .hero-slider__arrow { width: 38px; height: 38px; font-size: 18px; }
  .hero-slider__arrow--prev { left: 10px; }
  .hero-slider__arrow--next { right: 10px; }
}

/* ============================================================
   ヒーロースライダー v2（角ブラケット＋Pickup＋ホバー情報カード）
   ============================================================ */
.hero2 { position: relative; margin: 30px 0 8px; }
.hero2__viewport { overflow: hidden; }
.hero2__track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.hero2-slide { min-width: 100%; display: flex; justify-content: center; padding: 26px 0 30px; }

.hero2-frame { position: relative; width: 70%; max-width: 780px; }
.hero2-thumb {
  position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 3px; overflow: hidden;
}
.hero2-thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.7); font-weight: 800; letter-spacing: .12em; }

/* 角ブラケット */
.bk { position: absolute; width: 30px; height: 30px; border: 0 solid #14141a; pointer-events: none; }
.bk--tl { top: -13px; left: -13px; border-top-width: 2px; border-left-width: 2px; }
.bk--tr { top: -13px; right: -13px; border-top-width: 2px; border-right-width: 2px; }
.bk--bl { bottom: -13px; left: -13px; border-bottom-width: 2px; border-left-width: 2px; }
.bk--br { bottom: -13px; right: -13px; border-bottom-width: 2px; border-right-width: 2px; }

/* Pickup 縦ラベル */
.hero2-pickup {
  position: absolute; right: -34px; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-size: 12px; font-weight: 800; letter-spacing: .24em; color: #14141a;
}

/* ホバーで出る情報カード */
.hero2-card {
  position: absolute; left: 18px; bottom: 18px; max-width: 80%;
  background: #fff; border-radius: 8px; padding: 16px 20px;
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
  opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; pointer-events: none;
}
.hero2-thumb:hover .hero2-card { opacity: 1; transform: none; }
.hero2-card__cat { font-size: 12px; font-weight: 800; color: #5a5a66; }
.hero2-card__title { font-size: clamp(16px, 1.7vw, 20px); font-weight: 800; line-height: 1.5; margin: 8px 0 0; color: #14141a; }
.hero2-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hero2-card__tags span { font-size: 11px; font-weight: 700; color: #fff; background: #2b2b30; padding: 4px 10px; border-radius: 5px; }

/* 矢印（ダーク丸） */
.hero2__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: #14141a; color: #fff; font-size: 20px; display: grid; place-items: center;
  transition: transform .2s, opacity .2s; opacity: .92;
}
.hero2__arrow:hover { opacity: 1; transform: translateY(-50%) scale(1.06); }
.hero2__arrow--prev { left: 4%; }
.hero2__arrow--next { right: 4%; }

/* サムネ下の情報（スマホ用・PCは非表示） */
.hero2-below { display: none; }
.hero2-below__cat { font-size: 12px; font-weight: 800; color: var(--ink-soft); }
.hero2-below__title { font-size: 16px; font-weight: 800; line-height: 1.55; margin: 6px 0 0; color: var(--ink); }

/* ドット */
.hero2__dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.hero2__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #d0d0d8; transition: background .2s, width .2s; }
.hero2__dots button.is-active { background: #14141a; width: 22px; border-radius: 4px; }

@media (max-width: 760px) {
  .hero2-frame { width: 82%; }
  .hero2-thumb { aspect-ratio: 4 / 3; }
  .hero2-pickup { right: -22px; font-size: 10px; }
  .hero2__arrow { width: 40px; height: 40px; font-size: 16px; }
  /* スマホ：オーバーレイカードは消し、サムネ下に情報を表示 */
  .hero2-card { display: none; }
  .hero2-below { display: block; padding: 14px 2px 0; }
}

