/*
Theme Name: LansTech Corporate
Theme URI: https://lanstech.co.jp/
Author: LansTech Co., Ltd.
Description: 株式会社ランステック コーポレートサイト用テーマ
Version: 1.0.0
Text Domain: lanstech
*/

:root {
  --pink:        #D4637E;
  --pink-dark:   #B84A66;
  --pink-light:  #FDF2F5;
  --pink-gradient: #F9E4EC;
  --green:       #1A9D57;
  --green-dark:  #147A44;
  --green-light: #ECF7F1;
  --ink:         #243040;
  --sub:         #4A5568;
  --bg:          #ffffff;
  --bg-soft:     #F7F8FA;
  --line:        #E8ECF0;
  --radius:      12px;
  --fs-body:     16px;
  --fs-note:     14px;
  --fs-tag:      12px;
  --maxw:        1200px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.05), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --shadow-xl:   0 20px 60px rgba(0,0,0,.08), 0 8px 20px rgba(0,0,0,.04);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
body { font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif; font-size: 16px; color: var(--ink); background: var(--bg); line-height: 1.8; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* BASE */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; position: relative; }
section { padding: 120px 0; position: relative; }
section.soft { background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%); }
.eyebrow { font-size: 11px; font-weight: 700; color: var(--pink-dark); letter-spacing: .25em; text-transform: uppercase; margin-bottom: 20px; }
h2.title { font-size: 38px; font-weight: 700; margin-bottom: 24px; line-height: 1.5; letter-spacing: -.02em; }
p.lead { font-size: var(--fs-body); color: var(--sub); line-height: 2.0; max-width: 640px; }

/* BUTTONS */
.btn { display: inline-block; padding: 18px 40px; border-radius: 9999px; font-size: 15px; font-weight: 500; text-decoration: none; letter-spacing: .02em; transition: all .35s cubic-bezier(.4,0,.2,1); }
.btn-primary { background: var(--pink); color: #fff; border: 1px solid transparent; box-shadow: 0 4px 16px rgba(212,99,126,.2); }
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,99,126,.3); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--pink); color: var(--pink); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* CARD */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: all .4s cubic-bezier(.4,0,.2,1); box-shadow: var(--shadow-sm); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

/* ICON LINK */
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--pink-light); color: var(--pink); text-decoration: none; transition: all .3s cubic-bezier(.4,0,.2,1); position: relative; flex-shrink: 0; }
.icon-link svg { width: 20px; height: 20px; transition: transform .3s cubic-bezier(.4,0,.2,1); }
.icon-link:hover { background: var(--pink); color: #fff; transform: scale(1.1); box-shadow: 0 6px 20px rgba(212,99,126,.3); }
.icon-link:hover svg { transform: translateX(3px); }
.icon-link:active { transform: scale(0.92); }

/* FV - Centered Typographic Hero */
section[id] { scroll-margin-top: 96px; }
.fv { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100vh; min-height: 100svh; padding: 40px 0 64px; overflow: hidden; }
.fv::before { content: ''; position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); width: min(900px, 82vw); height: min(900px, 82vw); border-radius: 50%; background: radial-gradient(circle, rgba(212,99,126,.05) 0%, transparent 68%); pointer-events: none; z-index: 0; }
.fv .wrap { position: relative; z-index: 2; }
.fv-inner { max-width: 1040px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.fv h1 { font-family: 'Outfit', 'Noto Sans JP', sans-serif; font-size: clamp(2.5rem, 7.2vw, 6rem); font-weight: 700; line-height: 1.26; letter-spacing: -.025em; margin-bottom: 32px; color: var(--ink); white-space: nowrap; word-break: normal; text-wrap: nowrap; }
@media (max-width: 520px) {
  .fv h1 { white-space: normal; text-wrap: balance; word-break: break-word; }
}
.fv p.sub { font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif; font-size: clamp(1.0625rem, 0.9rem + 0.6vw, 1.375rem); color: var(--sub); line-height: 1.9; font-weight: 500; letter-spacing: .04em; max-width: 640px; margin: 4px auto 0; }
.fv h1.fv-typed { display: inline-block; position: relative; }
.fv-typed__ghost { visibility: hidden; white-space: nowrap; }
.fv-typed__live { position: absolute; left: 0; top: 0; width: max-content; text-align: left; white-space: nowrap; }
.fv-hl { color: var(--pink); }
.fv-typed__live .text-type__content {
  background-image: linear-gradient(120deg, var(--ink) 0%, var(--ink) 35%, var(--pink) 50%, var(--ink) 65%, var(--ink) 100%);
  background-size: 200% auto;
  background-position: 150% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: fv-shine 5.5s linear infinite;
}
.fv-typed__live .fv-hl { -webkit-text-fill-color: var(--pink); color: var(--pink); background: none; }
@keyframes fv-shine { 0% { background-position: 150% center; } 100% { background-position: -50% center; } }
.fv-scroll { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--sub); z-index: 2; }
.fv-scroll-label { font-size: 10px; letter-spacing: .2em; font-weight: 600; }
.fv-scroll-line { width: 1px; height: 40px; background: var(--line); position: relative; overflow: hidden; }
.fv-scroll-line::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--pink); animation: fv-scroll-run 2.2s ease-in-out infinite; }
@keyframes fv-scroll-run { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* PAGE HERO (about/service/recruit/news/contact/privacy) */
.page-hero { padding: 160px 0 60px; }
.page-hero .breadcrumb { font-size: 13px; color: var(--sub); margin-bottom: 24px; }
.page-hero .breadcrumb a { color: var(--sub); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--pink); }
.page-hero .breadcrumb span { margin: 0 8px; }
.page-hero .eyebrow { color: var(--pink); }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 700; margin-bottom: 16px; }
.page-hero .sub { color: var(--sub); font-size: 16px; line-height: 1.9; max-width: 640px; }
.page-hero .hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.visible { transition-delay: .08s; }
.reveal-delay-2.visible { transition-delay: .16s; }
.reveal-delay-3.visible { transition-delay: .24s; }

@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  section { padding: 72px 0; }
  .page-hero { padding: 120px 0 40px; }
}
