@charset "UTF-8";
/*
 * top-custom.css — TOPページ固有
 *   .kenki-hero*       メインビジュアル（富士山背景 + 縦長ポートレート + キャッチ）
 *   .kenki-news-sec*   お知らせ（左ラベル + 行リスト）
 *   .kenki-news*       お知らせ各行
 *   .kenki-works*      お仕事のご案内（4カード）／.kenki-work* 各カード
 *   .kenki-ig*         Instagram（テキスト + 埋め込み風カード）
 */

/* ============================ メインビジュアル ============================ */
.kenki-hero {
  position: relative;
  min-height: 100vh;
  color: var(--blue-ink);
  overflow: hidden;
  background-color: var(--paper-soft);
}
.kenki-hero__bg {
  position: absolute; inset: 0;
  background: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28192/fuji.jpg') no-repeat center 35% / cover;
  z-index: 0;
}
.kenki-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.7) 35%, rgba(255,255,255,.15) 65%, transparent 100%);
  pointer-events: none;
}
.kenki-hero__stage {
  position: relative; z-index: 2;
  max-width: 1480px; margin: 0 auto;
  padding: calc(var(--header-h) + 64px) 40px 0;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: stretch;
  min-height: 100vh;
}
.kenki-hero__copy { align-self: center; padding: 60px 0; position: relative; min-width: 0; }
.kenki-hero__catch {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(46px, 7vw, 112px);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--blue-ink);
}
.kenki-hero__l1 { display: block; }
.kenki-hero__l2 { display: block; color: var(--blue); }
.kenki-hero__accent { position: relative; display: inline-block; }
.kenki-hero__accent::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 6%;
  height: 18%; background: rgba(242,224,25,.6); z-index: -1;
}
.kenki-hero__sub {
  margin-top: 32px;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 2;
  color: var(--ink);
  max-width: 480px;
  font-weight: 500;
}
.kenki-hero__meta { margin-top: 40px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.kenki-hero__figure {
  position: relative; align-self: stretch; min-width: 0;
  display: flex; justify-content: center; align-items: flex-end;
}
.kenki-hero__portrait {
  position: relative; z-index: 2;
  height: min(98vh, 920px);
  max-width: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 36px rgba(1,58,96,.25));
}
@media (max-width: 1100px) {
  .kenki-hero__stage { padding: calc(var(--header-h) + 56px) 24px 0; }
}
/* タブレット〜iPad Pro：メインビューの縦幅を控えめに（PC比で圧縮）。
   portrait は stage 下端に貼り付け（copy は中央配置のまま） */
@media (min-width: 640px) and (max-width: 1100px) {
  .kenki-hero { min-height: 60vh; }
  .kenki-hero__stage {
    min-height: 60vh;
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 0;
  }
  .kenki-hero__portrait { height: min(55vh, 520px); }
}

/* スマホ専用：キャッチ→サブ→人物画像（最下端） / ボタンは人物画像に被せる */
@media (max-width: 639px) {
  .kenki-hero { min-height: auto; }
  .kenki-hero__bg::after {
    background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.7) 50%, rgba(255,255,255,.4) 100%);
  }
  .kenki-hero__stage {
    grid-template-columns: 1fr;
    padding: calc(var(--header-h) + 45px) 20px 0;
    gap: 0;
    min-height: auto;
    position: relative;
  }
  .kenki-hero__copy { display: contents; }
  .kenki-hero__catch { order: 1; text-align: center; font-size: clamp(32px, 9vw, 50px); }
  .kenki-hero__sub { order: 2; text-align: center; margin: 18px auto 0; }
  .kenki-hero__figure { order: 3; height: 48vh; margin-top: 24px; margin-bottom: 0; }
  .kenki-hero__portrait { height: 48vh; }
  .kenki-hero__meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    margin: 0;
    justify-content: center;
    z-index: 3;
  }
}

/* ============================ お知らせ ============================ */
.kenki-news-sec { padding: 130px 0 110px; background: var(--paper); position: relative; }
.kenki-news-sec__layout { display: grid; grid-template-columns: 240px 1fr; gap: 80px; align-items: start; }
.kenki-news-sec .kenki-shead__en { font-size: clamp(40px, 5.6vw, 80px); }

.kenki-news { border-top: 1px solid var(--rule-strong); max-height: 340px; overflow-y: auto; }
/* 4件を超えたら縦スクロール（細めのスクロールバー） */
.kenki-news::-webkit-scrollbar { width: 6px; }
.kenki-news::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 3px; }
.kenki-news::-webkit-scrollbar-track { background: transparent; }
.kenki-news__item {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px;
  padding: 24px 8px; border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.kenki-news__date { font-family: var(--font-en); font-weight: 600; font-size: 1.4rem; color: var(--ink-soft); letter-spacing: .04em; }
.kenki-news__cat {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff;
  padding: 6px 10px; font-size: 1.1rem; font-weight: 700; letter-spacing: .08em; border-radius: 2px;
  width: 96px; white-space: nowrap;
}
.kenki-news__cat[data-cat="event"] { background: var(--yellow); color: var(--blue-ink); }
.kenki-news__cat[data-cat="talk"]  { background: var(--blue-ink); color: #fff; }
.kenki-news__title { font-size: 1.5rem; font-weight: 500; line-height: 1.7; color: var(--ink); }
.kenki-news-sec__more { margin-top: 48px; display: flex; justify-content: flex-end; }
@media (max-width: 960px) {
  .kenki-news-sec__layout { grid-template-columns: 1fr; gap: 28px; }
  .kenki-news__item { grid-template-columns: auto 1fr; gap: 8px 14px; padding: 18px 8px; }
  .kenki-news__date { grid-column: 1; }
  .kenki-news__cat { grid-column: 2; grid-row: 1; }
  .kenki-news__title { grid-column: 1 / -1; }
}

/* ============================ お仕事のご案内 ============================ */
.kenki-works { background: #EAF4FB; padding: 130px 0 150px; position: relative; overflow: hidden; }
.kenki-works::before {
  content: ""; position: absolute; right: -120px; top: 60px;
  width: 340px; height: 340px; border-radius: 999px;
  background: rgba(255,255,255,.55); z-index: 0;
}
.kenki-works .container { position: relative; z-index: 1; }
.kenki-works__head { display: grid; grid-template-columns: auto 1fr; gap: 80px; align-items: center; margin-bottom: 30px; }
.kenki-works__head .kenki-lead { padding-bottom: 14px; }
.kenki-works__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.kenki-work {
  background: #fff; border-radius: 14px; padding: 16px 16px 24px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 10px 28px rgba(2,125,197,.10), 0 2px 6px rgba(1,58,96,.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.kenki-work:hover { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(1,58,96,.18); }
.kenki-work__thumb {
  position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--paper-blue);
}
.kenki-work__thumb img { width: 100%; height: 100%; object-fit: cover; }
.kenki-work__body { display: flex; flex-direction: column; gap: 14px; padding: 0 10px; }
.kenki-work__pill {
  align-self: center; display: inline-flex; align-items: center;
  background: var(--paper-blue); color: var(--blue-deep);
  padding: 6px 14px; border-radius: 999px; font-size: 1.1rem; font-weight: 700; letter-spacing: .04em;
}
.kenki-work__title {
  font-size: 20px; font-weight: 700; line-height: 1.5;
  color: var(--blue); text-align: center; margin: 4px 0 0;
  min-height: 60px; display: flex; align-items: center; justify-content: center;
}
.kenki-work__divider { height: 1px; background: var(--rule); margin: 4px 0; }
.kenki-work__desc { font-size: 1.3rem; line-height: 1.9; color: var(--ink); }
.kenki-work__cta {
  margin: 12px 10px 0; margin-top: auto;
  display: none; grid-template-columns: 1fr 56px;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 10px rgba(1,58,96,.12);
  text-decoration: none;
}
.kenki-work__cta-lbl {
  background: var(--blue); color: #fff; padding: 14px 0; text-align: center;
  font-size: 1.3rem; font-weight: 700; letter-spacing: .04em;
  transition: background .2s var(--ease);
}
.kenki-work__cta-arr {
  background: var(--blue-deep); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease);
}
.kenki-work:hover .kenki-work__cta-lbl { background: var(--blue-deep); }
.kenki-work:hover .kenki-work__cta-arr { background: var(--blue-ink); }
@media (max-width: 1080px) { .kenki-works__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .kenki-works__head { grid-template-columns: 1fr; gap: 24px; }
  .kenki-works__grid { grid-template-columns: 1fr; }
}

/* ============================ Instagram ============================ */
.kenki-ig { padding: 130px 0; background: #fff; position: relative; overflow: hidden; }
/* うっすらした背景あしらい（ブランドブルーの円 + ドットパターン） */
.kenki-ig::before {
  content: ""; position: absolute; right: -140px; top: -100px;
  width: 420px; height: 420px; border-radius: 999px;
  background: rgba(2,125,197,.06); pointer-events: none;
}
.kenki-ig::after {
  content: ""; position: absolute; left: 4%; bottom: 8%;
  width: 200px; height: 200px;
  background-image: radial-gradient(rgba(2,125,197,0.6) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
  opacity: .45; pointer-events: none;
}
.kenki-ig .container { position: relative; z-index: 1; }
/* 追加あしらい（リング・黄色のソフト円・第2ドット） */
.kenki-ig__deco { position: absolute; pointer-events: none; z-index: 0; }
.kenki-ig__deco--ring { left: 2%; top: 20%; width: 150px; height: 150px; border: 1px solid rgba(2,125,197,.18); border-radius: 999px; }
.kenki-ig__deco--circle-y { right: 6%; bottom: -40px; width: 240px; height: 240px; border-radius: 999px; background: rgba(242,224,25,.10); }
.kenki-ig__deco--dots2 { right: 3%; top: 14%; width: 120px; height: 120px; background-image: radial-gradient(rgba(2,125,197,.16) 1.6px, transparent 1.6px); background-size: 16px 16px; opacity: .45; }
.kenki-ig__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1000px; margin: 0 auto; }
.kenki-ig__info .kenki-shead { margin-bottom: 28px; }
.kenki-ig__text { font-size: 1.5rem; line-height: 2; color: var(--ink); margin-bottom: 14px; max-width: 460px; }
.kenki-ig__info .kenki-ig__text:last-of-type { margin-bottom: 30px; }
.kenki-ig__handle {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-weight: 600; color: var(--blue);
  font-size: 1.4rem; margin: 18px 0 32px; letter-spacing: .04em;
}
.kenki-ig__handle i { font-size: 1.2em; }
/* .kenki-ig__embed* は site.css に移動（トップ・プロフィール共通で使用） */
@media (max-width: 880px) { .kenki-ig__layout { grid-template-columns: 1fr; gap: 36px; } }

/* スマホ：セクション余白を縮小 */
@media (max-width: 639px) {
  .kenki-news-sec { padding: 60px 0 50px; }
  .kenki-news-sec__layout { gap: 24px; }
  .kenki-works { padding: 55px 0 60px; }
  .kenki-works__head { margin-bottom: 26px; }
  .kenki-ig { padding: 60px 0; }
}
