/* ========================================
   SUTEKI BANK HR Site — Global Stylesheet
   ======================================== */

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

/* ----------------------------------------
   CSS Variables
---------------------------------------- */
:root {
  --yellow:      #F7C948;
  --yellow-light:#FFF8E6;
  --dark:        #1F2937;
  --gray:        #6B7280;
  --white:       #FFFFFF;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover:0 12px 40px rgba(0,0,0,0.12);

  --transition:  0.3s ease;

  --font-en: 'Inter', sans-serif;
  --font-jp: 'Noto Serif JP', 'Inter', serif;

  --max-width: 1200px;
  --section-padding: 100px 24px;
}

/* ----------------------------------------
   Reset & Base
---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-jp);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ----------------------------------------
   Typography
---------------------------------------- */
.en { font-family: var(--font-en); }

.section-label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

.section-title.light { color: var(--white); }

.section-sub {
  font-size: 16px;
  color: var(--gray);
  margin-top: 16px;
  line-height: 1.8;
}

/* ----------------------------------------
   Layout
---------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--section-padding); }

/* ----------------------------------------
   Header / Nav
---------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.site-logo {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
}

.site-header.scrolled .site-logo {
  color: var(--dark);
}

.site-logo span {
  color: var(--yellow);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: color var(--transition);
}

.site-nav a:hover { color: var(--yellow); }

.site-header.scrolled .site-nav a {
  color: var(--dark);
}

.site-header.scrolled .site-nav a:hover { color: var(--yellow); }

.nav-cta {
  background: var(--yellow);
  color: var(--dark) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: #e6b730 !important;
  transform: translateY(-1px);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  background: transparent;
  transition: border-color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.hamburger:hover {
  border-color: var(--yellow);
  background: rgba(247,201,72,0.08);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  border-radius: 0;
  transition: var(--transition);
}

.hamburger span:nth-child(2) {
  width: 12px;
  align-self: flex-start;
  margin-left: 13px;
}

.site-header.scrolled .hamburger {
  border-color: rgba(0,0,0,0.2);
}

.site-header.scrolled .hamburger:hover {
  border-color: var(--yellow);
}

.site-header.scrolled .hamburger span {
  background: var(--dark);
}

/* ----------------------------------------
   Buttons
---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn-primary {
  background: var(--yellow);
  color: var(--dark);
}

.btn-primary:hover { background: #e6b730; }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}

.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}

.btn-outline-white:hover { background: var(--white); color: var(--dark); }

/* ----------------------------------------
   Glass Card
---------------------------------------- */
.glass-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  background: var(--yellow-light);
}

/* ----------------------------------------
   Scroll Fade-in Animation
---------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ----------------------------------------
   Footer
---------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 40px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-logo span { color: var(--yellow); }

.footer-address {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--yellow); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.footer-badge {
  display: inline-block;
  background: rgba(247,201,72,0.15);
  border: 1px solid rgba(247,201,72,0.3);
  color: var(--yellow);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 8px;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */
@media (max-width: 768px) {
  :root { --section-padding: 64px 20px; }

  .site-header { padding: 16px 20px; }

  /* ドロワーオーバーレイ */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .nav-overlay.open {
    display: block;
    opacity: 1;
  }

  /* 右サイドドロワー */
  .site-nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0; right: 0;
    width: 72vw;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 70px 28px 40px;
    gap: 0;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  }
  .site-nav.open {
    transform: translateX(0);
  }

  /* 閉じるボタン */
  .nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-bottom: 32px;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-close svg {
    width: 24px; height: 24px;
    stroke: #374151;
    stroke-width: 2;
    fill: none;
  }

  /* ドロワー内リンク */
  .site-nav a {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #374151;
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    position: relative;
    transition: color 0.2s ease, padding-left 0.2s ease;
  }
  .site-nav a:first-of-type { border-top: 1px solid rgba(0,0,0,0.07); }
  .site-nav a:hover { color: var(--yellow); padding-left: 6px; }
  .site-nav a::after { display: none; }

  .site-nav .nav-cta {
    margin-top: 28px;
    background: var(--yellow);
    color: #1F2937 !important;
    border-radius: 6px;
    padding: 14px 0;
    text-align: center;
    font-weight: 700;
    border: none;
    box-shadow: 0 2px 8px rgba(247,201,72,0.3);
    transition: background 0.2s ease !important;
  }
  .site-nav .nav-cta:hover {
    background: #e6b730 !important;
    padding-left: 0 !important;
    color: #1F2937 !important;
  }

  .hamburger { display: flex; z-index: 1001; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ========================================
   Blog Post — 本文スタイル
   ======================================== */

/* H2 リボン（黄色塗り・矢印型） */
.post-content h2 {
  position: relative;
  display: block;
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 700;
  color: #1F2937;
  background: var(--yellow);
  padding: 15px 56px 15px 24px;
  margin: 56px 0 24px;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.post-content h2::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: #c49a00;
}
.post-content h2::after {
  content: '';
  position: absolute;
  right: -18px; top: 0; bottom: 0;
  width: 0;
  border-style: solid;
  border-width: 0 0 0 18px;
  border-color: transparent transparent transparent var(--yellow);
}

/* H3 サブリボン（左ライン・下点線） */
.post-content h3 {
  position: relative;
  font-size: clamp(15px, 1.9vw, 18px);
  font-weight: 700;
  color: #1F2937;
  margin: 36px 0 12px;
  padding: 4px 0 10px 16px;
  background: transparent;
  border-left: 4px solid var(--yellow);
  border-bottom: 1px dashed rgba(247, 201, 72, 0.4);
}

/* 本文テキスト */
.post-content p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 20px;
}
.post-content ul,
.post-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.post-content li {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 8px;
}
.post-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 24px 0;
  display: block;
}
.post-content blockquote {
  border-left: 4px solid var(--yellow);
  padding: 16px 24px;
  background: var(--yellow-light);
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  color: var(--dark);
  font-style: italic;
}
.post-content strong { color: var(--dark); font-weight: 700; }
.post-content a:not(.cta-btn) {
  color: #b8860b;
  text-decoration: underline;
}

/* CTAブロック */
.post-content .cta-block {
  text-align: center;
  padding: 40px 24px;
  background: transparent;
  border: none;
  margin: 44px 0;
}

/* CTAボタン */
.post-content .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--yellow);
  color: #1F2937 !important;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 48px;
  border-radius: 8px;
  text-decoration: none !important;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(247, 201, 72, 0.4);
}
.post-content .cta-btn:hover {
  background: #e6b730;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(247, 201, 72, 0.5);
}
