@charset "UTF-8";
/*
 * トップページ専用のスタイル。front-page.php でだけ読み込む。
 *
 * SWELLのCSSも同じページに乗っているため、すべて body.ecn-top の下にスコープを切っている。
 * Figmaの 1440px アートボードを基準にしていて、コンテンツ幅は 1200px（左右120pxの余白）。
 */

body.ecn-top {
  --ecn-ink: #1c1d1f;
  --ecn-ink2: #4a4d52;
  --ecn-ink3: #6b6f76;
  --ecn-accent: #0070eb;
  --ecn-accent-pale: #e6f0fd;
  --ecn-navy: #0b1f3a;
  --ecn-navy2: #123a68;
  --ecn-bg: #f4f5f7;
  --ecn-line: #e3e5e8;
  --ecn-en: "Archivo", "Zen Kaku Gothic New", sans-serif;
  --ecn-mono: "IBM Plex Mono", monospace;
  --ecn-jp: "Zen Kaku Gothic New", sans-serif;
  --ecn-gap: 96px;

  margin: 0;
  background: #fff;
  color: var(--ecn-ink);
  font-family: var(--ecn-jp);
  -webkit-font-smoothing: antialiased;
}

/*
 * SWELLの既定が効いてくるので、この中だけ素に戻す。
 *
 * 詳細度をクラス1つ分（0,1,0）に揃えてある。
 *   - SWELLの素の `a {}` や `ul {}`（0,0,1）には勝つ
 *   - この下のコンポーネント指定（.ecn-btn など）とは同点なので、後に書いた方が勝つ
 * `body.ecn-top ...` と書くと (0,1,1) になってコンポーネント側が全部負ける。
 * 実際それでボタンの文字が背景と同じ色になった。
 */
.ecn-top :where(.ecn-main, .ecn-hd, .ecn-ft),
.ecn-top :where(.ecn-main, .ecn-hd, .ecn-ft) :where(*),
.ecn-top :where(.ecn-main, .ecn-hd, .ecn-ft) :where(*)::before,
.ecn-top :where(.ecn-main, .ecn-hd, .ecn-ft) :where(*)::after {
  box-sizing: border-box;
}
.ecn-top :where(.ecn-main, .ecn-hd, .ecn-ft) :where(h1, h2, h3, p, ul, ol, li, figure) {
  margin: 0;
  padding: 0;
}
.ecn-top :where(.ecn-main, .ecn-hd, .ecn-ft) :where(ul, ol) {
  list-style: none;
}
.ecn-top :where(.ecn-main, .ecn-hd, .ecn-ft) :where(a) {
  color: inherit;
  text-decoration: none;
}
.ecn-top :where(.ecn-main, .ecn-hd, .ecn-ft) :where(img) {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}
.ecn-top :where(.ecn-main, .ecn-hd, .ecn-ft) :where(button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* 中身が1200pxになるように左右のpadding分を足している（Figmaの 1440 − 左右120 ＝ 1200） */
.ecn-wrap {
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
  padding-inline: 24px;
}

/*
 * セクション間の余白。
 *
 * 以前は `.ecn-sec + .ecn-sec { padding-top: 0 }` で打ち消してから個別に足し直していたが、
 * あれは (0,2,0) で `.ecn-dl` (0,1,0) に勝ってしまい、帯の上の余白が丸ごと消えていた。
 * 打ち消しはやめて、セクションごとに素直に指定する。
 *
 *   - 背景色の無いセクション … 上に --ecn-gap だけあける
 *   - 背景色のある帯（Ranking・Download）… 帯の手前に --ecn-gap、帯の中にさらに余白をとる
 */
.ecn-news,
.ecn-purpose,
.ecn-about {
  padding-top: var(--ecn-gap);
}
.ecn-ranking,
.ecn-dl {
  margin-top: var(--ecn-gap);
  padding-top: 72px;
}
.ecn-about {
  padding-bottom: var(--ecn-gap);
}

/* ============================================================
   セクション見出し
   ============================================================ */
.ecn-sechead {
  margin-bottom: 32px;
}
.ecn-sechead em {
  display: block;
  font-family: var(--ecn-en);
  font-weight: 800;
  font-style: italic;
  font-size: 72px;
  line-height: 68.4px;
  letter-spacing: -0.72px;
  color: var(--ecn-ink);
}
.ecn-sechead span {
  display: block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ecn-ink);
}
.ecn-sechead--navy em,
.ecn-sechead--navy span {
  color: var(--ecn-navy);
}

/* ============================================================
   共通パーツ
   ============================================================ */
.ecn-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ecn-meta__cat {
  font-family: var(--ecn-en);
  font-weight: 600;
  font-size: 12px;
  color: var(--ecn-accent);
  white-space: nowrap;
}
.ecn-meta__date,
.ecn-meta__no {
  font-family: var(--ecn-mono);
  font-size: 12px;
  color: var(--ecn-ink3);
  white-space: nowrap;
}

.ecn-noimg {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ecn-bg);
}

.ecn-btnrow {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}
.ecn-btnrow--left {
  justify-content: flex-start;
}
.ecn-btn {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  height: 56px;
  padding-inline: 32px;
  background: var(--ecn-ink);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.6px;
  transition: background 0.2s;
}
.ecn-btn:hover {
  background: var(--ecn-accent);
}

.ecn-badge-pickup,
.ecn-badge-new {
  position: absolute;
  top: 12px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  padding-inline: 22px;
  border-radius: 20px;
  border: 1px solid #333;
  font-family: var(--ecn-en);
  font-weight: 800;
  font-style: italic;
  font-size: 16px;
  line-height: 1;
}
.ecn-badge-pickup {
  background: var(--ecn-ink);
  color: #fff;
}
.ecn-badge-new {
  background: #fff;
  color: #333;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.ecn-hd {
  background: #fff;
  border-bottom: 1px solid var(--ecn-line);
}
.ecn-hd__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 108px;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 106px;
}
.ecn-hd__logo img {
  display: block;
  width: 104px;
  height: 36px;
  object-fit: contain;
}
.ecn-hd__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 36px;
}
.ecn-hd__nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.2s;
}
.ecn-hd__nav a:hover {
  color: var(--ecn-accent);
}
.ecn-hd__caret {
  width: 10px;
  height: 6px;
}
.ecn-hd__search {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.ecn-hd__search input {
  width: 247px;
  height: 44px;
  padding-inline: 19px;
  border: 1px solid var(--ecn-line);
  border-right: 0;
  border-radius: 0;
  background: #fff;
  font-family: var(--ecn-jp);
  font-size: 14px;
  color: var(--ecn-ink);
  -webkit-appearance: none;
  appearance: none;
}
.ecn-hd__search input::placeholder {
  color: var(--ecn-ink3);
}
.ecn-hd__search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--ecn-bg);
}
.ecn-hd__search button img {
  width: 17px;
  height: 17px;
}
.ecn-hd__dl,
.ecn-hd__cta {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding-inline: 18px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.52px;
  white-space: nowrap;
  transition: filter 0.2s;
}
.ecn-hd__dl {
  gap: 10px;
  background: var(--ecn-accent-pale);
  color: var(--ecn-navy2);
}
.ecn-hd__cta {
  gap: 12px;
  background: var(--ecn-ink);
  color: #fff;
}
.ecn-hd__dl:hover,
.ecn-hd__cta:hover {
  filter: brightness(1.12);
}
.ecn-hd__dl img {
  width: 12px;
  height: 12px;
}
.ecn-hd__cta img {
  width: 14px;
  height: 10px;
}
.ecn-hd__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
}
.ecn-hd__burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--ecn-ink);
  transition: transform 0.2s, opacity 0.2s;
}
.ecn-hd__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ecn-hd__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.ecn-hd__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.ecn-hd__sp {
  display: none;
}

/* ============================================================
   ヒーロー（PICK UP ＋ Editor's Picks）
   ============================================================ */
.ecn-hero {
  padding-top: 32px;
}
.ecn-hero__inner {
  display: flex;
  align-items: flex-start;
  gap: 96px;
}
.ecn-hero__main {
  flex: 1 1 auto;
  min-width: 0;
}
.ecn-hero__slides {
  display: grid;
}
.ecn-hero__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s;
}
.ecn-hero__slide.is-current {
  opacity: 1;
  visibility: visible;
}
.ecn-hero__link {
  display: block;
}
.ecn-hero__thumb {
  position: relative;
  display: block;
  aspect-ratio: 733 / 412;
  overflow: hidden;
  background: var(--ecn-bg);
}
.ecn-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.ecn-hero__link:hover .ecn-hero__thumb img {
  transform: scale(1.03);
}
.ecn-hero__link .ecn-meta {
  margin-top: 24px;
}
.ecn-hero__link .ecn-meta__cat {
  font-size: 13px;
}
.ecn-hero__title {
  display: block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 30px;
  line-height: 45px;
  letter-spacing: 0.3px;
  color: var(--ecn-ink);
}
.ecn-hero__link:hover .ecn-hero__title {
  color: var(--ecn-accent);
}
.ecn-hero__excerpt {
  display: block;
  margin-top: 10px;
  max-width: 720px;
  font-size: 15px;
  line-height: 27.75px;
  color: var(--ecn-ink2);
}

.ecn-hero__pager {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.ecn-hero__num {
  font-family: var(--ecn-mono);
  font-size: 12px;
  color: var(--ecn-ink3);
}
.ecn-hero__num.is-now {
  color: var(--ecn-ink);
}
.ecn-hero__bar {
  position: relative;
  display: block;
  width: 320px;
  max-width: 320px;
  height: 2px;
  background: var(--ecn-line);
}
.ecn-hero__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--ecn-ink);
  transition: width 0.35s;
}
.ecn-hero__btns {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.ecn-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--ecn-bg);
  transition: background 0.2s;
}
.ecn-hero__btn.is-on {
  background: var(--ecn-ink);
}
.ecn-hero__btn img {
  width: 14px;
  height: 10px;
}

/* Editor's Picks */
.ecn-picks {
  flex: 0 0 377px;
  width: 377px;
}
.ecn-picks__head em {
  display: block;
  font-family: var(--ecn-en);
  font-weight: 800;
  font-style: italic;
  font-size: 32px;
  line-height: 32px;
  color: var(--ecn-ink);
}
.ecn-picks__head span {
  display: block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 13px;
  color: var(--ecn-ink2);
}
.ecn-picks__list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 28px;
}
.ecn-picks__list a {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ecn-picks__thumb {
  flex: 0 0 136px;
  width: 136px;
  height: 76.5px;
  overflow: hidden;
  background: var(--ecn-bg);
}
.ecn-picks__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ecn-picks__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ecn-picks__title {
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  color: var(--ecn-ink);
  transition: color 0.2s;
}
.ecn-picks__list a:hover .ecn-picks__title {
  color: var(--ecn-accent);
}

/* ============================================================
   News（新着記事）
   ============================================================ */
.ecn-news__lead {
  display: flex;
  align-items: center;
  gap: 56px;
}
.ecn-news__lead-thumb {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 571 / 321.75;
  overflow: hidden;
  background: var(--ecn-bg);
}
.ecn-news__lead-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.ecn-news__lead:hover .ecn-news__lead-thumb img {
  transform: scale(1.03);
}
.ecn-news__lead-body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.ecn-news__lead-body .ecn-meta__cat {
  font-size: 13px;
}
.ecn-news__lead-title {
  font-weight: 700;
  font-size: 26px;
  line-height: 40.3px;
  color: var(--ecn-ink);
  transition: color 0.2s;
}
.ecn-news__lead:hover .ecn-news__lead-title {
  color: var(--ecn-accent);
}
.ecn-news__lead-excerpt {
  font-size: 15px;
  line-height: 27.75px;
  color: var(--ecn-ink2);
}

.ecn-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 42px;
}
.ecn-cards a {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ecn-cards__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ecn-bg);
}
.ecn-cards__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.ecn-cards a:hover .ecn-cards__thumb img {
  transform: scale(1.03);
}
.ecn-cards .ecn-meta {
  gap: 14px;
  margin-top: 8px;
}
.ecn-cards__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 26.4px;
  color: var(--ecn-ink);
  transition: color 0.2s;
}
.ecn-cards a:hover .ecn-cards__title {
  color: var(--ecn-accent);
}

/* ============================================================
   Ranking
   ============================================================ */
.ecn-ranking {
  background: var(--ecn-bg);
  padding-bottom: var(--ecn-gap);
}
.ecn-rank__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 72px;
  row-gap: 32px;
  margin-top: 34px;
}
.ecn-rank__list a {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ecn-rank__num {
  flex: 0 0 56px;
  font-family: var(--ecn-en);
  font-weight: 800;
  font-style: italic;
  font-size: 44px;
  line-height: 44px;
  color: var(--ecn-ink);
}
.ecn-rank__list li.is-top .ecn-rank__num {
  color: var(--ecn-accent);
}
.ecn-rank__thumb {
  flex: 0 0 136px;
  width: 136px;
  height: 76.5px;
  overflow: hidden;
  background: #fff;
}
.ecn-rank__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ecn-rank__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ecn-rank__title {
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  color: var(--ecn-ink);
  transition: color 0.2s;
}
.ecn-rank__list a:hover .ecn-rank__title {
  color: var(--ecn-accent);
}

/* ============================================================
   Purpose（目的から記事を探す）
   ============================================================ */
.ecn-purpose__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 43px;
  margin-top: 66px;
}
.ecn-purpose__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.ecn-purpose__label span {
  font-family: var(--ecn-mono);
  font-size: 11px;
  letter-spacing: 1.32px;
  color: var(--ecn-accent);
}
.ecn-purpose__label em {
  font-family: var(--ecn-en);
  font-weight: 800;
  font-style: italic;
  font-size: 48px;
  line-height: 38.4px;
  color: #dcebff;
}
.ecn-purpose__title {
  margin-top: 16px;
  font-weight: 700;
  font-size: 21px;
  line-height: 30.45px;
  color: var(--ecn-ink);
}
.ecn-purpose__desc {
  min-height: 51px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 25.2px;
  color: var(--ecn-ink2);
}
.ecn-purpose__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.ecn-purpose__links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding-inline: 20px 48px;
  background: var(--ecn-bg);
  border: 2px solid transparent;
  font-weight: 500;
  font-size: 14px;
  color: var(--ecn-ink);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
/* 矢印のSVGも実寸で置く（14×8にすると潰れる） */
.ecn-purpose__arw {
  position: absolute;
  top: 50%;
  right: 27px;
  width: 15.0607px;
  height: 9.06066px;
  transform: translateY(-50%);
}
.ecn-purpose__arw--on {
  opacity: 0;
}
.ecn-purpose__links a:hover {
  background: #fff;
  border-color: var(--ecn-accent);
  color: var(--ecn-accent);
  font-weight: 700;
}
.ecn-purpose__links a:hover .ecn-purpose__arw {
  opacity: 0;
}
.ecn-purpose__links a:hover .ecn-purpose__arw--on {
  opacity: 1;
}

/* ============================================================
   Download（無料資料）
   ============================================================ */
.ecn-dl {
  background: var(--ecn-accent-pale);
  padding-bottom: 72px;
}
.ecn-dl .ecn-sechead {
  margin-bottom: 69px;
}
.ecn-dl__card {
  position: relative;
  height: 462px;
  overflow: hidden;
  background: var(--ecn-accent);
  color: #fff;
}
.ecn-dl__deco {
  position: absolute;
  display: block;
  pointer-events: none;
}
.ecn-dl__deco--left {
  left: 0;
  top: 0;
  width: 308px;
  height: 208px;
  transform: rotate(180deg);
}
.ecn-dl__deco--right {
  left: 820px;
  top: 174px;
  width: 380px;
  height: 288px;
}
.ecn-dl__deco img {
  width: 100%;
  height: 100%;
}
.ecn-dl__logo {
  left: 971px;
  top: 263px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 215px;
  height: 200px;
}
.ecn-dl__logo img {
  width: 178px;
  height: 121px;
  object-fit: contain;
  opacity: 0.5;
  transform: rotate(-33.9deg);
}

.ecn-dl__mock {
  position: absolute;
  left: 647px;
  top: 87px;
  width: 411px;
  height: 242px;
  overflow: hidden;
  pointer-events: none;
}
.ecn-dl__mock-img {
  position: absolute;
  left: -11.41%;
  top: -63.69%;
  width: 123.19%;
  height: 209.23%;
  max-width: none;
}
.ecn-dl__mock-screen {
  position: absolute;
  left: 52px;
  top: 19px;
  width: 308px;
  height: 192px;
  background: #d9d9d9;
}

.ecn-dl__stamp {
  position: absolute;
  left: 927px;
  top: 39px;
  width: 175px;
  height: 131px;
  pointer-events: none;
}
/*
 * SVGの実寸は 139×139 で、中の円は直径131px＋右下に影の余白8px。
 * 131×131 と指定すると円まで6%縮んで、中の文字がはみ出す。実寸で置くこと。
 */
.ecn-dl__stamp-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 139px;
  height: 139px;
}
/* 円の中心は (65.5, 65.5)。Figmaの座標は数pxずれていたので中心に合わせ直している */
.ecn-dl__stamp-text {
  position: absolute;
  left: 65.5px;
  top: 45px;
  font-weight: 700;
  font-size: 15px;
  line-height: 24.7px;
  color: var(--ecn-accent);
  text-align: center;
  /* 改行は <br> で決めている。丸に対して文字が目一杯なので折り返させない */
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.ecn-dl__stamp-icon {
  position: absolute;
  left: 48px;
  top: 75px;
  width: 35px;
  height: 35px;
}
/*
 * 丸バッジの右上に散らす3本の線。SVGは横一直線の同じ素材で、
 * Figmaは角度だけ変えている。幅・高さをいじると潰れる（preserveAspectRatio="none" のため）ので、
 * 実寸のまま置いて transform で回す。
 */
.ecn-dl__line {
  position: absolute;
  /* 実寸。線の端が丸いぶん、見た目の長さより左右に1.5pxずつ広い */
  width: 23.6506px;
  height: 3px;
}
.ecn-dl__line--1 {
  left: 114.5px;
  top: -13px;
  transform: rotate(-65.29deg);
}
.ecn-dl__line--2 {
  left: 133.5px;
  top: -1px;
  transform: rotate(-43.06deg);
}
.ecn-dl__line--3 {
  left: 144.5px;
  top: 17px;
  transform: rotate(-15.51deg);
}

.ecn-dl__body {
  position: absolute;
  left: 119px;
  top: 85px;
  width: 520px;
}
.ecn-dl__title {
  font-weight: 700;
  font-size: 45px;
  line-height: 68.4px;
  letter-spacing: -0.72px;
  color: #fff;
}
.ecn-dl__text {
  margin-top: 14px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24.7px;
  color: #fff;
}
.ecn-dl__btn {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  width: 390px;
  height: 56px;
  margin-top: 36px;
  padding-inline: 32px;
  white-space: nowrap;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25);
  color: var(--ecn-navy2);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.52px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.ecn-dl__btn img {
  width: 24px;
  height: 24px;
}
.ecn-dl__btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
}

.ecn-dl__services {
  position: absolute;
  left: 127px;
  right: 60px;
  bottom: 56px;
  display: flex;
  align-items: center;
  gap: 64px;
}
.ecn-dl__services li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24.7px;
  color: #fff;
}
.ecn-dl__services img {
  width: auto;
  height: 30px;
}

/* ============================================================
   About Us
   ============================================================ */
.ecn-about__body {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 64px;
}
.ecn-about__text {
  flex: 1 1 auto;
  min-width: 0;
}
.ecn-about__lead {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.6;
  color: #000;
}
.ecn-about__desc {
  margin-top: 24px;
  max-width: 660px;
  font-size: 16px;
  line-height: 1.9;
  color: #000;
}
.ecn-about__text .ecn-btnrow {
  margin-top: 48px;
}
.ecn-about__logo {
  flex: 0 0 344px;
}
.ecn-about__logo img {
  width: 344px;
  height: auto;
  object-fit: contain;
}

/* ============================================================
   フッター
   ============================================================ */
.ecn-ft {
  background: var(--ecn-navy);
  color: #fff;
}
.ecn-ft__inner {
  padding-block: 96px 32px;
}
.ecn-ft__cols {
  display: flex;
  align-items: flex-start;
  gap: 124px;
}
.ecn-ft__brand {
  flex: 1 1 auto;
  min-width: 0;
}
.ecn-ft__logo {
  width: 186px;
  height: 64px;
  object-fit: contain;
}
.ecn-ft__lead {
  margin-top: 24px;
  font-size: 13px;
  line-height: 24.7px;
  color: #c9d4e3;
}
.ecn-ft__lead a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ecn-ft__nav {
  flex: 0 0 auto;
}
.ecn-ft__navhead {
  font-family: var(--ecn-mono);
  font-size: 11px;
  letter-spacing: 1.32px;
  color: #a9bcd6;
  text-transform: uppercase;
}
.ecn-ft__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
}
.ecn-ft__nav a {
  font-size: 13px;
  line-height: 1.5;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.ecn-ft__nav--info a {
  font-size: 14px;
}
.ecn-ft__nav a:hover {
  opacity: 0.65;
}
.ecn-ft__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 72px;
}
.ecn-ft__copy {
  font-size: 12px;
  color: #a9bcd6;
}
.ecn-ft__top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--ecn-navy2);
  transition: background 0.2s;
}
.ecn-ft__top:hover {
  background: var(--ecn-accent);
}
.ecn-ft__top img {
  width: 10px;
  height: 14px;
}

/* ============================================================
   タブレット（〜1200px）
   ============================================================ */
@media (max-width: 1240px) {
  body.ecn-top {
    --ecn-gap: 72px;
  }
  .ecn-hd__inner {
    padding-inline: 24px;
    gap: 12px;
  }
  .ecn-hd__nav {
    margin-left: 12px;
  }
  .ecn-hd__search input {
    width: 180px;
  }
  .ecn-sechead em {
    font-size: 56px;
    line-height: 1;
  }
  .ecn-hero__inner {
    gap: 48px;
  }
  .ecn-picks {
    flex-basis: 320px;
    width: 320px;
  }
  .ecn-purpose__cols {
    gap: 24px;
  }
}

/* Downloadカードは座標で組んでいるので、収まらない幅では縮小して逃がす */
@media (max-width: 1248px) and (min-width: 1024px) {
  .ecn-dl__card {
    width: 1200px;
    transform-origin: top left;
    transform: scale(calc((100vw - 48px) / 1200));
  }
  .ecn-dl .ecn-wrap {
    overflow: hidden;
  }
}

/* ============================================================
   スマホ・小さいタブレット（〜1023px）
   Figmaに該当する指定が無いので、1カラムに畳んで読めるようにしている。
   ============================================================ */
@media (max-width: 1023px) {
  body.ecn-top {
    --ecn-gap: 56px;
  }

  .ecn-hd__inner {
    height: 64px;
    gap: 0;
  }
  .ecn-hd__nav,
  .ecn-hd__search,
  .ecn-hd__dl,
  .ecn-hd__cta {
    display: none;
  }
  .ecn-hd__burger {
    display: flex;
  }
  .ecn-hd__sp {
    display: block;
    border-top: 1px solid var(--ecn-line);
    padding: 8px 24px 24px;
  }
  .ecn-hd__sp[hidden] {
    display: none;
  }
  .ecn-hd__sp a {
    display: block;
    padding: 14px 0;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px solid var(--ecn-line);
  }
  .ecn-hd__sp-dl,
  .ecn-hd__sp-cta {
    margin-top: 16px;
    border-bottom: 0 !important;
    text-align: center;
    font-weight: 700 !important;
  }
  .ecn-hd__sp-dl {
    background: var(--ecn-accent-pale);
    color: var(--ecn-navy2);
  }
  .ecn-hd__sp-cta {
    background: var(--ecn-ink);
    color: #fff;
  }

  .ecn-sechead em {
    font-size: 44px;
    line-height: 1;
  }
  .ecn-sechead {
    margin-bottom: 24px;
  }
  /* 帯の中の余白はPCほど要らない */
  .ecn-ranking,
  .ecn-dl {
    padding-top: 48px;
  }
  .ecn-ranking {
    padding-bottom: 48px;
  }
  .ecn-dl {
    padding-bottom: 48px;
  }

  .ecn-hero__inner {
    flex-direction: column;
    gap: 56px;
  }
  .ecn-picks {
    flex-basis: auto;
    width: 100%;
  }
  .ecn-hero__title {
    font-size: 22px;
    line-height: 1.6;
  }
  .ecn-hero__bar {
    width: auto;
    flex: 1 1 auto;
  }

  .ecn-news__lead {
    flex-direction: column;
    gap: 20px;
  }
  .ecn-news__lead-thumb {
    width: 100%;
    flex: 0 0 auto;
  }
  .ecn-news__lead-title {
    font-size: 20px;
    line-height: 1.6;
  }
  .ecn-cards {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
  }
  .ecn-btnrow {
    margin-top: 40px;
  }

  .ecn-rank__list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    row-gap: 24px;
  }
  .ecn-rank__num {
    flex-basis: 36px;
    font-size: 32px;
    line-height: 32px;
  }
  .ecn-rank__thumb {
    flex-basis: 112px;
    width: 112px;
    height: 63px;
  }

  .ecn-purpose__cols {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }
  .ecn-purpose__desc {
    min-height: 0;
  }

  /* Downloadカードは座標配置をやめて縦積みにする */
  .ecn-dl .ecn-sechead {
    margin-bottom: 24px;
  }
  .ecn-dl__card {
    height: auto;
    padding: 40px 24px;
  }
  .ecn-dl__deco,
  .ecn-dl__mock,
  .ecn-dl__stamp {
    display: none;
  }
  .ecn-dl__body {
    position: static;
    width: auto;
  }
  .ecn-dl__title {
    font-size: 28px;
    line-height: 1.5;
  }
  .ecn-dl__text {
    font-size: 15px;
  }
  .ecn-dl__btn {
    width: 100%;
    max-width: 390px;
    padding-inline: 24px;
    font-size: 18px;
    gap: 16px;
  }
  .ecn-dl__services {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
  }
  .ecn-dl__services li {
    font-size: 14px;
  }

  .ecn-about__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    margin-top: 32px;
  }
  .ecn-about__lead {
    font-size: 20px;
  }
  .ecn-about__logo {
    flex-basis: auto;
    align-self: center;
  }
  .ecn-about__logo img {
    width: 240px;
  }

  .ecn-ft__inner {
    padding-block: 56px 24px;
  }
  .ecn-ft__cols {
    flex-direction: column;
    gap: 40px;
  }
  .ecn-ft__bottom {
    margin-top: 40px;
  }
}

@media (max-width: 599px) {
  .ecn-wrap {
    padding-inline: 20px;
  }
  .ecn-sechead em {
    font-size: 36px;
  }
  .ecn-hero__title {
    font-size: 19px;
  }
  .ecn-picks__list {
    gap: 28px;
  }
  .ecn-picks__thumb {
    flex-basis: 112px;
    width: 112px;
    height: 63px;
  }
  .ecn-picks__title,
  .ecn-rank__title {
    font-size: 14px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ecn-top * {
    transition: none !important;
  }
}
