/*
Theme Name: HikaruStep
Theme URI: https://hikarustep.jp
Author: HikaruStep Co., Ltd.
Author URI: https://hikarustep.jp
Description: 株式会社ヒカルステップ オリジナルWordPressテーマ
Version: 1.0.0
License: Private
Text Domain: hikarustep
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #F5A800;
  --yellow-light: #FFD966;
  --yellow-dark: #D48900;
  --sky: #5BB8E8;
  --sky-light: #E8F6FD;
  --green: #5BAE6E;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray-100: #F0F2F5;
  --gray-200: #E2E6EA;
  --gray-400: #9AA3AD;
  --gray-600: #5A6475;
  --gray-800: #2D3340;
  --black: #1A1E28;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Poppins', sans-serif;
  --max-w: 1100px;
  --header-h: 68px;
  --section-gap: 90px;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-jp); background: var(--white); color: var(--gray-800); line-height: 1.8; font-size: 15px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; font-size: 14px; font-family: var(--font-jp); font-weight: 500; border-radius: 4px; cursor: pointer; transition: all 0.25s; border: 2px solid transparent; letter-spacing: 0.04em; }
.btn--yellow { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn--yellow:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,168,0,0.35); }
.btn--outline-white { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn--outline-white:hover { background: var(--black); color: var(--white); }
.btn--outline-yellow { background: transparent; color: var(--yellow-dark); border-color: var(--yellow); }
.btn--outline-yellow:hover { background: var(--yellow); color: var(--black); }
.btn--tel { background: var(--white); color: var(--gray-800); border-color: var(--gray-200); font-family: var(--font-en); font-size: 18px; font-weight: 600; padding: 12px 28px; }
.btn--tel:hover { border-color: var(--yellow); color: var(--yellow-dark); }

/* ===== SECTION ===== */
.section { padding: var(--section-gap) 0; }
.section--gray { background: var(--gray-100); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-en { font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow-dark); margin-bottom: 8px; }
.section-title { font-size: clamp(22px, 3.5vw, 34px); font-weight: 700; color: var(--black); line-height: 1.3; }
.section-title::after { content: ''; display: block; width: 40px; height: 3px; background: var(--yellow); margin: 16px auto 0; border-radius: 2px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--yellow-dark); margin-top: 16px; }
.link-arrow::after { content: '→'; transition: transform 0.2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ===== FLOAT TEL ===== */
.float-tel { display: none; position: fixed; bottom: 20px; right: 20px; z-index: 200; background: var(--yellow); color: var(--black); border-radius: 50px; padding: 12px 20px; flex-direction: column; align-items: center; gap: 2px; box-shadow: 0 4px 20px rgba(245,168,0,0.45); font-size: 11px; font-weight: 700; }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-200); z-index: 100; transition: box-shadow 0.3s; }
.header.scrolled { box-shadow: var(--shadow); }
.header__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header__logo { display: flex; align-items: center; gap: 10px; }
.logo-img-en { height: 44px; width: auto; display: block; object-fit: contain; }
.logo-img-jp { height: 36px; width: auto; display: block; object-fit: contain; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list a { padding: 6px 12px; font-size: 13px; font-weight: 500; color: var(--gray-600); border-radius: 4px; transition: all 0.2s; white-space: nowrap; }
.nav__list a:hover, .nav__list a.active { color: var(--black); background: var(--gray-100); }
.nav__contact { background: var(--yellow) !important; color: var(--black) !important; margin-left: 8px; }
.nav__contact:hover { background: var(--yellow-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-800); transition: transform 0.3s, opacity 0.3s; border-radius: 2px; }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: var(--header-h); position: relative; overflow: hidden; background: none; }
.hero__photo { position: absolute; inset: 0; z-index: 0; }
.hero__photo-img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero__photo-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.85) 38%, rgba(255,255,255,0.55) 58%, rgba(255,255,255,0.10) 100%); }
.hero__content { position: relative; z-index: 1; max-width: 560px; }
.hero__label { color: var(--sky); font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: 0.15em; margin-bottom: 20px; }
.hero__title { font-size: clamp(28px, 5vw, 52px); font-weight: 700; line-height: 1.25; color: var(--black); margin-bottom: 20px; }
.hero__title em { font-style: normal; color: var(--yellow-dark); }
.hero__sub { font-size: 16px; color: var(--gray-600); margin-bottom: 36px; line-height: 1.7; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-en); font-size: 10px; letter-spacing: 0.2em; color: var(--gray-400); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--yellow), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ===== ABOUT STRIP ===== */
.about-strip { padding: 80px 0; background: var(--white); border-top: 4px solid var(--yellow); }
.about-strip__inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.about-strip__text h2 { font-size: clamp(20px, 2.8vw, 28px); font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
.about-strip__text p { font-size: 14px; color: var(--gray-600); line-height: 1.9; max-width: 480px; }
.about-strip__stats { display: flex; gap: 16px; flex-shrink: 0; }
.stat-card { background: var(--off-white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px 24px; text-align: center; min-width: 100px; }
.stat-card__num { font-family: var(--font-en); font-size: 28px; font-weight: 700; color: var(--yellow-dark); line-height: 1; margin-bottom: 6px; }
.stat-card__num span { font-size: 14px; font-family: var(--font-jp); }
.stat-card__label { font-size: 11px; color: var(--gray-600); }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 36px 28px; transition: all 0.3s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card__icon { width: 60px; height: 60px; background: var(--sky-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--sky); }
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; color: var(--black); }
.service-card p { font-size: 13px; color: var(--gray-600); line-height: 1.8; }

/* ===== CATCH BANNER ===== */
.catch-banner { background: linear-gradient(135deg, #1A1E28 0%, #2D3340 100%); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.catch-banner__en { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.3em; color: rgba(255,255,255,0.4); margin-bottom: 16px; position: relative; }
.catch-banner__title { font-size: clamp(22px, 4vw, 38px); font-weight: 700; color: var(--white); margin-bottom: 16px; line-height: 1.4; position: relative; }
.catch-banner__sub { font-size: 14px; color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto 32px; line-height: 1.9; position: relative; }

/* ===== JOBS ===== */
.jobs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.job-tag { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px 16px; text-align: center; font-size: 13px; font-weight: 500; color: var(--gray-800); transition: all 0.2s; }
.job-tag span { display: block; font-size: 24px; margin-bottom: 8px; }
.job-tag:hover { border-color: var(--yellow); background: #FFFDF0; color: var(--yellow-dark); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===== NEWS ===== */
.news-list { display: flex; flex-direction: column; }
.news-item { display: grid; grid-template-columns: 110px 80px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--gray-200); transition: color 0.2s; text-decoration: none; color: inherit; }
.news-item:first-child { border-top: 1px solid var(--gray-200); }
.news-item:hover .news-item__title { color: var(--yellow-dark); }
.news-item__date { font-family: var(--font-en); font-size: 13px; color: var(--gray-400); }
.news-item__cat { font-size: 11px; background: var(--sky-light); color: var(--sky); padding: 3px 10px; border-radius: 20px; white-space: nowrap; text-align: center; }
.news-item__title { font-size: 14px; color: var(--gray-800); }

/* ===== RECRUIT BANNER ===== */
.recruit-banner { background: linear-gradient(135deg, var(--sky) 0%, #3A9BD5 100%); padding: 72px 0; color: var(--white); }
.recruit-banner__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.recruit-banner h2 { font-size: clamp(20px, 2.8vw, 28px); font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
.recruit-banner p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.8; }
.recruit-banner__benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.benefit-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--white); }
.benefit-item span { width: 22px; height: 22px; background: rgba(255,255,255,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

/* ===== CONTACT STRIP ===== */
.contact-strip { padding: 64px 0; background: var(--off-white); }
.contact-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-strip h2 { font-size: clamp(18px, 2.5vw, 26px); font-weight: 700; margin-bottom: 8px; }
.contact-strip p { font-size: 13px; color: var(--gray-600); }
.contact-strip__actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer { background: var(--black); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; padding-bottom: 48px; }
.footer__logo { margin-bottom: 12px; }
.footer__logo img { height: 38px; width: auto; display: block; opacity: 0.9; }
.footer__addr { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,0.55); }
.footer__addr a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer__addr a:hover { color: var(--yellow); }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer__nav-head { font-size: 11px; letter-spacing: 0.15em; color: var(--yellow); margin-bottom: 14px; text-transform: uppercase; font-family: var(--font-en); }
.footer__nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer__nav a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer__nav a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.3); }
.footer__bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer__bottom a:hover { color: var(--white); }

/* ===== PAGE HERO ===== */
.page-hero { padding-top: var(--header-h); background: linear-gradient(135deg, #FFFDF4 0%, #EAF6FF 100%); padding-bottom: 60px; border-bottom: 3px solid var(--yellow); }
.page-hero__inner { padding: 48px 24px 0; max-width: var(--max-w); margin: 0 auto; }
.page-hero__en { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: 0.25em; color: var(--yellow-dark); margin-bottom: 8px; }
.page-hero__title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--black); line-height: 1.25; }
.breadcrumb { padding: 0 24px; max-width: var(--max-w); margin: 0 auto; display: flex; gap: 8px; font-size: 12px; color: var(--gray-400); margin-top: 16px; }
.breadcrumb a { color: var(--gray-400); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--yellow-dark); }

/* ===== ANIMATION ===== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== WordPress記事スタイル ===== */
.entry-content h2 { font-size: 22px; font-weight: 700; margin: 32px 0 16px; padding-left: 12px; border-left: 4px solid var(--yellow); }
.entry-content h3 { font-size: 18px; font-weight: 700; margin: 24px 0 12px; }
.entry-content p { margin-bottom: 16px; line-height: 1.9; }
.entry-content img { border-radius: var(--radius); margin: 24px 0; }
.entry-content a { color: var(--yellow-dark); text-decoration: underline; }
.wp-post-image { width: 100%; border-radius: var(--radius); margin-bottom: 32px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .jobs-grid { grid-template-columns: repeat(3, 1fr); }
  .recruit-banner__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 60px; --header-h: 60px; }
  .float-tel { display: flex; }
  .nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--white); padding: 24px; box-shadow: var(--shadow-md); z-index: 99; }
  .nav.open { display: block; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__list a { display: block; padding: 12px 16px; font-size: 15px; }
  .hamburger { display: flex; }
  .about-strip__inner { grid-template-columns: 1fr; gap: 40px; }
  .about-strip__stats { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .news-item { grid-template-columns: 90px 1fr; }
  .news-item__cat { display: none; }
  .contact-strip__inner { flex-direction: column; text-align: center; }
  .contact-strip__actions { flex-direction: column; width: 100%; }
  .contact-strip__actions .btn { justify-content: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .logo-img-en { height: 36px; }
  .logo-img-jp { height: 30px; }
  .hero__photo-overlay { background: linear-gradient(180deg, rgba(255,255,255,0.90) 0%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0.50) 100%); }
}

@media (max-width: 480px) {
  .jobs-grid { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 26px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .recruit-banner__benefits { grid-template-columns: 1fr; }
}
