@charset "UTF-8";
/* ==========================================================
   建設業協会企業研究フェスタ 2026（VOICE2027）
   デザイン基準：PC 1920px / SP 750px
   ブレイクポイント：767px以下をSP
   ※位置の数値はデザインカンプからの実測値（PC＝px、SP＝750px基準のvw）
========================================================== */

/* ---------- 基本 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --coral: #ea5463;
  --cyan: #42bdd8;
  --navy: #2e5098;
  --green: #2db27e;
  --cream: #fcf1af;
  --ink: #231815;
  --white: #fff;
}

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--ink);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  a {
    transition: opacity 0.2s;
  }
  a:hover {
    opacity: 0.7;
  }
}

/* KV左の縦タブはホバーで透過させない */
@media (hover: hover) and (pointer: fine) {
  .gnav a:hover {
    opacity: 1;
  }
}

.page-section {
  position: relative;
}

/* ---------- セクション見出しタブ（PCのみ表示） ---------- */
.section-tab {
  position: absolute;
  top: 0;
  transform: translateY(calc(-100% + 1px)); /* 1px重ねて隙間を防ぐ */
  z-index: 2;
  line-height: 0;
}

.section-tab img {
  width: 200px;
}

.section-tab--right {
  right: 0;
}

.section-tab--left {
  left: 0;
}

/* SP：デザインにタブがないため、見出しとしては残して見た目だけ隠す */
@media screen and (max-width: 767px) {
  .section-tab {
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ==========================================================
   KV（ヘッダー）
========================================================== */
.kv {
  position: relative;
  background: var(--cream) url("../img/kv-bg_pc.png") center / cover no-repeat;
  aspect-ratio: 1920 / 1088;
}

.kv__logo {
  position: absolute;
  top: 4.23%;
  left: 54.9%;
  width: 19.32%;
  line-height: 0;
  z-index: 1;
}

.kv__title {
  position: absolute;
  bottom: 0;
  left: 17.92%;
  width: 61.875%;
  line-height: 0;
}

.kv__title img {
  width: 100%;
}

/* PC：左端の縦タブ */
.gnav {
  position: absolute;
  top: 14.8vw;
  left: 0;
  z-index: 3;
}

.gnav a {
  display: block;
  line-height: 0;
}

.gnav img {
  width: 4.69vw;
  min-width: 48px;
}

@media screen and (max-width: 767px) {
  .kv {
    background-image: url("../img/sp/kv-bg_sp.png");
    aspect-ratio: 750 / 1334;
  }

  .kv__logo {
    display: none; /* SPはタイトル画像にロゴが入っている */
  }

  .kv__title {
    top: 5.87vw;
    bottom: auto;
    left: 5.33vw;
    width: 87.87vw;
  }

  /* SP：KVの下端に3つ横並び */
  .gnav {
    top: auto;
    bottom: 0;
    width: 100%;
  }

  .gnav ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .gnav img {
    width: 100%;
    min-width: 0;
  }
}

/* ==========================================================
   イベント概要
========================================================== */
.about {
  background: var(--coral) url("../img/about-bg_pc.png") center top / cover no-repeat;
  padding: 136px 5rem 129px;
}

.about__inner {
  position: relative;
  max-width: 901px;
  margin: 0 auto;
}

.about__main,
.about__lead,
.about__copy {
  line-height: 0;
}

.about__lead {
  margin-top: 40px;
}

/* 縦書きコピー：コンテンツ右側（デザイン上 x=1500, y=108） */
.about__copy {
  position: absolute;
  top: -28px;
  left: calc(50% + 539px);
  width: 134px;
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
  .about {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .about__inner {
    display: grid;
    grid-template-columns: 1fr 11rem;
    column-gap: 3rem;
    align-items: start;
    max-width: 104rem;
  }

  .about__main {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .about__copy {
    position: static;
    margin: 40px 0 0;
    width: auto;
  }
}

/* SP：750×1188の背景に合わせて配置 */
@media screen and (max-width: 767px) {
  .about {
    padding: 0;
    aspect-ratio: 750 / 1188;
    background-image: url("../img/sp/about-bg_sp.png");
    background-size: 100% 100%;
  }

  .about__inner {
    position: static;
    max-width: none;
  }

  .about__main {
    position: absolute;
    top: 8.27vw;
    left: 8.53vw;
    width: 89.73vw;
  }

  .about__lead {
    position: absolute;
    top: 77.33vw;
    left: 14.4vw;
    width: 56vw;
    margin: 0;
  }

  .about__copy {
    top: 69.6vw;
    left: 74.93vw;
    margin: 0;
    width: 16.08vw;
  }

  .about__main img,
  .about__lead img,
  .about__copy img {
    width: 100%;
  }
}

/* ==========================================================
   出展社一覧
========================================================== */
.company {
  background: var(--cream) url("../img/company-bg_pc.png") center top / 1920px auto repeat-y;
}

.company__panel {
  max-width: 1110px;
  margin: 0 auto;
  padding: 110px 39px 100px;
  background-color: var(--white);
}

.company__heading,
.company__area h3 {
  line-height: 0;
  text-align: center;
}

.company__heading img {
  width: 320px;
}

.company__area {
  position: relative;
  margin-top: 85px;
}

.company__area:first-of-type {
  margin-top: 57px;
}

.company__area h3 img {
  width: 284px;
}

.company__area--kaetsu {
  --area-color: var(--cyan);
}

.company__area--chuetsu {
  --area-color: var(--navy);
}

.company__area--joetsu {
  --area-color: var(--green);
}

/* PCは左列→右列の順に並べる（HTMLも同じ読み順） */
.company-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(var(--rows), auto);
  grid-auto-flow: column;
  column-gap: 20px;
  row-gap: 23px;
  width: min(972px, 100%);
  margin: 28px 0 0 max(0px, calc(50% - 456px));
}

.company-list a {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--ink);
}

.company-list .area {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  min-height: 36px;
  padding: 2px 6px;
  border-radius: 6px;
  background-color: var(--area-color);
  color: var(--white);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.company-list .name {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

@media (hover: hover) and (pointer: fine) {
  .company-list a:hover .name {
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
}

.company__notes {
  /* 出展社リストのラベル左端にそろえる */
  width: min(972px, 100%);
  margin: 56px 0 0 max(0px, calc(50% - 456px));
  font-size: 1.5rem;
}

/* 装飾：ドローン（中越エリア見出しの左）、ロボット（会場アクセスにはみ出す） */
.company__drone {
  position: absolute;
  top: -18px;
  left: -186px;
  width: 274px;
  pointer-events: none;
}

.company__robot {
  position: absolute;
  bottom: -76px;
  /* 画面幅が狭いときは「会場アクセス」タブに重ならない位置まで左へ */
  left: min(calc(50% + 376px), calc(100% - 500px));
  width: 290px;
  z-index: 3;
  pointer-events: none;
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
  .company__panel {
    padding-bottom: 200px;
  }
}

/* 2列だと窮屈になる幅は1列に */
@media screen and (max-width: 1023px) {
  .company__panel {
    padding-left: 6rem;
    padding-right: 6rem;
  }

  .company-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    row-gap: 2rem;
    width: 100%;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
  }

  .company-list .name {
    font-size: 2.4rem;
  }

  .company__drone {
    display: none;
  }

  .company__notes {
    width: 100%;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* SP */
@media screen and (max-width: 767px) {
  .company {
    padding: 0 13.6vw;
    background-image: url("../img/sp/company-bg_sp.png");
    background-size: 100% auto;
  }

  .company__panel {
    padding: 12vw 6.4vw 18vw;
  }

  .company__heading img {
    width: 42.67vw;
  }

  .company__area {
    margin-top: 9vw;
  }

  .company__area:first-of-type {
    margin-top: 6vw;
  }

  .company__area h3 img {
    width: 37.87vw;
  }

  .company-list {
    margin-top: 3.6vw;
    row-gap: 3.1vw;
  }

  .company-list a {
    gap: 4vw;
  }

  .company-list .area {
    width: 22.67vw;
    min-height: 5.6vw;
    padding: 0.4vw 0.8vw;
    border-radius: 0.8vw;
    font-size: 2.93vw;
    letter-spacing: 0;
  }

  .company-list .name {
    flex: 1;
    font-size: 4vw;
  }

  .company__notes {
    margin-top: 7vw;
    font-size: 2.8vw;
  }

  .company__robot {
    left: 0;
    width: 35.33vw;
    bottom: -23.47vw;
  }
}

/* ==========================================================
   会場アクセス
========================================================== */
.access {
  background-color: var(--cyan);
  padding: 71px 0 120px;
}

.access__content {
  width: 792px;
  max-width: calc(100% - 8rem);
  margin-left: max(4rem, calc(50% - 379px));
  line-height: 0;
}

.access__content img {
  width: 100%;
}

.access__map {
  margin-top: 77px;
  line-height: 0;
}

.access__map iframe {
  display: block;
  width: 100%;
  height: 600px;
}

@media screen and (max-width: 767px) {
  .access {
    padding: 21.33vw 0 14.67vw;
  }

  .access__content {
    width: 77.2vw;
    max-width: none;
    margin-left: 11.73vw;
  }

  .access__map {
    margin-top: 9.73vw;
  }

  .access__map iframe {
    height: 80vw;
  }
}

/* ==========================================================
   フッター
========================================================== */
.footer {
  padding: 43px 2rem 56px;
  background-color: #000;
  line-height: 0;
  text-align: center;
}

.footer img {
  width: 1242px;
}

@media screen and (max-width: 767px) {
  .footer {
    padding: 6.27vw 4vw 7.2vw;
  }

  .footer img {
    width: 92vw;
  }
}
