/* ============================================
   CPI 無料セミナー風デザイン
   スタイルシートを style2.css に戻すと元のデザインに戻ります
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: linear-gradient(180deg, #e8e6e2 0%, #d4d0ca 50%, #e0dcd6 100%);
  background-attachment: fixed;
  color: #333333;
  font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック", "Hiragino Sans", "メイリオ", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* === ヘッダー最上部・CPI風 === */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f2f2f2 100%);
  border-bottom: 2px solid #b0b0b0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
  z-index: 100;
  height: auto;
  min-height: 50px;
}

#site-header-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 10px 24px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  flex-wrap: wrap;
  gap: 8px;
}

#site-header .logo {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0066b3;
  text-decoration: none;
  letter-spacing: 0.02em;
}

#site-header .logo span {
  font-size: 12px;
  font-weight: 400;
  color: #666;
  margin-left: 8px;
}

/* ヘッダー2段構成：1段目=ロゴ、2段目=全幅ナビ */
#site-header {
  display: block;
}

#site-header-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 12px 24px;
}

/* グローバルナビ：濃い青背景・白文字・全幅 */
#site-header nav {
  display: flex;
  gap: 0;
  background: linear-gradient(180deg, #0066a0 0%, #004a80 50%, #003d6b 100%);
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 2px solid #002a50;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  padding-left: max(24px, calc(50vw - 530px));
  padding-right: max(24px, calc(50vw - 530px));
  min-height: 44px;
  align-items: center;
  flex-wrap: wrap;
}

#site-header nav a {
  display: inline-block;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background-color 0.2s;
  position: relative;
}

#site-header nav a:hover {
  background-color: rgba(255,255,255,0.1);
}

#site-header nav a::after {
  display: none;
}


/* === Hero：CPI 無料セミナーご案内風（白背景・左テキスト・右画像） === */
#hero {
  margin-top: 104px;
  background: linear-gradient(180deg, #fafaf8 0%, #f0eeea 50%, #e8e6e2 100%);
  color: #333;
  padding: 40px 32px 50px;
  position: relative;
  overflow: hidden;
  border: 1px solid #c0beb8;
  border-left: none;
  border-right: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

#hero::before {
  content: none;
}

#hero-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

#hero-inner > *:first-child {
  flex: 1 1 400px;
}

#hero h1 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

/* 「参加費 無料」バッジ風（オレンジ円形） */
#hero .en-name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #8aaed6;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

#hero .subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0;
  margin-bottom: 8px;
}

#hero .subtitle::first-letter {
  color: #c00;
  font-size: 1.1em;
}

#hero .hero-line {
  display: none;
}

#hero .intro-text {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  max-width: 100%;
}

#hero .hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 2px 8px rgba(0,0,0,0.12);
}

@media (max-width: 900px) {
  #hero-inner::after { display: none; }
}

/* === セクション共通：CPI風 === */
.section {
  padding: 48px 32px;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f6 100%);
  border: 1px solid #c8c6c2;
  border-left: none;
  border-right: none;
  margin-bottom: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.section-inner {
  max-width: 860px;
  margin: 0 auto;
}

.section-bg-text {
  font-size: 70px;
  color: rgba(0,0,0,0.03);
}

/* セクションタイトル：赤文字・アイコン風 */
.section-title {
  text-align: left;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #004a80;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title .ja {
  font-size: 18px;
  font-weight: 700;
  color: #c00;
  letter-spacing: 0.02em;
}

.section-title .en {
  font-size: 11px;
  color: #666;
  margin-top: 0;
}

.section-title .title-line {
  display: none;
}

.section-gray {
  background: linear-gradient(180deg, #f2f0ec 0%, #e8e6e2 50%, #eeebe6 100%);
  border-color: #b8b4ae;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 1px 3px rgba(0,0,0,0.06);
}

/* === 概要テキスト === */
.overview-text {
  text-align: left;
  font-size: 14px;
  color: #444;
  line-height: 2;
}

.msg-image figure {
  display: block;
}

.msg-image img {
  width: 100%;
  max-width: 100%;
}

/* === メッセージバナー：セミナー概要ブロック風（青〜グレーグラデヘッダー） === */
.message-banner {
  background: #fff;
  color: #333;
  padding: 0;
  margin: 0;
  border: none;
}

.message-banner-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px;
}

.message-banner .msg-text .msg-lead {
  font-size: 16px;
  color: #333;
}

.message-banner .msg-text .msg-lead span {
  color: #c00;
}

.message-banner .msg-text .msg-body {
  color: #555;
  font-size: 14px;
}

/* === 経歴ブロック：開催日程・時間のテーブル風 === */
#career .section-title .ja::before {
  content: "■ ";
  color: #c00;
}

.career-block {
  margin-bottom: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(248,248,246,0.8) 100%);
  border: 1px solid #c0beb8;
  border-radius: 3px;
  border-bottom: 1px solid #a0a0a0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.career-block:last-child {
  margin-bottom: 0;
}

.section-gray .career-block {
  box-shadow: none;
}

.career-period {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  background: transparent;
  padding: 0;
  margin-bottom: 0;
  grid-column: 1;
}

.career-role {
  grid-column: 2;
  font-size: 15px;
  font-weight: 700;
  color: #004a80;
  margin-bottom: 8px;
}

.career-list {
  grid-column: 2;
  margin-top: 0;
}

.career-list li {
  font-size: 14px;
  color: #444;
  padding: 4px 0 4px 18px;
  border-bottom: none;
}

.career-list li::before {
  background-color: #e85c00;
}

/* === 業務分野：カード風維持・オレンジアクセント === */
.field-item {
  border: 1px solid #c0beb8;
  border-left: 4px solid #e85c00;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 1px 2px rgba(0,0,0,0.06);
}

/* === プロジェクトリスト === */
.project-list li::before {
  color: #004a80;
}

/* === 使用言語バッジ === */
.lang-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 0.6em;
}

.lang-badge {
  color: #004a80;
  font-size: 1.5em;
}

.lang-sep {
  color: #666;
  font-weight: 300;
  user-select: none;
}

.lang-dot {
  background-color: #e85c00;
}

/* === About Section：CPI風・赤アクセント === */
.about-section {
  background: linear-gradient(180deg, #fafaf8 0%, #f0eeea 50%, #eae8e4 100%);
  padding: 48px 32px;
  border: 1px solid #c0beb8;
  border-left: none;
  border-right: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
}

.about-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.about-content {
  flex: 1;
  min-width: 280px;
}

.about-content .about-heading {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-content .about-heading span {
  color: #c00;
  font-size: 28px;
}

.about-content .about-body {
  font-size: 14px;
  color: #555;
  line-height: 2;
}

.about-image {
  flex: 0 0 380px;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  overflow: visible;
  border: 2px solid #b0aeaa;
  background-color: #3e2704;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 2px 8px rgba(0,0,0,0.12);
}

.about-image figure {
  display: block;
}

.about-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.about-image figcaption {
  margin: 8px 0;
  font-size: 0.9em;
  color: #fff;
  line-height: 1.5;
  text-align: center;
}

.msg-image figcaption,
#hero figcaption {
  margin-top: 8px;
  font-size: 0.9em;
  color: #555;
  line-height: 1.5;
}

.about-bg-text {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 90px;
  font-weight: 700;
  color: rgba(0,0,0,0.02);
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
}

/* === 経歴書ダウンロード：オレンジボタン === */
#cv .section-inner {
  max-width: 860px;
  margin: 0 auto;
}

.dl-card {
  background: linear-gradient(180deg, #f4f2ee 0%, #e8e6e2 50%, #eeebe6 100%);
  border: 2px solid #b8b4ae;
  border-radius: 4px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 2px 6px rgba(0,0,0,0.1);
}

.dl-card p {
  font-size: 13.5px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.9;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 40px;
  background: linear-gradient(180deg, #f07020 0%, #e85c00 50%, #c85000 100%);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  margin: 0 4px 8px 4px;
  border: 1px solid #a04000;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 1px 3px rgba(0,0,0,0.2);
  transition: background-color 0.2s;
}

.dl-btn:hover {
  background-color: #d45200;
}

.dl-btn .arrow {
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: rgba(255,255,255,0.5);
  position: relative;
}

.dl-btn .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
}

#cv .dl-card .dl-btn + .dl-btn {
  margin-left: 8px;
}

/* === フッター：濃い青 === */
#site-footer {
  background: linear-gradient(180deg, #005090 0%, #004a80 30%, #003d6b 100%);
  color: #b0d0e8;
  padding: 0;
  border-top: 2px solid #002a50;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}

#footer-top {
  border-bottom: 2px solid rgba(0,0,0,0.2);
}

#footer-top-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 36px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

#footer-about {
  max-width: 500px;
}

#footer-about .footer-heading {
  font-size: 11px;
  font-weight: 500;
  color: #7ab8e8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

#footer-about p {
  font-size: 12.5px;
  color: #b0d0e8;
  line-height: 1.85;
}

#footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

#footer-nav a {
  font-size: 12px;
  color: #b0d0e8;
  text-decoration: none;
  transition: color 0.2s;
}

#footer-nav a:hover {
  color: #fff;
}

#footer-bottom {
  max-width: 1060px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

#footer-bottom .copyright {
  font-size: 10px;
  color: #7a9cc0;
  letter-spacing: 0.04em;
}

#footer-bottom .footer-name {
  font-size: 13px;
  color: #7a9cc0;
  letter-spacing: 0.06em;
}

/* レスポンシブ：ナビを折り返し */
@media (max-width: 768px) {
  #site-header nav {
    padding-left: 16px;
    padding-right: 16px;
  }
  #hero {
    margin-top: 120px;
  }
  #hero-inner {
    flex-direction: column;
  }
  .career-block {
    grid-template-columns: 1fr;
  }
  .career-period {
    grid-column: 1;
  }
  .career-role,
  .career-list {
    grid-column: 1;
  }
  .about-inner {
    flex-direction: column;
  }
  .about-image {
    flex: 1 1 100%;
    max-width: 100%;
    height: 220px;
  }
  .dl-card .dl-btn {
    display: inline-flex;
    margin-bottom: 8px;
  }
  #footer-top-inner {
    flex-direction: column;
    gap: 28px;
    padding: 28px 20px;
  }
  #footer-about {
    max-width: none;
  }
  #footer-nav {
    flex-wrap: wrap;
  }
  #footer-bottom {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}
