/* ================================
   ベース設定
   ================================ */

:root {
  --main-color: #222222;
  --accent-color: #40A2CD;
  --bg-color: #f7f9fb;
  --section-padding: 96px;
  --font-base: 16px;
  --radius-base: 12px;
}

html {
  font-size: var(--font-base);
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 横の余白・スクロールを防ぐ */
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Segoe UI", sans-serif;
  color: var(--main-color);
  background-color: #ffffff;
  line-height: 1.8;
}

.sp-only {
  display: none;
}

/* ================================
   固定ヘッダー
   ================================ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background-color: transparent;
  transition: background-color 0.25s ease, border-bottom-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  display: block;
  height: 200px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav-list {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-list a {
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.45);
}

.header-nav-list a:hover {
  opacity: 0.8;
}

.header-instagram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.35);
  background-color: rgba(0, 0, 0, 0.15);
}

.header-instagram-btn:hover {
  background-color: rgba(255, 255, 255, 0.16);
}

.header-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.header-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #ffffff;
  margin: 3px 0;
}

/* ================================
   ヒーロー（横余白なし）
   ================================ */

.hero-section {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 横に余白を出さない */
  object-position: center;
  display: block;
}

/* ================================
   セクション共通
   ================================ */

.section {
  padding: var(--section-padding) 20px;
}

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

.section-header {
  margin-bottom: 40px;
}

.section-header.center {
  text-align: center;
}

.section-title {
  font-size: 2rem;
  line-height: 1.5;
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--accent-color);
}

.section-lead {
  margin: 0;
  font-size: 0.95rem;
  color: #555555;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #999999;
  margin: 0 0 8px;
}

/* ================================
   ヒーロー直下テキスト
   ================================ */

.section-hero-text {
  background-color: #f7f9fb;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-text-body {
  max-width: 720px;
}

.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #999999;
  margin: 0 0 12px;
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.5;
  margin: 0 0 18px;
  font-weight: 700;
  color: var(--accent-color);
}

.hero-lead {
  margin: 0;
  font-size: 0.98rem;
  color: #444444;
}

/* ================================
   セクション画像（中央＋余白＋画像全体）
   ================================ */

.section-visual {
  max-width: 960px;
  margin: 0 auto 40px;    /* 下に余白 */
  padding: 0 20px;        /* 左右に適度な余白 */
}

.section-visual-img {
  display: block;
  width: 100%;
  height: auto;           /* 画像比率そのまま */
  border-radius: 12px;
}

/* ================================
   ストーリーセクション共通
   ================================ */

.story-section {
  background-color: #ffffff;
}

.story-columns {
  display: flex;
}

.story-text-block {
  max-width: 720px;
}

.story-text {
  margin: 0 0 16px;
  font-size: 0.96rem;
  color: #444444;
}

.story-text.center {
  text-align: center;
}

/* ================================
   HISTORY
   ================================ */

.history-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-left: 2px solid #e0e6ef;
  padding-left: 20px;
  margin-left: 8px;
}

.history-item {
  display: grid;
  grid-template-columns: 1.2fr 3fr;
  gap: 20px;
  position: relative;
}

.history-item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.history-meta {
  font-size: 0.85rem;
  color: #777777;
}

.history-year {
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--accent-color);
}

.history-tag {
  margin: 0;
  font-size: 0.8rem;
}

.history-body {
  background-color: #f7f9fb;
  border-radius: var(--radius-base);
  padding: 14px 16px;
}

.history-title {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--accent-color);
}

.history-text {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #555555;
}

/* ================================
   HOW
   ================================ */

.how-section {
  background-color: #ffffff;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

.how-step {
  background-color: #f7f9fb;
  border-radius: var(--radius-base);
  padding: 18px 16px;
}

.how-step-title {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--accent-color);
}

.how-step-text {
  margin: 0;
  font-size: 0.9rem;
  color: #555555;
}

.how-note {
  margin: 0;
  font-size: 0.88rem;
  color: #777777;
}

/* ================================
   citibear セクション
   ================================ */

.citibear-section {
  background-color: var(--bg-color);
}

.citibear-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 32px;
  align-items: center;
}

.citibear-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* ================================
   静かなCTA
   ================================ */

.quiet-cta-body {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.quiet-cta-actions {
  margin: 24px 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  font-size: 0.9rem;
  text-decoration: none;
  background-color: #ffffff;
}

.btn-quiet:hover {
  background-color: #f0fbff;
}

.btn-quiet--ghost {
  border-color: #cccccc;
  color: #666666;
  background-color: #ffffff;
}

.btn-quiet--ghost:hover {
  background-color: #f6f6f6;
}

.quiet-cta-note {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: #777777;
}

/* ================================
   CONTACT
   ================================ */

.contact-section {
  background-color: #f7f9fb;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-row label {
  font-size: 0.9rem;
  color: #555555;
}

.form-row input,
.form-row textarea {
  border: 1px solid #dde3ea;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background-color: #ffffff;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(64, 162, 205, 0.2);
}

.form-footer {
  margin-top: 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 999px;
  border: none;
  background-color: var(--accent-color);
  color: #ffffff;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.92;
}

.form-note {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #777777;
}
.form-footer {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form-footer .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 999px;
  border: none;
  background-color: var(--accent-color);
  color: #ffffff;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}

/* セカンダリなボタン（Instagram用） */
.btn-primary--ghost {
  background-color: #ffffff;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.btn-primary--ghost:hover {
  background-color: #f0fbff;
}

.form-note {
  width: 100%;
  margin-top: 8px;
  font-size: 0.82rem;
  color: #777777;
}

/* ================================
   余白デコレーション
   ================================ */

.decor-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.decor-item {
  position: absolute;
  width: 64px;
  height: auto;
  opacity: 0.6;
}

.site-footer {
  padding: 24px 20px;
  background-color: #111111;
  color: #eeeeee;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  font-size: 0.85rem;
}

/* ================================
フッター
================================ */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #e8e8e8;
  padding: 72px 20px 32px;
  margin-top: 0;
}

footer .container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* 左側のロゴ・説明カラム */
.footer-column:first-child {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-column:first-child a {
  display: inline-block;
  margin-bottom: 8px;
}

.footer-column:first-child img {
  max-width: 180px;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.footer-column:first-child img:hover {
  opacity: 0.85;
}

.footer-column:first-child p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.9;
  color: #b8b8b8;
}

/* ソーシャルアイコン - TwitterとFacebookを非表示 */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

/* TwitterとFacebookアイコンを非表示 */
.footer-social a:nth-child(1),
.footer-social a:nth-child(2) {
  display: none;
}

/* Instagramボタンのみ表示・スタイル強化 */
.footer-social a:nth-child(3) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(131, 58, 180, 0.3);
  width: auto;
  height: auto;
}

.footer-social a:nth-child(3):hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(131, 58, 180, 0.5);
}

/* Instagramアイコンのスタイル */
.footer-social a:nth-child(3) i {
  color: #ffffff;
  font-size: 18px;
}

/* 疑似要素で「@citibearjapan」テキストを追加 */
.footer-social a:nth-child(3)::after {
  content: '@citibearjapan';
  color: #ffffff;
  font-family: system-ui, -apple-system, sans-serif;
}

/* 見出し統一スタイル */
.footer-column h3 {
  font-size: 1.05rem;
  margin: 0 0 20px;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.06em;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(64, 162, 205, 0.3);
}

/* リンクリスト */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: #b8b8b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-block;
  position: relative;
  padding-left: 14px;
}

.footer-links a::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 14px;
}

.footer-links a:hover::before {
  opacity: 1;
}

/* コンタクト情報カラム */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: #b8b8b8;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: var(--accent-color);
  margin-top: 4px;
  font-size: 16px;
  min-width: 20px;
  flex-shrink: 0;
}

/* フッター下部 */
.footer-bottom {
  text-align: center;
  padding-top: 24px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: #888888;
  letter-spacing: 0.04em;
}

/* ================================
フッター レスポンシブ
================================ */
@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }

  .footer-column:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  footer {
    padding: 56px 16px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 36px;
    padding-bottom: 36px;
  }

  .footer-column:first-child {
    grid-column: 1;
    text-align: center;
    align-items: center;
  }

  .footer-column:first-child a {
    margin: 0 auto 8px;
  }

  .footer-column h3 {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .footer-links a {
    font-size: 0.88rem;
  }

  .footer-contact p {
    font-size: 0.85rem;
  }

  .footer-social {
    justify-content: center;
  }

  /* モバイルでのInstagramボタン */
  .footer-social a:nth-child(3) {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}





/* ================================
   レスポンシブ
   ================================ */

@media (max-width: 768px) {
  .section {
    padding: 72px 16px;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .header-nav {
    position: fixed;
    inset: 56px 0 0 0;
    background-color: rgba(0, 0, 0, 0.88);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
    transform: translateY(-100%);
    transition: transform 0.2s ease;
  }

  .header-nav.is-open {
    transform: translateY(0);
  }

  .header-nav-list {
    flex-direction: column;
    gap: 12px;
  }

  .header-nav-list a {
    color: #ffffff;
    text-shadow: none;
  }

  .header-instagram-btn {
    margin-top: 8px;
    border-color: #ffffff;
    color: #ffffff;
  }

  .header-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-hero-text {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .history-item {
    grid-template-columns: 1fr;
  }

  .citibear-grid,
  .how-steps {
    grid-template-columns: 1fr;
  }

  .citibear-grid {
    gap: 24px;
  }
}
