@charset "utf-8";

/* ==========================================================================
   igoコーポレーション — ベーススタイル
   ========================================================================== */

:root {
  /* ブランドカラー（Elementor グローバルカラーより） */
  --color-primary: #e66528;
  --color-secondary: #f4eadd;
  --color-text: #333f44;
  --color-accent: #e66528;

  --color-dark: #222831;
  --color-dark-2: #393e46;
  --color-light: #eeeeee;
  --color-teal: #00adb5;
  --color-teal-dark: #00686d;
  --color-orange: #f05500;

  /* グラデーションは廃止し、単色で統一 */
  --color-accent-yellow: #ffd200;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
  --font-en: "Poppins", "Noto Sans JP", sans-serif;

  --header-height: 100px;
  --container: 1140px;

  /* 余白スケール（セクションの縦リズム。画面幅に応じて 64〜104px で可変） */
  --space-section: clamp(64px, 9vw, 104px);

  /* レイヤードシャドウ（近距離＋遠距離の2枚重ねで自然な浮き上がり） */
  --shadow-card: 0 1px 2px rgba(34, 40, 49, 0.05), 0 12px 32px rgba(34, 40, 49, 0.1);
  --shadow-card-hover: 0 2px 4px rgba(34, 40, 49, 0.06), 0 20px 44px rgba(34, 40, 49, 0.14);
}

/* テキスト選択・見出しの折り返し */
::selection {
  background: var(--color-primary);
  color: #fff;
}

h1, h2, h3 {
  text-wrap: balance;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 固定ヘッダー分のオフセット */
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  /* 背景を持たないセクション（CTA など）はこの色が透ける */
  background: var(--color-secondary);
  overflow-x: hidden;
}

/* SVGアイコンのシンボル定義（body直下）は描画しない */
.svg-defs {
  display: none;
}

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

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

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

/* スクリーンリーダー専用 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* スキップリンク */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--color-dark);
  color: #fff;
}

.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s ease, min-height 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header__logo img {
  width: 170px;
}

.global-nav__list {
  display: flex;
  align-items: center;
  gap: 31px;
  list-style: none;
  margin: 0;
}

.global-nav__list a {
  display: block;
  padding: 8px 0;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.2px;
  color: #0e0e0e;
  transition: color 0.2s ease, transform 0.2s ease;
}

.global-nav__list a:hover,
.global-nav__list a:focus-visible {
  color: var(--color-primary);
  transform: scale(1.08);
}

/* 現在表示中のページ */
.global-nav__list a[aria-current="page"] {
  color: var(--color-primary);
}

/* ハンバーガー */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover {
  color: #e23125;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  transition: background 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle__bars::before {
  top: -8px;
}

.nav-toggle__bars::after {
  top: 8px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header__logo img {
    width: 140px;
  }

  .global-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f9e0e2;
    border: 1px solid #e23125;
    display: none;
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .global-nav__list li:not(:last-child) {
    border-bottom: 1px solid #e23125;
  }

  .global-nav__list a {
    padding: 16px 20px;
    font-family: "Inter", var(--font-jp);
    font-size: 16px;
    font-style: normal;
    color: #e23125;
  }

  .global-nav__list a:hover {
    transform: none;
  }
}

@media (max-width: 767px) {
  /* ロゴの下にメニューボタンを配置（オリジナルと同じ縦積み） */
  .site-header {
    min-height: 70px;
  }

  .site-header__inner {
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding-block: 15px;
  }

  .site-header__logo img {
    width: 110px;
  }
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 815px; /* コンテンツ領域 640px + 下部余白 175px */
  padding: 0 0 175px;
  border-right: 5px solid var(--color-secondary);
  border-radius: 0 0 200px 0;
  background-color: #fff;
  background-image: url("../img/hero.jpg");
  background-position: 0 0;
  background-size: auto;
  background-repeat: repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #616161;
  opacity: 0.5;
}

.hero__inner {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding: 53px 65px 0 100px;
}

.hero__eyebrow {
  margin-bottom: 60px;
  text-align: end;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: #ebebeb;
  text-shadow: 0 0 23px rgba(0, 0, 0, 0.67);
}

.hero__title {
  margin-bottom: 41px;
  font-size: 50px;
  font-weight: 900;
  line-height: 60px;
  color: var(--color-light);
  text-shadow: 0 0 23px rgba(0, 0, 0, 0.3);
}

/* 見出し下の短いアクセントバー */
.hero__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 18px;
  border-radius: 2px;
  background: var(--color-accent-yellow);
}

.hero__lede {
  margin-top: 95px;
  font-size: 28px;
  font-weight: 700;
  line-height: 60px;
  color: var(--color-light);
}

.hero__lede--sub {
  margin-top: 0;
  margin-bottom: 21px;
  padding: 20px 0 0;
}

.hero__lede .gradient-1,
.hero__lede .gradient-2 {
  color: var(--color-accent-yellow);
}

.hero__lede .gradient-1 {
  font-size: 42px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero {
    min-height: 800px; /* コンテンツ領域 640px + 上下余白 80px */
    padding: 80px 0;
    border-right-width: 0;
    background-position: center center;
  }

  .hero__inner {
    padding: 0 10px;
    text-align: center;
  }

  .hero__eyebrow {
    margin-bottom: 24px;
    text-align: center;
    font-size: 16px;
  }

  .hero__title {
    margin-bottom: 15px;
    font-size: 30px;
    line-height: 32px;
    text-align: center;
  }

  .hero__title::after {
    margin-inline: auto;
  }

  .hero__lede {
    margin: 0 0 15px;
    font-size: 30px;
    line-height: 32px;
    text-align: center;
  }

  .hero__lede--sub {
    padding: 0;
  }

  .hero__lede .gradient-1 {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 716px; /* コンテンツ領域 596px + 上下余白 60px */
    padding: 60px 0;
    border-radius: 0 0 90px 0;
  }

  .hero__eyebrow {
    font-size: 14px;
  }

  .hero__title {
    font-size: 23px;
  }

  .hero__lede {
    padding-top: 20px;
    font-size: 25px;
  }

  .hero__lede--sub {
    padding-top: 0;
    font-size: 22px;
  }

  .hero__lede .gradient-1 {
    font-size: 25px;
  }
}

/* ==========================================================================
   セクション見出しバー（単色帯）
   ========================================================================== */

.band {
  padding: 40px 20px;
  background: var(--color-primary);
}

.band__title {
  max-width: var(--container);
  margin-inline: auto;
  text-align: center;
  font-size: 35px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 50px;
  color: var(--color-light);
}

.band__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
}

.band__title--upright {
  font-style: normal;
}

@media (max-width: 767px) {
  .band__title {
    font-size: 24px;
    line-height: 36px;
  }
}

/* ==========================================================================
   Feature（動画で学ぶDX研修の特徴）
   ========================================================================== */

.feature {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
  padding: 80px 0;
  background: #f7f7f7;
}

.feature--reverse {
  flex-direction: row-reverse;
}

.feature__media {
  flex: 0 0 47.11%;
  min-width: 0;
}

.feature__media img {
  width: 100%;
  height: auto;
}

.feature__body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
}

.feature__label {
  margin-bottom: 4px;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 2px;
  color: #222222;
}

.feature__title {
  margin-bottom: 25px;
  padding: 0 16px;
  font-size: 29px;
  font-weight: 700;
  color: var(--color-dark-2);
}

.feature__title .num {
  display: inline-block;
  padding: 10px 20px;
  background: var(--color-dark);
  color: var(--color-light);
}

.feature__text {
  padding-bottom: 80px;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-dark-2);
}

.feature__text p + p {
  margin-top: 1em;
}

@media (max-width: 1024px) {
  .feature,
  .feature--reverse {
    flex-direction: column-reverse;
    justify-content: center;
    padding: 50px 0;
  }

  .feature__media,
  .feature__body {
    width: 100%;
    flex: 0 0 auto;
    padding-inline: 0;
  }

  .feature__body {
    padding: 0 24px 0 21px;
  }

  .feature__title {
    padding: 0 16px;
    font-size: 19px;
  }

  .feature__title .num {
    padding: 7px 14px;
    font-size: 20px;
  }

  .feature__text {
    padding: 0 24px 0 21px;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .feature,
  .feature--reverse {
    padding: 40px 0;
  }
}

/* ==========================================================================
   CTA（まずはお気軽にお問い合わせください！）
   ========================================================================== */

.cta {
  position: relative;
  isolation: isolate;
  padding: var(--space-section) 20px;
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #000;
  opacity: 0.7;
}

.cta__title {
  margin-bottom: 61px;
  font-size: 40px;
  font-weight: 700;
  line-height: 46px;
  color: var(--color-light);
}

.cta__text {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-light);
}

/* Elementskit 風ボタン */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 24px 80px;
  border-radius: 45px;
  background: #fff;
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 500;
  line-height: 20px;
  color: var(--color-teal);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-pill .arrow {
  margin-left: 60px;
  font-size: 14px;
  font-style: normal;
  transform: translateY(-1px);
}

.btn-pill:hover,
.btn-pill:focus-visible {
  background: var(--color-teal-dark);
  color: #fff;
}

.btn-pill--primary {
  color: var(--color-primary);
}

.btn-pill--primary:hover,
.btn-pill--primary:focus-visible {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 1024px) {
  .cta {
    padding: 60px 20px;
  }

  .cta__title {
    margin-bottom: 40px;
    font-size: 30px;
  }

  .btn-pill {
    padding: 14px 30px 14px 60px;
    font-size: 17px;
  }

  .btn-pill .arrow {
    margin-left: 30px;
  }
}

@media (max-width: 767px) {
  .cta__title {
    font-size: 17px;
    line-height: 28px;
  }

  .cta__text {
    font-size: 12px;
  }
}

/* ==========================================================================
   講師紹介（武田弘幸）
   ========================================================================== */

.instructor {
  padding: 80px 20px;
  background: #fff;
}

.instructor__inner {
  max-width: var(--container);
  margin-inline: auto;
}

.instructor__profile {
  display: flex;
  align-items: center;
  gap: 30px;
}

.instructor__photo {
  flex: 0 0 27.63%;
  min-width: 0;
  max-width: 340px;
}

.instructor__body {
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 400;
  color: #1d1d1d;
}

.instructor__body p + p {
  margin-top: 1.2em;
}

.instructor__body strong {
  font-weight: 700;
}

.instructor__actions {
  margin-top: 40px;
  text-align: center;
}

.btn-solid {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 4px;
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.btn-solid:hover,
.btn-solid:focus-visible {
  opacity: 0.88;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .instructor {
    padding: 10% 5%;
  }

  .instructor__profile {
    flex-direction: column;
  }

  .instructor__photo {
    width: 100%;
    flex: 0 0 auto;
    max-width: 340px;
  }
}

@media (max-width: 767px) {
  .instructor {
    padding: 20% 5%;
  }

  .instructor__photo {
    width: 55%;
    max-width: none;
    margin-inline: auto;
  }
}

/* ==========================================================================
   よくある質問（アコーディオン）
   ========================================================================== */

.faq {
  padding: 112px 20px 140px;
  background: var(--color-light);
}

.faq__inner {
  max-width: var(--container);
  margin-inline: auto;
}

.faq__title {
  margin-bottom: 61px;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 46px;
  color: var(--color-dark-2);
}

.faq__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: var(--color-orange);
}

.accordion__item {
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.06);
}

.accordion__item:not(:last-child) {
  margin-bottom: 2px;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 30px 24px;
  border: 0;
  background: var(--color-light);
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  text-align: left;
  color: #000;
  cursor: pointer;
  transition: color 0.25s ease;
}

.accordion__trigger[aria-expanded="true"] {
  color: var(--color-accent);
}

.accordion__icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-right: 30px;
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion__trigger[aria-expanded="true"] .accordion__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

/* 高さは JS が px で設定する（開いたあとは auto に戻す） */
.accordion__panel {
  height: 0;
  overflow: hidden;
  background: var(--color-light);
  transition: height 0.3s ease;
}

/* JS が無効なときは常に開いた状態で表示する */
html:not(.js) .accordion__panel {
  height: auto;
}

.accordion__body {
  padding: 0 50px 30px 30px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: var(--color-dark-2);
}

.accordion__body a {
  color: var(--color-primary);
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .faq {
    padding: 73px 20px 80px;
  }

  .faq__title {
    margin-bottom: 40px;
    font-size: 27px;
  }

  .accordion__trigger {
    padding: 20px 15px;
    font-size: 16px;
  }

  .accordion__icon {
    margin-right: 12px;
  }

  .accordion__body {
    padding: 0 20px 24px 15px;
  }
}

/* ==========================================================================
   フッター
   ========================================================================== */

.site-footer {
  background: #fff;
  border-top: 1px solid #eceff1;
}

.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 76px) 20px;
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.site-footer__brand img {
  width: 180px;
}

.site-footer__tagline {
  margin-top: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: #8a949a;
}

.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid #eceff1;
}

.site-footer__nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--color-primary);
}

.site-footer__company {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-dark);
}

.site-footer__meta {
  margin: 0;
  display: grid;
  gap: 8px;
}

.site-footer__meta > div {
  display: flex;
  gap: 16px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.site-footer__meta dt {
  flex: 0 0 6.5em;
  font-weight: 600;
  color: #8a949a;
}

.site-footer__meta dd {
  margin: 0;
  color: #555;
}

@media (max-width: 767px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .site-footer__brand img {
    margin-inline: auto;
  }

  .site-footer__nav ul {
    justify-content: center;
  }

  .site-footer__meta > div {
    flex-direction: column;
    gap: 0;
  }

  .site-footer__meta dt {
    flex: none;
  }
}

.site-footer__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 12px 20px;
  background: var(--color-dark);
}

.site-footer__copy {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
  color: var(--color-light);
}

@media (max-width: 767px) {
  .site-footer__copy {
    font-size: 14px;
  }
}

/* ==========================================================================
   スクロール表示アニメーション
   ========================================================================== */

/* JS が有効なときのみ隠す（JS 無効でもコンテンツが読める） */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   初回表示のエントランス（ヒーロー / ページタイトル帯）
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js .hero__eyebrow,
  .js .hero__title,
  .js .cta-buttons,
  .js .hero__lede,
  .js .page-hero__title,
  .js .page-hero__divider,
  .js .page-hero__lead {
    animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .js .hero__title,
  .js .page-hero__divider {
    animation-delay: 0.1s;
  }

  .js .cta-buttons,
  .js .page-hero__lead {
    animation-delay: 0.2s;
  }

  .js .hero__lede {
    animation-delay: 0.3s;
  }

  .js .hero__lede--sub {
    animation-delay: 0.4s;
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   ページトップへ戻る
   ========================================================================== */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: #c9501a;
}
