/* ============================================
   株式会社ココント コーポレートサイト
   共通スタイルシート (案E確定版)
   2026-05-07
============================================ */

:root {
  --white: #FFFFFF;
  --pale-gray: #F6F7F9;
  --red: #A4243B;
  --red-dark: #8A1F32;
  --navy: #16243F;
  --navy-mid: #2C3E60;
  --text: #16243F;
  --text-mid: #5C5C5C;
  --text-light: #999999;
  --line: #E6E6E6;
  --serif: "Noto Serif JP", "Yu Mincho", "ヒラギノ明朝 ProN", serif;
  --sans: "Noto Sans JP", "Yu Gothic", "ヒラギノ角ゴ ProN", sans-serif;
  --inter: "Inter", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== HEADER ========== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: 0.04em;
}
nav.global-nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
}
nav.global-nav a {
  font-family: var(--inter);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--navy);
  transition: color 0.2s;
}
nav.global-nav a:hover { color: var(--red); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px auto;
  transition: all 0.3s;
}

/* ========== HERO ========== */
.hero {
  padding: 100px 0 120px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(164,36,59,0.04) 0%, rgba(164,36,59,0) 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 32px;
}
.hero h1 .accent-bar {
  display: inline-block;
  width: 6px;
  height: 56px;
  background: var(--red);
  margin-right: 20px;
  vertical-align: middle;
  margin-bottom: 6px;
}
.hero .sub-copy {
  font-size: 18px;
  line-height: 1.85;
  color: var(--navy-mid);
  margin-bottom: 48px;
  max-width: 560px;
}
.hero .cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  background: var(--pale-gray) url('../images/kuni_portrait_smile.jpg') center/cover no-repeat;
  aspect-ratio: 4/5;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 30px;
  width: 80px;
  height: 1px;
  background: var(--red);
  z-index: 2;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 18px 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn .arrow { margin-left: 10px; font-family: var(--inter); }

/* ========== SECTION COMMON ========== */
section { padding: 120px 0; }
section.alt-bg { background: var(--pale-gray); }
.section-label {
  font-family: var(--inter);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 24px;
}
.section-lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--navy-mid);
  max-width: 720px;
  margin-bottom: 64px;
}

/* ========== ISSUES (5 cards) ========== */
.issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.issue-card {
  background: var(--white);
  padding: 36px 32px;
  border-radius: 4px;
  border: 1px solid var(--line);
  transition: all 0.3s;
}
.issue-card:hover { border-color: var(--red); transform: translateY(-4px); }
.issue-card .num {
  font-family: var(--inter);
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.issue-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.5;
}
.issue-card p { font-size: 14px; line-height: 1.85; color: var(--text-mid); }

/* ========== AXIS section ========== */
.axis-intro { max-width: 800px; margin-bottom: 80px; }
.axis-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.axis-item {
  background: var(--white);
  padding: 48px 36px;
  border-top: 4px solid var(--red);
  box-shadow: 0 8px 30px rgba(22,36,63,0.06);
}
.axis-item .axis-num {
  font-family: var(--inter);
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.axis-item h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.4;
}
.axis-item .axis-keyword {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 18px;
  line-height: 1.6;
}
.axis-item p { font-size: 14px; line-height: 1.85; color: var(--text-mid); }

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 48px 36px;
  border-radius: 4px;
  transition: all 0.3s;
}
.service-card:hover { border-color: var(--red); box-shadow: 0 12px 40px rgba(164,36,59,0.08); }
.service-card .service-en {
  font-family: var(--inter);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.4;
}
.service-card p { font-size: 14px; line-height: 1.85; color: var(--text-mid); margin-bottom: 28px; }
.service-card .read-more {
  font-family: var(--inter);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 4px;
  letter-spacing: 0.05em;
}

/* ========== WORKS ========== */
.logos-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-item {
  font-family: var(--inter);
  font-size: 14px;
  color: var(--text-mid);
  letter-spacing: 0.05em;
  font-weight: 500;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.work-card {
  background: var(--pale-gray);
  padding: 48px 40px;
  position: relative;
  border-left: 4px solid var(--red);
  transition: all 0.3s;
}
.work-card:hover { background: var(--white); box-shadow: 0 12px 40px rgba(22,36,63,0.08); }
.work-card .work-num {
  font-family: var(--inter);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.work-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.5;
}
.work-card .quote {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.85;
  color: var(--navy);
  border-left: 2px solid var(--red);
  padding-left: 16px;
  margin-bottom: 16px;
}
.work-card .quote-attr { font-size: 13px; color: var(--text-mid); margin-bottom: 24px; }
.work-card .work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.work-card .work-meta strong { color: var(--navy); font-weight: 600; }
.work-card .work-note { font-size: 12px; color: var(--text-light); margin-bottom: 24px; }
.work-card .read-more {
  font-family: var(--inter);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 4px;
}

/* ========== PROFILE ========== */
.profile-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}
.profile-img {
  background: var(--pale-gray) url('../images/kuni_portrait_smile.jpg') center/cover no-repeat;
  aspect-ratio: 4/5;
  border-radius: 4px;
}
.profile-content h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.profile-content .profile-role {
  font-family: var(--inter);
  font-size: 14px;
  color: var(--red);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 28px;
}
.profile-content p { font-size: 15px; line-height: 1.9; color: var(--text-mid); margin-bottom: 24px; }
.profile-list { list-style: none; margin-bottom: 32px; }
.profile-list li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
}
.profile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 1px;
  background: var(--red);
}

/* Profile detail page */
.profile-detail-img {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 48px;
  aspect-ratio: 4/5;
  background: var(--pale-gray) url('../images/kuni_portrait_smile.jpg') center/cover no-repeat;
  border-radius: 4px;
}
.profile-section h2 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 4px solid var(--red);
}
.profile-section .text-block { max-width: 720px; margin-bottom: 48px; }
.profile-section p { font-size: 15px; line-height: 1.9; color: var(--text-mid); margin-bottom: 16px; }

/* Career timeline */
.career-list { list-style: none; max-width: 720px; }
.career-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.career-list .year {
  font-family: var(--inter);
  font-weight: 600;
  color: var(--red);
  font-size: 14px;
  letter-spacing: 0.05em;
}
.career-list .career-text { font-size: 14px; color: var(--text-mid); line-height: 1.8; }

/* ========== CTA SECTION ========== */
.cta-section {
  background:
    linear-gradient(rgba(22,36,63,0.92), rgba(22,36,63,0.92)),
    url('../images/kuni_portrait_formal.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 120px 32px;
}
.cta-section h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
  line-height: 1.4;
}
.cta-section p {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,0.85);
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .btn-primary { background: var(--red); border-color: var(--red); }
.cta-section .btn-secondary { color: var(--white); border-color: var(--white); }
.cta-section .cta-group { display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ========== FOOTER ========== */
footer.site-footer {
  background: var(--white);
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.footer-brand p { font-size: 13px; color: var(--text-mid); line-height: 1.85; }
.footer-col h5 {
  font-family: var(--inter);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { font-size: 13px; margin-bottom: 10px; color: var(--text-mid); }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
}

/* ========== PAGE HEADER (sub pages) ========== */
.page-header {
  padding: 80px 0 60px;
  background: var(--pale-gray);
  border-bottom: 1px solid var(--line);
}
.page-header .breadcrumb {
  font-family: var(--inter);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.page-header .breadcrumb a:hover { color: var(--red); }
.page-header h1 {
  font-family: var(--serif);
  font-size: 44px;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}
.page-header .page-en {
  font-family: var(--inter);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.page-header p { font-size: 16px; color: var(--text-mid); max-width: 720px; line-height: 1.85; }

/* ========== SERVICE DETAIL ========== */
.service-detail { padding: 100px 0; }
.service-detail h2 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--navy);
  margin: 48px 0 24px;
  padding-left: 16px;
  border-left: 4px solid var(--red);
}
.service-detail h2:first-child { margin-top: 0; }
.service-detail p { font-size: 15px; line-height: 1.9; color: var(--text-mid); margin-bottom: 16px; max-width: 800px; }
.service-detail ul { list-style: none; margin-bottom: 24px; max-width: 800px; }
.service-detail ul li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.service-detail ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 1px;
  background: var(--red);
}

.info-table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: top;
  line-height: 1.85;
}
.info-table th {
  background: var(--pale-gray);
  color: var(--navy);
  font-weight: 600;
  width: 180px;
}
.info-table td { color: var(--text-mid); }

.flow-list {
  counter-reset: flow;
  list-style: none;
  max-width: 800px;
  margin-bottom: 32px;
}
.flow-list li {
  counter-increment: flow;
  position: relative;
  padding: 20px 0 20px 60px;
  border-bottom: 1px solid var(--line);
}
.flow-list li::before {
  content: "0" counter(flow);
  position: absolute;
  left: 0;
  top: 20px;
  font-family: var(--inter);
  font-weight: 700;
  color: var(--red);
  font-size: 18px;
}
.flow-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 4px;
}
.flow-list p { font-size: 14px; color: var(--text-mid); margin: 0; }

.reason-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin-bottom: 32px;
}
.reason-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 28px;
}
.reason-card .reason-num {
  font-family: var(--inter);
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.reason-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}
.reason-card p { font-size: 13px; line-height: 1.85; color: var(--text-mid); margin: 0; }

/* ========== WORKS DETAIL ========== */
.work-detail { padding: 80px 0; }
.work-detail .work-quote-block {
  background: var(--pale-gray);
  padding: 48px 60px;
  border-left: 6px solid var(--red);
  margin: 48px 0;
  max-width: 900px;
}
.work-detail .work-quote-block .quote {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.9;
  color: var(--navy);
  margin-bottom: 16px;
}
.work-detail .work-quote-block .quote-attr {
  font-size: 13px;
  color: var(--text-mid);
}

/* ========== CONTACT FORM ========== */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
}
.form-row { margin-bottom: 24px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-row label .required {
  color: var(--red);
  font-size: 12px;
  margin-left: 6px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  font-size: 15px;
  font-family: var(--sans);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-row textarea { min-height: 160px; resize: vertical; }
.form-submit {
  display: block;
  margin: 32px auto 0;
  padding: 18px 56px;
  background: var(--red);
  color: var(--white);
  border: 0;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--red-dark); }

.contact-examples {
  background: var(--pale-gray);
  padding: 32px 36px;
  border-radius: 4px;
  margin-bottom: 48px;
  max-width: 720px;
}
.contact-examples h3 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-examples ul { list-style: none; padding: 0; }
.contact-examples li {
  font-size: 14px;
  color: var(--text-mid);
  padding: 6px 0 6px 20px;
  position: relative;
  line-height: 1.85;
}
.contact-examples li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 1px;
  background: var(--red);
}

/* ========== ABOUT ========== */
.about-mission {
  background: var(--white);
  padding: 60px 0;
  text-align: center;
}
.about-mission h2 {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.5;
}
.about-mission .mission-text {
  font-size: 16px;
  line-height: 2;
  color: var(--text-mid);
  max-width: 720px;
  margin: 0 auto;
}

.naming-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto 48px;
}
.naming-card {
  padding: 32px;
  background: var(--pale-gray);
  border-left: 4px solid var(--red);
}
.naming-card .naming-num {
  font-family: var(--inter);
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.naming-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.naming-card p { font-size: 14px; line-height: 1.85; color: var(--text-mid); margin: 0; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-grid, .profile-row { grid-template-columns: 1fr; gap: 40px; }
  .issues-grid, .services-grid, .works-grid, .axis-list, .reason-list, .footer-grid, .naming-list { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
  .hero h1 .accent-bar { height: 36px; width: 4px; }
  .section-title { font-size: 28px; }
  .cta-section h2 { font-size: 28px; }
  .page-header h1 { font-size: 30px; }
  section { padding: 80px 0; }
  .hero { padding: 60px 0 80px; }
  nav.global-nav { display: none; }
  nav.global-nav.is-open {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  nav.global-nav.is-open ul { flex-direction: column; gap: 24px; }
  .nav-toggle { display: block; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .career-list li { grid-template-columns: 1fr; gap: 4px; }
  .info-table th { width: 120px; }
  .info-table th, .info-table td { padding: 12px 14px; font-size: 13px; }
  .work-detail .work-quote-block { padding: 32px 24px; }
}
