/*
Theme Name: Startup CS Field
Theme URI: https://startup-product-work.com/
Description: スタートアップCSの現場のトップページ用Cocoon子テーマ
Author: スタートアップCS編集部
Template: cocoon-master
Version: 1.0.0
Text Domain: startup-cs-field
*/

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

:root { font-family: 'Noto Sans JP', sans-serif; color: #131b25; background: #fff; font-synthesis: none; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-shell { overflow: hidden; }
.container { width: min(1330px, calc(100% - 104px)); margin-inline: auto; }

.site-header { position: relative; z-index: 20; background: #fff; }
.header-inner { height: 92px; width: min(1330px, calc(100% - 104px)); margin: auto; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; flex-direction: column; flex: 1; min-width: 270px; line-height: 1.35; }
.brand strong { font-size: 21px; letter-spacing: .018em; font-weight: 700; white-space: nowrap; }
.brand span { color: #526071; font-size: 11px; margin-top: 5px; letter-spacing: .035em; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a { font-size: 12px; font-weight: 600; white-space: nowrap; transition: color .2s; }
.header-nav a:hover, .header-nav a:focus-visible { color: #0757b7; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.icon-button { border: 0; background: transparent; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; color: #17202b; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 22px; min-width: 189px; height: 39px; color: #fff; background: #0758bd; font-size: 12px; font-weight: 700; box-shadow: 0 3px 6px rgba(7,88,189,.08); transition: background .2s, transform .2s; }
.header-cta:hover, .primary-button:hover { background: #034894; transform: translateY(-2px); }
.menu-trigger { display: none; border: 0; background: none; width: 32px; padding: 7px 0; }
.menu-trigger span { display: block; width: 100%; height: 2px; background: #131b25; margin: 6px 0; }
.search-panel { position: absolute; top: 92px; right: max(52px, calc((100vw - 1330px)/2)); width: min(460px, calc(100vw - 32px)); padding: 26px; background: #fff; box-shadow: 0 20px 45px rgba(25,48,79,.17); border: 1px solid #e9edf2; }
.search-panel[hidden] { display: none; }
.search-panel label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.search-field { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #8695aa; padding: 8px 0; }
.search-field input { border: 0; outline: 0; width: 100%; min-width: 0; font-size: 14px; }
.search-field button { border: 0; background: transparent; color: #0758bd; font-size: 13px; font-weight: 700; white-space: nowrap; }
.search-results { display: flex; flex-direction: column; margin-top: 12px; }
.search-results button { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; padding: 12px 0; background: #fff; border: 0; border-bottom: 1px solid #edf0f4; color: #17202b; font-size: 14px; }
.search-results button:hover { color: #0758bd; }
.search-results p { margin: 12px 0 0; color: #687384; font-size: 13px; }

.hero { min-height: 487px; display: grid; grid-template-columns: 42% 58%; align-items: stretch; padding-top: 16px; }
.hero-copy { padding: 28px 34px 22px 0; display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 20px; width: 94%; color: #0857b8; font-size: 10px; font-weight: 800; letter-spacing: .18em; white-space: nowrap; }
.eyebrow i { height: 1px; flex: 1; background: #a8bee0; }
.hero h1 { margin: 39px 0 24px; font-size: clamp(35px, 3.15vw, 49px); line-height: 1.42; letter-spacing: -.045em; font-weight: 800; white-space: nowrap; }
.hero-lead { max-width: 450px; margin: 0; font-size: 15px; line-height: 1.95; letter-spacing: .015em; }
.primary-button { margin-top: 26px; width: 170px; height: 48px; display: inline-flex; align-items: center; justify-content: space-evenly; background: #0758bd; color: #fff; font-size: 14px; font-weight: 700; transition: background .2s, transform .2s; }
.hero-footnote { margin: auto 0 0; font-family: Arial,sans-serif; font-size: 9px; letter-spacing: .16em; color: #637082; line-height: 1.6; }
.hero-footnote span { margin: 0 4px; }
.hero-image { min-width: 0; height: 464px; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }

.topic-section { padding-top: 54px; }
.section-heading { display: flex; align-items: center; gap: 20px; }
.section-heading h2 { margin: 0; font-size: 19px; line-height: 1.4; letter-spacing: .02em; white-space: nowrap; }
.heading-line { flex: 1; height: 1px; background: #a9bbd8; }
.section-heading p { margin: 0; font-size: 12px; color: #445269; white-space: nowrap; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 23px; }
.topic-item { text-align: left; display: flex; flex-direction: column; background: #fff; border: 0; border-right: 1px solid #c9d2df; padding: 6px 31px 10px; min-height: 176px; transition: background .2s; }
.topic-item:first-child { padding-left: 0; }
.topic-item:last-child { border-right: 0; }
.topic-item:hover, .topic-item:focus-visible { background: #f8fbff; }
.topic-number { color: #91afd9; font-family: Arial,sans-serif; font-size: 74px; line-height: 1; font-weight: 800; letter-spacing: -.07em; }
.topic-label { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.topic-description { font-size: 13px; line-height: 1.7; color: #435066; margin-top: 8px; }
.topic-detail { display: flex; align-items: center; gap: 20px; min-height: 49px; padding: 11px 0; border-top: 1px solid #e1e7ef; border-bottom: 1px solid #e1e7ef; margin-top: 19px; }
.topic-detail strong { color: #0758bd; font-size: 12px; font-weight: 700; white-space: nowrap; }
.topic-detail p { margin: 0; font-size: 12px; color: #4c5a6d; line-height: 1.5; }

.feature-section { padding-top: 42px; padding-bottom: 51px; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: 42px; align-items: center; margin-top: 26px; }
.feature-image { width: 100%; height: 280px; overflow: hidden; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.feature-copy { padding-right: 47px; }
.feature-tag { font-size: 12px; font-weight: 700; color: #0758bd; }
.feature-copy h3 { max-width: 480px; margin: 18px 0 16px; font-size: 28px; line-height: 1.52; letter-spacing: -.03em; }
.feature-copy p { max-width: 480px; margin: 0; font-size: 14px; line-height: 1.9; color: #3b495a; }
.feature-copy a { display: inline-flex; align-items: center; gap: 20px; color: #0758bd; font-size: 14px; font-weight: 700; border-bottom: 1px solid #0758bd; padding-bottom: 5px; margin-top: 26px; }
.feature-copy a:hover { color: #034894; }

.people-section { background: #eaf5ff url('assets/city-skyline.png') center top / cover no-repeat; min-height: 257px; }
.people-inner { min-height: 257px; display: flex; align-items: center; }
.people-copy { max-width: 650px; padding: 30px 0 42px; }
.people-eyebrow { font: 700 10px Arial,sans-serif; letter-spacing: .2em; color: #0758bd; }
.people-copy h2 { font-size: 32px; margin: 14px 0 17px; line-height: 1.4; letter-spacing: -.035em; }
.people-copy p { max-width: 590px; font-size: 14px; line-height: 1.9; margin: 0; }
.site-footer { background: #fff; }
.footer-inner { min-height: 100px; display: flex; align-items: center; gap: 45px; }
.footer-brand { display: flex; flex-direction: column; flex: 1; white-space: nowrap; }
.footer-brand strong { font-size: 17px; }
.footer-brand span { color: #647082; font-size: 10px; margin-top: 5px; }
.footer-inner nav { display: flex; gap: 24px; }
.footer-inner nav a, .footer-inner small { font-size: 11px; color: #455165; }
.footer-inner nav a:hover { color: #0758bd; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; white-space: nowrap; }
.footer-meta span { font-size: 10px; color: #647082; }

@media (max-width: 1100px) {
  .container, .header-inner { width: min(100% - 64px, 1330px); }
  .header-nav { gap: 15px; }
  .hero { grid-template-columns: 49% 51%; }
  .hero h1 { font-size: clamp(30px, 3.6vw, 43px); }
  .feature-grid { gap: 30px; }
  .feature-copy { padding-right: 0; }
}
@media (max-width: 900px) {
  .header-cta { display: none; }
}
@media (max-width: 760px) {
  .container, .header-inner { width: calc(100% - 36px); }
  .header-inner { height: 70px; gap: 12px; }
  .brand { min-width: 0; }
  .brand strong { font-size: 17px; }
  .brand span { font-size: 9px; }
  .header-actions { gap: 5px; }
  .menu-trigger { display: block; }
  .header-nav { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; padding: 12px 18px 20px; background: #fff; box-shadow: 0 18px 35px rgba(30,47,69,.13); }
  .header-nav.is-open { display: flex; }
  .header-nav a { font-size: 14px; padding: 12px 0; border-bottom: 1px solid #edf0f4; }
  .search-panel { top: 70px; right: 12px; }
  .hero { display: flex; flex-direction: column; padding-top: 20px; }
  .hero-copy { padding: 12px 0 24px; }
  .eyebrow { width: 100%; font-size: 9px; }
  .hero h1 { font-size: clamp(28px, 7vw, 39px); white-space: normal; margin: 28px 0 18px; }
  .hero-lead { font-size: 14px; }
  .primary-button { margin-top: 25px; }
  .hero-footnote { margin-top: 31px; }
  .hero-image { height: auto; aspect-ratio: 1.5; width: 100%; }
  .topic-section { padding-top: 46px; }
  .section-heading { gap: 12px; }
  .section-heading h2 { font-size: 18px; }
  .section-heading p { display: none; }
  .topic-grid { grid-template-columns: 1fr; margin-top: 14px; }
  .topic-item, .topic-item:first-child { border-right: 0; border-bottom: 1px solid #dbe2ec; padding: 15px 2px; min-height: 0; }
  .topic-item:last-child { border-bottom: 0; }
  .topic-number { font-size: 48px; }
  .topic-label { font-size: 19px; margin-top: 2px; }
  .topic-description { margin-top: 5px; }
  .topic-detail { align-items: flex-start; gap: 10px; }
  .topic-detail p { font-size: 12px; }
  .feature-section { padding-top: 43px; padding-bottom: 46px; }
  .feature-grid { grid-template-columns: 1fr; gap: 22px; }
  .feature-image { height: auto; aspect-ratio: 1.7; }
  .feature-copy h3 { font-size: 24px; margin: 12px 0; }
  .people-section, .people-inner { min-height: 340px; }
  .people-section { background-size: auto 100%; background-position: 60% top; }
  .people-copy { padding: 30px 0 100px; }
  .people-copy h2 { font-size: 27px; }
  .people-copy p { font-size: 13px; max-width: 460px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 30px; padding-bottom: 28px; }
  .footer-inner nav { flex-wrap: wrap; gap: 10px 20px; }
  .footer-meta { align-items: flex-start; }
}
