/* 株式会社Wing コーポレートサイト */
:root {
  --ivory: #f6f5f0;
  --navy: #1b2e37;
  --navy-bg: #1a2c35;
  --sage-panel: #e6e9e2;
  --sage-bg: #eaede6;
  --sage-msg: #e7ece6;
  --lime: #d7ea9b;
  --lime-card: #e6f2c4;
  --line: #deddd8;
  --muted: #5f6b6c;
  --orange: #ea7f55;
  --serif: "Times New Roman", Times, "Liberation Serif", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--navy);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ol { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* 確認用の帯 */
.preview-bar {
  height: 35px; line-height: 35px; text-align: center;
  background: #e9ece3; color: #5b665f; font-size: 13.5px; letter-spacing: .02em;
}
.preview-bar .slash { margin: 0 12px; color: #a3aaa2; }

/* ヘッダー */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 245, 240, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav a:not(.nav-btn) { position: relative; }
.nav a:not(.nav-btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav a:not(.nav-btn):hover::after { transform: scaleX(1); }
.nav-btn, .btn { transition: background-color .25s ease, color .25s ease; }
.nav-btn:hover { background: var(--navy); color: #fff; }
.btn:hover { background: #2c4552; }
.footer-nav a:hover, .policy-back:hover { opacity: .65; }

/* スクロールで表示 */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: flex-end; gap: 13px; }
.logo-mark { width: 35px; height: 25px; fill: var(--navy); margin-bottom: 5px; }
.logo-text { font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.logo-dot { color: #6e7b69; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 700; }
.nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 126px; height: 47px; border: 1px solid var(--navy); border-radius: 3px;
}

/* ヒーロー */
.hero { position: relative; padding: 71px 0 0; }
.hero::before {
  content: ""; position: absolute; top: 0; bottom: 0; pointer-events: none;
  left: max(40px, calc((100% - 1200px) / 2)); right: max(40px, calc((100% - 1200px) / 2));
  border-right: 1px solid rgba(27, 46, 55, .045);
  background: repeating-linear-gradient(to right, rgba(27, 46, 55, .045) 0 1px, transparent 1px 12.5%);
}
.hero > .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 536px; gap: 40px; align-items: start; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px; margin-top: -16px;
  font-size: 15px; font-weight: 700; letter-spacing: .06em;
}
.hero-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--navy); }
.hero h1 {
  margin-top: 19px;
  font-size: 64px; font-weight: 700; line-height: 96px; letter-spacing: .03em;
}
.hero-lead { margin-top: 21px; max-width: 450px; font-size: 16px; line-height: 34px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 31px; width: 144px; height: 54px;
  background: var(--navy); color: #fff; font-size: 15px; font-weight: 700; border-radius: 2px;
}

.hero-panel {
  position: relative; height: 546px; overflow: hidden;
  background: var(--sage-panel); border: 1px solid #dcdfd8; border-radius: 4px;
}
.fan { position: absolute; inset: 0; width: 100%; height: 100%; }
.panel-top {
  position: absolute; top: 26px; left: 28px; right: 29px;
  display: flex; justify-content: space-between;
  font-size: 13px; font-weight: 700; letter-spacing: .09em;
}
.panel-step::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #6e7b69; margin-right: 6px; vertical-align: 1px;
}
.panel-bottom {
  position: absolute; left: 28px; right: 29px; bottom: 24px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.panel-en { font-family: var(--serif); font-size: 32px; line-height: 36px; letter-spacing: -.02em; }
.panel-jp { font-size: 13.5px; line-height: 23px; text-align: right; }

.hero-strip {
  display: flex; align-items: center; gap: 18px;
  margin-top: 47px; padding-bottom: 64px;
  font-size: 13px; letter-spacing: .1em; color: #6a7473;
}
.hero-strip i { flex: 1; height: 1px; background: var(--line); }

/* ABOUT（紺） */
.about { background: var(--navy-bg); color: #f5f7f4; padding: 73px 0 80px; }
.about-grid { display: grid; grid-template-columns: 453px 1fr; align-items: center; }
.about-label { font-size: 15px; font-weight: 700; letter-spacing: .09em; }
.about-label::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #d8f297; margin-right: 13px; vertical-align: 2px;
}
.about-body h2 { font-size: 30px; font-weight: 400; line-height: 54px; letter-spacing: .015em; }
.about-body p { margin-top: 20px; max-width: 645px; font-size: 16px; line-height: 31px; color: #cfd6d5; }
.about-body .about-note { margin-top: 22px; font-size: 14px; color: #cfe39a; }

/* 共通の見出し */
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .1em; line-height: 1.4; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.sec-title { margin-top: 12px; font-size: 38px; font-weight: 400; line-height: 1.4; letter-spacing: .01em; }
.sec-note { width: 320px; flex-shrink: 0; font-size: 14px; line-height: 27px; color: var(--muted); }

/* サービス */
.services { padding: 98px 0 105px; }
.services-grid { display: grid; grid-template-columns: 1fr 723px; margin-top: 46px; }
.services-en {
  margin-top: 4px;
  font-family: var(--serif); font-size: 70px; line-height: 71px; letter-spacing: -.04em; color: #aab6a9;
}
.services-side-text { margin-top: 28px; font-size: 14px; line-height: 27px; color: var(--muted); }
.accent-line { display: block; width: 50px; height: 2px; margin-top: 31px; background: #e39a7a; }

.services-list details { border-top: 1px solid var(--line); padding: 23px 0 29px; }
.services-list summary {
  position: relative; list-style: none; cursor: pointer;
  font-size: 20px; font-weight: 700; line-height: 34px; padding-right: 40px;
}
.services-list summary::-webkit-details-marker { display: none; }
.services-list summary::after {
  content: ""; position: absolute; right: 8px; top: 16px; width: 14px; height: 1px; background: var(--navy);
}
.services-list details:not([open]) summary::before {
  content: ""; position: absolute; right: 14.5px; top: 9.5px; width: 1px; height: 14px; background: var(--navy);
}
.services-list details p { margin-top: 20px; max-width: 700px; font-size: 16px; line-height: 32px; color: var(--muted); }

.role-note {
  margin-top: 29px; padding: 22px 25px 22px 25px;
  background: #e9ece5; border-left: 3px solid #83967a;
}
.role-note h3 { font-size: 16px; font-weight: 700; }
.role-note p { margin-top: 4px; font-size: 14px; line-height: 28px; color: #4f5b5c; }

/* 業務の進め方 */
.flow { background: var(--sage-bg); padding: 88px 0 92px; }
.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 44px; }
.flow-list li { border-top: 1px solid #a9afa8; padding-top: 20px; }
.flow-num { display: block; font-family: var(--serif); font-size: 29px; line-height: 40px; color: #6e8372; }
.flow-list h3 { margin-top: 31px; font-size: 17px; font-weight: 700; line-height: 1.6; }
.flow-list p { margin-top: 18px; max-width: 270px; font-size: 14px; line-height: 27.5px; color: var(--muted); }
.flow-foot { margin-top: 36px; font-size: 14.5px; color: var(--muted); }

/* ビジネスモデル */
.business { padding: 82px 0 83px; }
.business-inner {
  display: grid; grid-template-columns: 572px 1fr; align-items: start;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 33px 0 38px;
}
.business h2 { margin-top: 13px; font-size: 28px; font-weight: 400; line-height: 1.5; }
.business-text { margin-top: 8px; font-size: 16px; line-height: 31px; color: var(--muted); }

/* メッセージ */
.message { background: var(--sage-msg); border-bottom: 1px solid #daddd6; padding: 76px 0 83px; }
.message-grid { display: grid; grid-template-columns: 572px 1fr; align-items: start; }
.message h2 { margin-top: 18px; font-size: 30px; font-weight: 400; line-height: 53px; }
.message-body p { font-size: 16px; line-height: 32px; }
.message-body .message-role { margin-top: 24px; font-size: 14px; line-height: 1.6; }
.message-body .message-name { margin-top: 6px; font-size: 20px; line-height: 1.6; letter-spacing: .04em; }

/* 会社概要 */
.company { padding: 68px 0 95px; }
.company-grid { display: grid; grid-template-columns: 493px 1fr; align-items: start; }
.company-grid > div:first-child { padding-top: 24px; }
.company-note { margin-top: 30px; font-size: 14px; line-height: 27px; color: var(--muted); }
.company-table > div {
  display: grid; grid-template-columns: 150px 1fr; align-items: start;
  border-bottom: 1px solid var(--line); padding: 19px 0 19px;
}
.company-table dt { color: var(--muted); }
.company-table dd { line-height: 29px; }
.badge {
  display: inline-block; margin-right: 8px; padding: 0 7px;
  font-size: 13px; line-height: 21px; color: #8a6a3c;
  background: #f5e6d3; border: 1px solid #ead6ba; border-radius: 2px; vertical-align: 2px;
}
.pending { font-size: 15px; color: #8a6a3c; }

/* お問い合わせ */
.contact { background: var(--lime); padding: 69px 0 66px; }
.contact-grid { display: grid; grid-template-columns: 1fr 470px; align-items: start; }
.contact-grid > div:first-child { padding-top: 4px; }
.contact .sec-title { font-size: 34px; margin-top: 19px; }
.contact-text { margin-top: 20px; }
.contact-card {
  background: var(--lime-card); border: 1px solid #baca8c; border-radius: 3px; padding: 28px 28px 28px;
}
.contact-label { font-size: 12.5px; letter-spacing: .1em; color: #56624a; }
.contact-head { margin-top: 8px; font-size: 15px; font-weight: 700; }
.contact-tel { font-size: 24px; letter-spacing: .04em; line-height: 1.5; }
.contact-body { margin-top: 6px; font-size: 14px; color: #56624a; }

/* 個人情報の取扱いについて */
.policy { padding: 88px 0 100px; }
.policy-inner { max-width: 820px; }
.policy-lead { margin-top: 40px; font-size: 16px; line-height: 32px; }
.policy h2 {
  margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 20px; font-weight: 700; line-height: 1.6;
}
.policy p, .policy li { font-size: 16px; line-height: 32px; color: #3d4a4d; }
.policy h2 + p, .policy h2 + ul { margin-top: 14px; }
.policy ul { padding-left: 1.3em; }
.policy p + ul, .policy ul + p { margin-top: 8px; }
.policy-sign { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.policy-sign p { line-height: 30px; color: var(--navy); }
.policy-back { display: inline-block; margin-top: 44px; font-size: 15px; font-weight: 700; border-bottom: 1px solid var(--navy); }

/* フッター */
.footer { padding: 33px 0 24px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-size: 23px; font-weight: 700; letter-spacing: -.02em; line-height: 1.5; }
.footer-nav { display: flex; gap: 30px; font-size: 15px; }
.copyright { margin-top: 18px; font-size: 12.5px; color: #6a7473; }

/* ── タブレット以下 ── */
@media (max-width: 1100px) {
  br.pc { display: none; }
  .sec-title { font-size: 30px; }
  .hero-grid { grid-template-columns: 1fr 44%; }
  .hero h1 { font-size: 5vw; line-height: 1.5; }
  .about-grid { grid-template-columns: 30% 1fr; }
  .services-grid { grid-template-columns: 34% 1fr; }
  .services-en { font-size: 5.4vw; line-height: 1.02; }
  .business-inner, .message-grid, .company-grid { grid-template-columns: 40% 1fr; }
  .contact-grid { grid-template-columns: 1fr 44%; gap: 30px; }
  .flow-list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .flow-list p { max-width: none; }
}

/* ── スマートフォン ── */
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .preview-bar { height: auto; line-height: 1.6; padding: 6px 12px; font-size: 12px; }
  .preview-bar .slash { margin: 0 6px; }

  html { scroll-padding-top: 64px; }
  .hero::before { left: 20px; right: 20px; background: repeating-linear-gradient(to right, rgba(27, 46, 55, .045) 0 1px, transparent 1px 25%); }
  .header-inner { height: 64px; }
  .logo-mark { width: 28px; height: 20px; margin-bottom: 7px; }
  .logo-text { font-size: 24px; }
  .nav { gap: 0; }
  .nav a:not(.nav-btn) { display: none; }
  .nav-btn { width: 112px; height: 40px; font-size: 14px; }

  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-eyebrow { font-size: 13px; letter-spacing: .04em; }
  .hero h1 { font-size: 40px; line-height: 1.5; margin-top: 18px; }
  .hero-lead { margin-top: 24px; max-width: none; font-size: 15px; line-height: 30px; }
  .hero-panel { height: auto; aspect-ratio: 536 / 546; }
  .panel-top { top: 18px; left: 18px; right: 18px; font-size: 10.5px; }
  .panel-bottom { left: 18px; right: 18px; bottom: 16px; }
  .panel-en { font-size: 24px; line-height: 28px; }
  .panel-jp { font-size: 12px; line-height: 20px; }
  .hero-strip { margin-top: 40px; padding-bottom: 44px; font-size: 10.5px; gap: 10px; letter-spacing: .06em; }

  .about { padding: 60px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-body h2 { font-size: 23px; line-height: 40px; }
  .about-body p { font-size: 15px; line-height: 29px; }
  .about-body .about-note { font-size: 14px; }

  .eyebrow { font-size: 13px; }
  .sec-head { display: block; }
  .sec-title { font-size: 26px; }
  .sec-note { width: auto; margin-top: 16px; }

  .services { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .services-en { font-size: 48px; line-height: 50px; }
  .services-side { margin-bottom: 36px; }
  .services-side-text { margin-top: 18px; }
  .accent-line { margin-top: 22px; }
  .services-list summary { font-size: 18px; }
  .services-list details p { margin-top: 12px; font-size: 15px; line-height: 29px; }
  .role-note { margin-top: 28px; padding: 18px; }

  .flow { padding: 64px 0; }
  .flow-list { grid-template-columns: 1fr; row-gap: 32px; margin-top: 32px; }
  .flow-list h3 { margin-top: 12px; }
  .flow-foot { font-size: 14px; line-height: 26px; }

  .business { padding: 56px 0; }
  .business-inner, .message-grid, .company-grid, .contact-grid { grid-template-columns: 1fr; }
  .business h2 { font-size: 23px; }
  .business-text { margin-top: 18px; font-size: 15px; line-height: 29px; }

  .message { padding: 56px 0; }
  .message h2 { font-size: 24px; line-height: 42px; margin-top: 12px; }
  .message-body { margin-top: 24px; }
  .message-body p { font-size: 15px; line-height: 29px; }

  .company { padding: 40px 0 64px; }
  .company-note { margin-top: 16px; }
  .company-note br { display: none; }
  .company-table { margin-top: 24px; border-top: 1px solid var(--line); }
  .company-table > div { grid-template-columns: 92px 1fr; font-size: 15px; }
  .company-table dd br { display: none; }

  .contact { padding: 56px 0; }
  .contact .sec-title { font-size: 26px; }
  .contact-text { margin-top: 14px; font-size: 15px; }
  .contact-card { margin-top: 28px; padding: 20px; }

  .policy { padding: 56px 0 64px; }
  .policy-lead { margin-top: 24px; }
  .policy h2 { margin-top: 36px; padding-top: 22px; font-size: 18px; }
  .policy p, .policy li, .policy-lead { font-size: 15px; line-height: 29px; }

  .footer-row { display: block; }
  .footer-nav { margin-top: 14px; gap: 22px; font-size: 14px; }
}
