@charset "utf-8";

/* ============================================================
   ENERGY POINT — 共通スタイル
   元サイト(STUDIO)の実測値をもとに再構築。
   ブレークポイント: PC(1141-) / tablet(841-1140) / SP(-840)
   ============================================================ */

/* ---------- 1. トークン ---------- */
:root {
  /* 色（元サイトの実測値） */
  --c-black: #000;
  --c-ink: #333;          /* 本文・カード内テキスト */
  --c-dark: #242424;      /* メニュー内テキスト */
  --c-gray: #575757;      /* 補助テキスト・罫線 */
  --c-muted: #666;        /* 日付 */
  --c-white: #fff;
  --c-bg: #eee;           /* ページ地色 */
  --c-mist: #dbe1e1;      /* 淡い青灰（メニュー背景・装飾） */
  --c-sage: #c1cccb;      /* 灰緑（CTA帯・枠線） */
  --c-mint: #ebffeb;      /* 淡い緑（ヒーロー装飾） */
  --c-line: #dbe1e1;
  --c-red: #f23a3c;

  /* 書体 — 元: 見出ゴMB1 / 中ゴシックBBB JIS2004（モリサワ）
     ライセンス都合により Noto Sans JP で近似する */
  --f-en: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --f-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-heading: var(--f-jp);

  /* レイアウト */
  --header-h: 80px;
  --container: 1120px;              /* ヒーロー・Concept 系 */
  --container-wide: min(1200px, 100% - 160px); /* Story / Team / News 系 */
  --gutter: 80px;                   /* 全幅セクションの左右余白 */
}

@media (max-width: 840px) {
  :root {
    --header-h: 60px;
    --gutter: 10px;
  }
}

/* ---------- 2. リセット ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-black);
  font-family: var(--f-jp);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-size: inherit;
}

ul, ol { list-style: none; }

a { color: inherit; text-decoration: none; }

img, svg, video { display: block; max-width: 100%; height: auto; border: 0; }

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--c-black); outline-offset: 2px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. レイアウト部品 ---------- */
.container {
  width: var(--container);
  max-width: calc(100% - 20px);
  margin-inline: auto;
}

.container--wide {
  width: var(--container-wide);
  max-width: calc(100% - 20px);
  margin-inline: auto;
}

/* 下層ページ用。SPでは左右30pxの余白になる */
.container--page {
  width: var(--container-wide);
  max-width: calc(100% - 20px);
  margin-inline: auto;
}

.container--full {
  width: 100%;
  padding-inline: var(--gutter);
}

@media (max-width: 840px) {
  .container--page { width: calc(100% - 60px); max-width: none; }
}

@media (max-width: 840px) {
  .container,
  .container--wide { width: calc(100% - 20px); max-width: none; }
  /* 白地セクションはブロック自体が10px内側にあるので、中身は目一杯使う */
  .sec--light .container,
  .sec--light .container--wide { width: 100%; }
}

/* 画面下部までスクロールしたら現れるページトップボタン */
.pagetop {
  position: fixed;
  right: 15px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: var(--c-white);
  border-radius: 50%;
  color: var(--c-ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.pagetop.is-visible { opacity: 1; visibility: visible; }
.pagetop svg { width: 20px; height: 20px; }

/* ---------- 4. セクション見出し ----------
   大きな欧文ラベル + 短い罫線 + 和文ラベル、という共通パターン */
.sec-head { position: relative; }

.sec-head__en {
  font-family: var(--f-en);
  font-size: 84px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--c-white);
}

/* 白背景のセクションでは欧文ラベルを地色(#eee)で抜く */
.sec--light .sec-head__en { color: var(--c-bg); }

.sec-head__jp {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-heading);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--c-black);
}
.sec-head__jp::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--c-black);
}

@media (max-width: 840px) {
  .sec-head__en { font-size: 54px; }
  .sec-head__jp { font-size: 18px; line-height: 1.4; }
}

/* ---------- 5. 本文タイポグラフィ ---------- */
.lead-h3 {
  font-family: var(--f-heading);
  font-size: 36px;
  line-height: 1.4;
  font-weight: 500;
}

.body-text {
  font-family: var(--f-jp);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 400;
}

@media (max-width: 840px) {
  .lead-h3 { font-size: 24px; line-height: 1.4; }
  .body-text { font-size: 15px; line-height: 1.8; }
}

/* ---------- 5-2. 読み込み時のロゴ表示（トップページのみ） ----------
   JSに頼らずCSSアニメーションだけで消える。スクリプトが動かない環境でも
   画面が覆われたままにならない。
   タイミングを変えたいときは下の3つの値を調整する。 */
:root {
  --splash-hold: 1.2s;   /* ロゴを見せておく時間 */
  --splash-fade: 1.2s;   /* 消えるまでにかける時間 */
  --splash-logo: 300px;  /* ロゴの大きさ */
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--c-white);
  animation: splash-out var(--splash-fade) cubic-bezier(.4, .4, 0, 1) var(--splash-hold) forwards;
}

.splash__logo {
  width: var(--splash-logo);
  height: auto;
  animation: splash-in .5s cubic-bezier(.4, .4, 0, 1) both;
}

@keyframes splash-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes splash-out {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 840px) {
  :root { --splash-logo: 200px; }
}

/* 動きを減らす設定の利用者には出さない */
@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
}

/* ---------- 6. ヘッダー ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding-inline: 30px 20px;
  background: var(--c-bg);
}

.header__logo {
  display: block;
  width: 280px;
  max-width: 46vw;
  flex: none;
}
.header__logo img { width: 100%; }

.header__nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.gnav {
  display: flex;
  align-items: stretch;
  gap: 20px;
  height: var(--header-h);
}

.gnav li { display: flex; }

/* 欧文と和文を同じグリッドセルに重ねるので、項目幅は広いほうに揃う（元サイトと同じ挙動） */
.gnav__item {
  position: relative;
  display: grid;
  grid-template-areas: "label";
  place-items: center;
  height: 100%;
}

/* 項目幅は欧文ラベルの幅で決まる。和文ラベルのほうが広い2項目だけ元サイトの実測値を入れる */
.gnav li:nth-child(2) .gnav__item { min-width: 72px; }
.gnav li:nth-child(5) .gnav__item { min-width: 100px; }

.gnav__en {
  grid-area: label;
  white-space: nowrap;
  text-align: center;
  font-family: var(--f-en);
  font-size: 20px;
  line-height: 16px;
  font-weight: 600;
  color: var(--c-black);
  transition: transform .25s;
}

/* 和文ラベルと下線はホバーで現れる。幅に影響させないため絶対配置にする */
.gnav__jp {
  position: absolute;
  top: 50%;
  left: 50%;
  white-space: nowrap;
  font-family: var(--f-heading);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  color: var(--c-black);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}

.gnav__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--c-black);
  opacity: 0;
  transition: opacity .25s;
}

/* 元サイトに現在地表示はないので、変化させるのはホバー時だけ */
.gnav__item:hover .gnav__jp { opacity: 1; transform: translate(-50%, 4px); }
.gnav__item:hover::after { opacity: 1; }
.gnav__item:hover .gnav__en { transform: translateY(-10px); }

.header__login { flex: none; }
.header__login img { width: 96px; }

/* ハンバーガー（SPのみ） */
.header__menu-btn {
  display: none;
  width: 60px;
  height: 60px;
  margin-right: -20px;
  background: var(--c-white);
  place-items: center;
}
.header__menu-btn img { width: 36px; height: 36px; }

@media (max-width: 1140px) {
  .gnav__item { padding-inline: 10px; }
  .gnav__en { font-size: 17px; }
  .header__logo { width: 230px; }
}

@media (max-width: 840px) {
  .header { padding-inline: 14px 20px; }
  .header__logo { width: 188px; }
  .header__nav, .header__login { display: none; }
  .header__menu-btn { display: grid; margin-left: auto; }
}

/* ---------- 7. メニュー（SP） ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s, visibility .3s;
}
.menu.is-open { visibility: visible; opacity: 1; }

.menu__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(0, 0, 0, .16);
}

.menu__panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  min-height: 100%;
  padding: 60px 30px 40px;
  background: var(--c-mist);
  transform: translateY(-12px);
  transition: transform .3s;
}
.menu.is-open .menu__panel { transform: none; }

.menu__logo { display: block; width: 210px; margin-bottom: 60px; }

.menu__grid {
  display: grid;
  grid-template-columns: 185px 1fr;
  row-gap: 24px;
  align-content: start;
}

.menu__item { display: block; }
.menu__en,
.menu__jp { display: block; }

.menu__en {
  font-family: var(--f-en);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 600;
  color: var(--c-dark);
}
.menu__jp {
  font-family: var(--f-heading);
  font-size: 14px;
  line-height: 1.1;
  font-weight: 500;
  color: var(--c-dark);
}
.menu__item--login img { width: 109px; margin-bottom: 5px; }

.menu__close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: var(--c-black);
  color: var(--c-white);
}
.menu__close svg { width: 24px; height: 24px; }

/* ---------- 8. 下層ページの共通見出し ---------- */
.page { position: relative; }

/* 装飾は最背面、本文はその上に重ねる */
.page > * {
  position: relative;
  z-index: 1;
}
.page > .page-deco { z-index: 0; }

/* ヘッダー下からフッター直前まで、右端に立つ淡い青灰の装飾カラム */
.site-body { position: relative; }

.site-side {
  position: absolute;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 30%;
  background: var(--c-mist);
  pointer-events: none;
}
.site-body > main,
.site-body > .cta,
.site-body > .breadcrumb {
  position: relative;
  z-index: 1;
}

.page-head { padding-top: 180px; }

.page-head__en {
  font-family: var(--f-en);
  font-size: 100px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--c-white);
  /* 幅に収まらない長い1語は途中で折り返す（元サイトと同じ挙動） */
  overflow-wrap: anywhere;
}
.page-head__jp {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-heading);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
}
.page-head__jp::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--c-black);
}

@media (max-width: 840px) {
  .page-head { padding-top: 140px; }
  .page-head__en { font-size: 54px; }
  .page-head__jp { font-size: 18px; }
  .site-side { width: 60px; }
}

/* ---------- 9. 共通CTA（CONTACT / DOWNLOAD） ---------- */
.cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 100px;
  padding: 40px var(--gutter) 60px;
  background: var(--c-sage);
}

.cta__item { display: block; }

.cta__head {
  position: relative;
  padding-right: 90px; /* 右端の丸い矢印(70px)＋余白20px */
}

.cta__en {
  font-family: var(--f-en);
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--c-black);
}

.cta__jp {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-heading);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
}
.cta__jp::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--c-black);
}

.cta__arrow {
  position: absolute;
  top: 13px;
  right: 0;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  background: var(--c-black);
  border-radius: 50%;
  color: var(--c-mist);
  transition: transform .3s;
}
.cta__arrow svg { width: 20px; height: 20px; }
.cta__item:hover .cta__arrow { transform: translateX(6px); }

.cta__desc {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.4;
}

@media (max-width: 840px) {
  .cta {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 31px 30px 49px;
  }
  /* トップページだけ帯が左右10px内側に入り、上下の余白も少し違う */
  .p-home .cta { margin-inline: 10px; padding: 40px 30px 39px; }
  /* 2つ目の項目には点線の区切りが入る */
  .cta__item + .cta__item {
    padding-top: 30px;
    border-top: 1px dotted var(--c-gray);
  }
  .cta__head { padding-right: 70px; }
  .cta__en { font-size: 36px; letter-spacing: .05em; }
  .cta__jp { font-size: 16px; }
  .cta__arrow { top: 5px; width: 50px; height: 50px; }
  .cta__arrow svg { width: 20px; height: 20px; }
  .cta__desc { margin-top: 21px; font-size: 14px; line-height: 1.6; }
}

/* ---------- 10. フッター ---------- */
.footer {
  padding: 32px var(--gutter) 30px;
  background: var(--c-bg);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__logo {
  display: block;
  font-family: var(--f-heading);
  font-size: 32px;
  line-height: 1;
  letter-spacing: .05em;
  color: var(--c-ink);
}

.footer__company {
  margin-top: 20px;
  font-family: var(--f-heading);
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-ink);
}

.footer__address {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--c-ink);
}

.footer__nav {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: end;
  column-gap: 60px;
  row-gap: 20px;
  align-content: start;
}
.footer__nav a {
  font-family: var(--f-en);
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  color: var(--c-ink);
  transition: opacity .2s;
}
.footer__nav a:hover { opacity: .6; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--c-line);
}
.footer__privacy { font-size: 14px; line-height: 1.4; }
.footer__copy {
  font-family: var(--f-en);
  font-size: 12px;
  line-height: 1.4;
  color: var(--c-gray);
}

@media (max-width: 840px) {
  .footer { padding: 46px 20px 30px; }
  .footer__inner { flex-direction: column; gap: 0; }

  /* 会社情報のかたまりを画面中央に置く */
  .footer__inner > div:first-child {
    width: fit-content;
    margin-inline: auto;
    text-align: center;
  }
  .footer__company { margin-top: 20px; font-size: 16px; }
  .footer__address { margin-top: 11px; font-size: 13px; text-align: left; }

  .footer__nav {
    grid-template-columns: repeat(2, 165px);
    justify-content: center;
    column-gap: 0;
    row-gap: 20px;
    margin-top: 39px;
    padding-top: 31px;
    border-top: 1px solid var(--c-sage);
  }
  .footer__bottom {
    flex-direction: column;
    gap: 31px;
    margin-top: 20px;
    padding-top: 31px;
  }
  .footer__privacy { font-size: 13px; }
  .footer__copy { font-size: 10px; }
}

/* ---------- 11. お知らせ一覧（トップ・一覧・カテゴリ共通） ---------- */
.news-list li + li { margin-top: 20px; }

.news-item {
  display: block;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-gray);
  transition: opacity .2s;
}
.news-item:hover { opacity: .6; }

.news-item__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-item__date {
  font-family: var(--f-en);
  font-size: 14px;
  line-height: 1;
  color: var(--c-muted);
}

.news-item__cat {
  display: grid;
  place-items: center;
  min-width: 72px;
  height: 18px;
  padding-inline: 8px;
  background: var(--c-white);
  border-radius: 16px;
  font-family: var(--f-heading);
  font-size: 14px;
  line-height: 1;
  color: var(--c-gray);
}

.news-item__title {
  margin-top: 10px;
  font-family: var(--f-heading);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--c-ink);
}

@media (max-width: 840px) {
  /* トップページの一覧だけ行間が広い */
  .news-list--home li + li { margin-top: 30px; }
  .news-item__date { font-size: 12px; }
  .news-item__cat { min-width: 64px; height: 16px; font-size: 12px; }
  .news-item__title { margin-top: 10px; font-size: 15px; }
}

/* ---------- 12. カテゴリタブ ---------- */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.cat-tabs__item {
  display: grid;
  place-items: center;
  min-width: 56px;
  height: 32px;
  padding-inline: 20px;
  background: var(--c-white);
  border-radius: 24px;
  font-family: var(--f-heading);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--c-black);
  transition: opacity .2s;
}
.cat-tabs__item:hover { opacity: .7; }

.cat-tabs__item[aria-current="page"] {
  background: var(--c-black);
  color: var(--c-white);
  letter-spacing: .1em;
}

@media (max-width: 840px) {
  .cat-tabs { gap: 6px; margin-top: 40px; }
  .cat-tabs__item { min-width: 41px; height: 29px; padding-inline: 14px; font-size: 13px; }
}

/* ---------- 13. パンくず ---------- */
.breadcrumb {
  margin-bottom: 18px;
  padding: 23px 40px;
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  line-height: 1;
}
.breadcrumb li { display: flex; align-items: center; gap: 14px; }
.breadcrumb li + li::before { content: ">"; color: var(--c-ink); }
.breadcrumb a { transition: opacity .2s; }
.breadcrumb a:hover { opacity: .6; }

@media (max-width: 840px) {
  .breadcrumb { padding: 17px 20px; }
  .breadcrumb ol { flex-wrap: wrap; gap: 10px; font-size: 12px; }
  .breadcrumb li { gap: 10px; }
}

/* ---------- 14. 背景の円形ライン装飾 ---------- */
.page-deco {
  position: absolute;
  top: 200px;
  left: 0;
  height: 1120px;
  pointer-events: none;
  z-index: 0;
}
.page-deco img { height: 100%; width: auto; max-width: none; }

@media (max-width: 840px) {
  .page-deco { top: 120px; height: 560px; }
}

/* ---------- 15. スクロール表示アニメーション ---------- */
.appear {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.appear.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .appear { opacity: 1; transform: none; transition: none; }
}
