
/* =========================================================
   共通
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #222;
  background: #fff;
}


/* =========================================================
   ローディング
========================================================= */

#loader {
  position: fixed;
  inset: 0;

  background: #000;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  color: #fff;

  z-index: 9999;
}

#loader p {
  margin-top: 15px;
  font-size: 13px;
  letter-spacing: 2px;
}

.spinner {
  width: 40px;
  height: 40px;

  border: 4px solid #fff;
  border-top: 4px solid #1976d2;

  border-radius: 50%;

  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* =========================================================
   ヘッダー
========================================================= */

header {
  position: fixed;

  width: 100%;
  top: 0;
  left: 0;

  background: rgba(54, 109, 228, 0.6);

  backdrop-filter: blur(6px);

  z-index: 1000;

  transition: 0.3s;
}

header.scrolled {
  background: rgba(54, 109, 228, 0.6);
}

.header-inner {
  max-width: 1100px;

  margin: auto;

  padding: 15px;

  display: flex;

  justify-content: space-between;
  align-items: center;

  color: #fff;
}


/* =========================================================
   ナビゲーション
========================================================= */

nav {
  display: flex;
  align-items: center;
}

nav a {
  color: #fff;

  margin-left: 20px;

  text-decoration: none;

  transition: 0.3s;
}

nav a:hover {
  color: #64b5f6;
}


/* =========================================================
   ハンバーガーメニュー
========================================================= */

.menu-btn {
  display: none;

  font-size: 24px;

  cursor: pointer;

  user-select: none;
}


/* =========================================================
   ヒーロー
========================================================= */

.hero {
  height: 100vh;

  background:
    url("/img/main.jpg")
    center / cover
    no-repeat;

  display: flex;

  justify-content: center;
  align-items: center;

  color: #fff;

  text-align: center;

  position: relative;
}

.hero::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;

  z-index: 1;
}

.hero h1 {
  font-size: 40px;
}


/* =========================================================
   ボタン
========================================================= */

.btn {
  display: inline-block;

  padding: 12px 25px;

  background: #1976d2;

  color: #fff;

  text-decoration: none;

  margin-top: 20px;

  transition: 0.3s;
}

.btn:hover {
  background: #0d47a1;

  transform:
    translateY(-2px);
}


/* =========================================================
   セクション
========================================================= */

.section {
  padding: 80px 20px;

  max-width: 1100px;

  margin: auto;
}

.section h2 {
  text-align: center;

  margin-bottom: 40px;
}


/* =========================================================
   グリッド
========================================================= */

.grid {
  display: grid;

  gap: 20px;
}

.features {
  grid-template-columns:
    repeat(
      auto-fit,
      minmax(250px, 1fr)
    );
}

.feature {
  border: 1px solid #eee;

  padding: 30px;

  text-align: center;
}


/* =========================================================
   事業内容
========================================================= */

.business {
  background: #f5f7fa;

  text-align: center;
}


/* 見出し */

.business h2 {
  font-size: 14px;

  letter-spacing: 3px;

  color: #888;

  margin-bottom: 10px;
}

.business h2::after {
  content: "事業内容";

  display: block;

  font-size: 32px;

  letter-spacing: normal;

  color: #222;

  margin-top: 10px;
}


/* グリッド */

.business-list {
  margin-top: 50px;

  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(260px, 1fr)
    );

  gap: 30px;
}


/* カード */

.business-item {
  position: relative;

  background: #fff;

  padding: 40px 30px;

  border-radius: 12px;

  overflow: hidden;

  transition:
    all 0.4s ease;

  border: 1px solid #eee;
}


/* 上の青ライン */

.business-item::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background: #1976d2;

  transform:
    scaleX(0);

  transform-origin: left;

  transition: 0.4s;
}


/* ホバー */

.business-item:hover {
  transform:
    translateY(-10px);

  box-shadow:
    0 20px 40px
    rgba(0,0,0,0.08);
}

.business-item:hover::before {
  transform:
    scaleX(1);
}


/* タイトル */

.business-item h3 {
  font-size: 20px;

  margin-bottom: 15px;

  position: relative;
}


/* テキスト */

.business-item p {
  font-size: 14px;

  line-height: 1.8;

  color: #555;
}


/* ボタン */

.business-item .btn {
  margin-top: 20px;

  font-size: 13px;
}


/* =========================================================
   施工実績
========================================================= */

.works {
  grid-template-columns:
    repeat(
      auto-fit,
      minmax(300px, 1fr)
    );
}

.works img {
  width: 100%;

  height: 220px;

  object-fit: cover;

  display: block;
}


/* =========================================================
   CTA
========================================================= */

.cta,
.news-cta {
  background: #111;

  color: #fff;

  text-align: center;

  padding: 60px;
}


/* =========================================================
   フッター
========================================================= */

footer {
  background: #000;

  color: #aaa;

  text-align: center;

  padding: 20px;
}

footer p {
  margin: 0;

  font-size: 12px;
}


/* =========================================================
   フェード
========================================================= */

.fade {
  opacity: 0;

  transform:
    translateY(40px);

  transition:
    all 0.8s;
}

.fade.show {
  opacity: 1;

  transform:
    translateY(0);
}


/* =========================================================
   新着情報ページ
========================================================= */


/* ===== ページタイトル ===== */

.page-title {
  height: 400px;

  background:
    linear-gradient(
      rgba(0,0,0,0.55),
      rgba(0,0,0,0.55)
    ),
    url("/img/main.jpg")
    center / cover
    no-repeat;

  display: flex;

  justify-content: center;
  align-items: center;

  color: #fff;

  text-align: center;
}

.page-title-content {
  margin-top: 60px;
}

.page-title-content p {
  margin: 0 0 10px;

  color: #64b5f6;

  font-size: 14px;

  font-weight: 700;

  letter-spacing: 4px;
}

.page-title-content h1 {
  margin: 0;

  font-size: 42px;

  letter-spacing: 4px;
}


/* ===== 新着情報一覧 ===== */

#news {
  padding: 90px 20px;

  background: #fff;
}

.news-wrapper {
  max-width: 1000px;

  margin: 0 auto;
}


/* ===== ニュース記事 ===== */

.news-item {
  position: relative;

  padding: 35px 30px;

  border-bottom:
    1px solid #ddd;

  transition:
    all 0.4s ease;
}

.news-item:first-child {
  border-top:
    1px solid #ddd;
}

.news-item:hover {
  background: #f5f7fa;

  transform:
    translateX(5px);
}


/* ===== 日付・カテゴリー ===== */

.news-header {
  display: flex;

  align-items: center;

  gap: 15px;

  margin-bottom: 10px;
}

.news-header time {
  color: #1976d2;

  font-size: 14px;

  font-weight: 700;
}

.category {
  display: inline-block;

  padding: 3px 12px;

  background: #1976d2;

  color: #fff;

  font-size: 11px;

  line-height: 1.5;

  border-radius: 2px;
}


/* ===== ニュースタイトル ===== */

.news-item h2 {
  margin:
    5px 0 12px;

  font-size: 21px;

  font-weight: 700;
}

.news-item p {
  margin:
    0 0 18px;

  color: #555;

  font-size: 14px;

  line-height: 1.9;
}


/* ===== 詳細リンク ===== */

.news-link {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: #1976d2;

  font-size: 13px;

  font-weight: 700;

  text-decoration: none;

  transition: 0.3s;
}

.news-link span {
  font-size: 18px;

  transition: 0.3s;
}

.news-link:hover {
  color: #0d47a1;
}

.news-link:hover span {
  transform:
    translateX(5px);
}


/* =========================================================
   スマートフォン
========================================================= */

@media(max-width:768px) {


  /* ===== ナビ ===== */

  nav {
    position: fixed;

    top: 0;

    right: -100%;

    width: 70%;

    height: 100%;

    background: #000;

    flex-direction: column;

    padding-top: 60px;

    transition: 0.3s;
  }

  nav.active {
    right: 0;
  }

  nav a {
    padding: 15px;

    border-bottom:
      1px solid #333;

    margin-left: 0;
  }

  .menu-btn {
    display: block;
  }


  /* ===== ヒーロー ===== */

  .hero h1 {
    font-size: 30px;
  }


  /* ===== セクション ===== */

  .section {
    padding:
      60px 15px;
  }


  /* ===== 事業内容 ===== */

  .business-item {
    padding:
      30px 20px;
  }


  /* ===== CTA ===== */

  .cta,
  .news-cta {
    padding:
      50px 20px;
  }


  /* ===== 新着情報ページ ===== */

  .page-title {
    height: 300px;
  }

  .page-title-content {
    margin-top: 40px;
  }

  .page-title-content h1 {
    font-size: 30px;

    letter-spacing: 2px;
  }


  #news {
    padding:
      60px 15px;
  }

  .news-item {
    padding:
      30px 15px;
  }

  .news-item h2 {
    font-size: 18px;
  }

  .news-item p {
    font-size: 13px;
  }

  .news-header {
    gap: 10px;
  }

}
/* ==================================================
   お問い合わせページ
   ================================================== */


/* ===== ページタイトル ===== */

.contact-page-title {
  height: 400px;

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url("img/main.jpg")
    center / cover
    no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;

  color: #fff;
  text-align: center;
}

.contact-page-title-content {
  position: relative;
  z-index: 1;
}

.contact-page-title-content p {
  font-size: 14px;
  letter-spacing: 5px;
  margin: 0 0 10px;
}

.contact-page-title-content h1 {
  font-size: 42px;
  margin: 0;
}


/* ===== お問い合わせ全体 ===== */

.contact-page {
  background: #f5f7fa;
  padding: 100px 20px;
}

.contact-wrapper {
  max-width: 850px;
  margin: 0 auto;
}


/* ===== 説明文 ===== */

.contact-intro {
  text-align: center;
  margin-bottom: 50px;
}

.contact-intro p {
  color: #555;
  line-height: 1.9;
  font-size: 15px;
  margin: 5px 0;
}


/* ===== フォーム本体 ===== */

.contact-form {
  background: #fff;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}


/* ===== 入力項目 ===== */

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}


/* ===== 必須ラベル ===== */

.required {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 7px;
  background: #1976d2;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  border-radius: 2px;
}


/* ===== 入力欄 ===== */

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;

  padding: 14px 15px;

  border: 1px solid #ddd;
  border-radius: 4px;

  background: #fff;

  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #222;

  transition: 0.3s;
}


/* ===== 入力欄フォーカス ===== */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;

  border-color: #1976d2;

  box-shadow:
    0 0 0 3px
    rgba(25, 118, 210, 0.1);
}


/* ===== セレクトボックス ===== */

.form-group select {
  cursor: pointer;
}


/* ===== お問い合わせ内容 ===== */

.form-group textarea {
  min-height: 200px;
  resize: vertical;
}


/* ===== 個人情報同意 ===== */

.privacy {
  margin: 35px 0;
  padding: 20px;

  background: #f5f7fa;

  text-align: center;
}

.privacy label {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  cursor: pointer;

  font-size: 14px;
}

.privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;

  margin: 0;

  cursor: pointer;
}


/* ===== 送信ボタン ===== */

.contact-submit {
  text-align: center;
}

.contact-submit button {
  display: inline-block;

  padding: 15px 60px;

  border: none;

  background: #1976d2;
  color: #fff;

  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  transition: 0.3s;
}


/* ===== ボタンホバー ===== */

.contact-submit button:hover {
  background: #0d47a1;
  transform: translateY(-2px);

  box-shadow:
    0 8px 20px
    rgba(25, 118, 210, 0.25);
}


/* ==================================================
   スマートフォン
   ================================================== */

@media (max-width: 768px) {


  /* ページタイトル */

  .contact-page-title {
    height: 320px;
  }

  .contact-page-title-content h1 {
    font-size: 32px;
  }


  /* お問い合わせ */

  .contact-page {
    padding: 60px 15px;
  }


  /* フォーム */

  .contact-form {
    padding: 30px 20px;
  }


  /* 説明文 */

  .contact-intro {
    margin-bottom: 35px;
  }

  .contact-intro p {
    font-size: 14px;
  }


  /* 同意欄 */

  .privacy {
    text-align: left;
  }


  /* 送信ボタン */

  .contact-submit button {
    width: 100%;
    padding: 15px 20px;
  }

}


/* ==================================================
   事業内容ページ
================================================== */


/* ==============================
   ページヒーロー
============================== */

.business-page-hero {
  height: 560px;
  position: relative;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.70),
      rgba(0,0,0,0.30)
    ),
    url("img/main.jpg") center/cover no-repeat;

  display: flex;
  align-items: center;

  overflow: hidden;
}


.business-page-hero::after {
  content: "";

  position: absolute;

  right: -150px;
  bottom: -220px;

  width: 500px;
  height: 500px;

  border: 1px solid rgba(255,255,255,0.18);

  border-radius: 50%;
}


.business-page-hero-inner {
  width: min(1100px, calc(100% - 40px));

  margin: auto;

  color: #fff;

  position: relative;

  z-index: 2;
}


.business-page-label {
  font-size: 13px;

  letter-spacing: 5px;

  color: #8fc8ff;

  font-weight: 500;

  margin-bottom: 15px;
}


.business-page-hero h1 {
  margin: 0;

  font-size: clamp(42px, 6vw, 72px);

  line-height: 1.2;

  letter-spacing: 2px;
}


.business-page-hero h1 span {
  display: block;

  margin-top: 12px;

  font-size: 17px;

  font-weight: 400;

  letter-spacing: 4px;

  opacity: 0.9;
}


.business-hero-line {
  width: 70px;

  height: 3px;

  background: #1976d2;

  margin-top: 30px;
}


/* ==============================
   共通
============================== */

.business-section {
  width: min(1100px, calc(100% - 40px));

  margin: auto;

  padding: 100px 0;
}


.business-section-gray {
  width: 100%;

  max-width: none;

  padding-left: max(20px, calc((100% - 1100px) / 2));

  padding-right: max(20px, calc((100% - 1100px) / 2));

  background: #f5f7fa;
}


.business-section-heading {
  margin-bottom: 55px;
}


.business-section-heading .business-en {
  display: block;

  color: #1976d2;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 4px;

  margin-bottom: 8px;
}


.business-section-heading h2 {
  margin: 0;

  font-size: 34px;

  letter-spacing: 1px;

  line-height: 1.4;
}


.business-section-heading p {
  margin: 18px 0 0;

  color: #777;

  font-size: 14px;
}


.business-center {
  text-align: center;
}


/* ==============================
   フェード
============================== */

.business-section .fade {
  opacity: 0;

  transform: translateY(40px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}


.business-section .fade.show {
  opacity: 1;

  transform: translateY(0);
}


/* ==============================
   ヒーローアニメーション
============================== */

.hero-animation {
  opacity: 0;

  transform: translateY(25px);

  animation:
    businessHeroIn 1s ease 0.3s forwards;
}


@keyframes businessHeroIn {

  to {
    opacity: 1;

    transform: translateY(0);
  }

}


/* ==============================
   事業紹介
============================== */

.business-intro {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;
}


.business-intro-image {
  position: relative;
}


.business-intro-image img {

  width: 100%;

  height: 420px;

  object-fit: cover;

  border-radius: 4px;

}


.business-intro-image::after {

  content: "";

  position: absolute;

  right: -18px;

  bottom: -18px;

  width: 80%;

  height: 80%;

  border: 2px solid #1976d2;

  z-index: -1;

}


.business-intro-text h3 {

  margin: 0 0 25px;

  font-size: 27px;

  line-height: 1.6;

}


.business-intro-text h3 span {

  color: #1976d2;

}


.business-intro-text p {

  margin: 0 0 18px;

  color: #555;

  font-size: 15px;

  line-height: 2;

}


/* ==============================
   事業カード
============================== */

.business-card-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 30px;
}


.business-card {

  position: relative;

  background: #fff;

  border: 1px solid #e5e8ec;

  overflow: hidden;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}


.business-card:hover {

  transform: translateY(-8px);

  box-shadow:
    0 20px 45px rgba(0,0,0,0.10);

}


.business-card-image {

  height: 230px;

  overflow: hidden;
}


.business-card-image img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition:
    transform 0.6s ease;
}


.business-card:hover
.business-card-image img {

  transform: scale(1.06);

}


.business-card-body {

  padding: 32px;
}


.business-number {

  color: #1976d2;

  font-size: 12px;

  letter-spacing: 3px;

  font-weight: 700;
}


.business-card h3 {

  margin: 8px 0 15px;

  font-size: 23px;
}


.business-card p {

  margin: 0;

  color: #666;

  font-size: 14px;

  line-height: 1.9;
}


.business-card-link {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin-top: 25px;

  color: #1976d2;

  font-size: 13px;

  font-weight: 700;
}


.business-card-link span {

  transition:
    transform 0.3s ease;
}


.business-card:hover
.business-card-link span {

  transform: translateX(6px);

}


/* ==============================
   対応業務
============================== */

.business-capability {

  display: grid;

  grid-template-columns:
    0.8fr 1.2fr;

  gap: 70px;

  align-items: center;
}


.business-capability-title h2 span {

  color: #1976d2;
}


.business-capability-title p {

  color: #666;

  font-size: 14px;

  line-height: 2;

  margin-top: 20px;
}


.business-capability-list {

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 15px;
}


.business-capability-item {

  position: relative;

  padding:
    25px
    20px
    25px
    55px;

  background: #f5f7fa;

  border-left:
    3px solid #1976d2;
}


.business-capability-item::before {

  content: "✓";

  position: absolute;

  left: 20px;

  top: 23px;

  color: #1976d2;

  font-weight: 700;
}


.business-capability-item strong {

  display: block;

  font-size: 15px;
}


.business-capability-item span {

  display: block;

  margin-top: 4px;

  color: #777;

  font-size: 12px;
}


/* ==============================
   仕事の流れ
============================== */

.business-flow {

  display: grid;

  grid-template-columns:
    repeat(5, 1fr);

  gap: 0;

  margin-top: 50px;
}


.business-flow-item {

  position: relative;

  padding: 30px 20px;

  text-align: center;

  background: #fff;

  border: 1px solid #e4e8ed;
}


.business-flow-item:not(:last-child)::after {

  content: "→";

  position: absolute;

  right: -15px;

  top: 50%;

  transform: translateY(-50%);

  width: 30px;

  height: 30px;

  border-radius: 50%;

  background: #1976d2;

  color: #fff;

  display: flex;

  justify-content: center;

  align-items: center;

  z-index: 2;

  font-size: 13px;
}


.business-flow-item > span {

  display: block;

  color: #1976d2;

  font-size: 11px;

  letter-spacing: 2px;

  margin-bottom: 10px;
}


.business-flow-item h3 {

  margin: 0;

  font-size: 16px;
}


.business-flow-item p {

  margin: 8px 0 0;

  color: #777;

  font-size: 12px;
}


/* ==============================
   建設・設備
============================== */

.business-construction {

  position: relative;

  min-height: 420px;

  padding: 70px;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.78),
      rgba(0,0,0,0.30)
    ),
    url("img/main.jpg")
    center/cover no-repeat;

  color: #fff;

  display: flex;

  align-items: center;

  overflow: hidden;
}


.business-construction-content {

  max-width: 650px;

  position: relative;

  z-index: 2;
}


.business-construction-en {

  color: #8fc8ff;

  font-size: 13px;

  letter-spacing: 4px;
}


.business-construction-content h2 {

  margin: 12px 0 25px;

  font-size: 34px;

  line-height: 1.5;
}


.business-construction-content p {

  margin: 0;

  font-size: 14px;

  line-height: 2;

  opacity: 0.9;
}


.business-tags {

  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 30px;
}


.business-tags span {

  padding:
    8px 16px;

  border:
    1px solid rgba(255,255,255,0.5);

  font-size: 12px;

  background:
    rgba(255,255,255,0.08);
}


/* ==============================
   CTA
============================== */

.business-cta {

  padding: 100px 20px;

  text-align: center;

  background:
    linear-gradient(
      135deg,
      #0d47a1,
      #1976d2
    );

  color: #fff;
}


.business-cta > span {

  display: block;

  font-size: 12px;

  letter-spacing: 4px;

  opacity: 0.75;
}


.business-cta h2 {

  margin: 12px 0 20px;

  font-size: 34px;
}


.business-cta p {

  margin:
    0 auto 35px;

  font-size: 14px;

  opacity: 0.9;
}


.business-cta-button {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-width: 230px;

  padding:
    17px 35px;

  background: #fff;

  color: #1976d2;

  font-size: 14px;

  font-weight: 700;

  transition: 0.3s;
}


.business-cta-button:hover {

  transform: translateY(-4px);

  box-shadow:
    0 12px 25px rgba(0,0,0,0.18);
}


/* ==================================================
   事業内容ページ スマホ
================================================== */

@media (max-width: 800px) {


  .business-page-hero {

    height: 460px;

  }


  .business-page-hero h1 {

    font-size: 42px;

  }


  .business-page-hero h1 span {

    font-size: 14px;

  }


  .business-section {

    width:
      calc(100% - 30px);

    padding:
      70px 0;

  }


  .business-section-gray {

    padding-left: 15px;

    padding-right: 15px;

  }


  .business-section-heading h2 {

    font-size: 28px;

  }


  .business-intro {

    grid-template-columns: 1fr;

    gap: 45px;

  }


  .business-intro-image img {

    height: 280px;

  }


  .business-intro-text h3 {

    font-size: 23px;

  }


  .business-card-grid {

    grid-template-columns: 1fr;

  }


  .business-card-image {

    height: 220px;

  }


  .business-capability {

    grid-template-columns: 1fr;

    gap: 45px;

  }


  .business-capability-list {

    grid-template-columns: 1fr;

  }


  .business-flow {

    grid-template-columns: 1fr;

    gap: 12px;

  }


  .business-flow-item:not(:last-child)::after {

    content: "↓";

    right: auto;

    left: 50%;

    top: auto;

    bottom: -21px;

    transform:
      translateX(-50%);

  }


  .business-construction {

    min-height: 450px;

    padding: 45px 25px;

  }


  .business-construction-content h2 {

    font-size: 28px;

  }


  .business-cta h2 {

    font-size: 28px;

  }

}


/* ==================================================
   小さいスマホ
================================================== */

@media (max-width: 480px) {


  .business-page-hero {

    height: 420px;

  }


  .business-page-hero h1 {

    font-size: 36px;

  }


  .business-section-heading {

    margin-bottom: 40px;

  }


  .business-card-body {

    padding:
      25px 22px;

  }


  .business-construction {

    padding:
      40px 22px;

  }

}

/* ========================================
COMPANY / 会社情報ページ
======================================== */

/* ===== ページタイトル ===== */

.company-page-title {
min-height: 430px;


display: flex;
align-items: center;
justify-content: center;

text-align: center;
color: #ffffff;

background:
    linear-gradient(
        135deg,
        rgba(8, 32, 65, 0.96),
        rgba(25, 118, 210, 0.82)
    );

}

.company-page-title-inner p {
margin: 0 0 8px;


font-size: 14px;
font-weight: 700;

letter-spacing: 0.35em;


}

.company-page-title-inner h1 {
margin: 0;


font-size: 52px;
font-weight: 700;

letter-spacing: 0.12em;


}

.company-page-title-inner span {
display: block;


margin-top: 15px;

font-size: 14px;
letter-spacing: 0.08em;


}

/* ===== セクション共通 ===== */

.company-profile,
.company-business,
.company-access {
max-width: 1100px;


margin: 0 auto;

padding: 110px 30px;


}

.company-business {
max-width: none;


background: #f5f7fa;


}

.company-business > *,
.company-business-list {
max-width: 1100px;
margin-left: auto;
margin-right: auto;
}

/* ===== セクションタイトル ===== */

.company-section-title {
display: flex;
align-items: flex-start;


gap: 25px;

margin-bottom: 55px;


}

.company-section-title > span {
color: #1976d2;


font-size: 15px;
font-weight: 700;

letter-spacing: 0.1em;

padding-top: 8px;


}

.company-section-title p {
margin: 0 0 5px;


color: #1976d2;

font-size: 12px;
font-weight: 700;

letter-spacing: 0.3em;


}

.company-section-title h2 {
margin: 0;


font-size: 36px;

letter-spacing: 0.08em;


}

/* ===== 会社情報 ===== */

.company-profile-card {
border-top: 4px solid #1976d2;


background: #fff;

box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.07);


}

.company-profile-row {
display: grid;


grid-template-columns: 220px 1fr;

border-bottom: 1px solid #e1e6eb;


}

.company-profile-row:last-child {
border-bottom: none;
}

.company-profile-label {
padding: 22px 25px;


background: #edf3f9;

color: #1c4168;

font-size: 15px;
font-weight: 700;


}

.company-profile-value {
padding: 22px 30px;


background: #fff;

font-size: 15px;


}

/* ===== 事業内容 ===== */

.company-business {
padding-left: 30px;
padding-right: 30px;
}

.company-business-list {
display: grid;


grid-template-columns: repeat(2, 1fr);

gap: 20px;


}

.company-business-item {
position: relative;


display: flex;
align-items: flex-start;

gap: 25px;

padding: 35px;

background: #fff;

border: 1px solid #e3e8ed;

transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;


}

.company-business-item:hover {
transform: translateY(-5px);


box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.08);


}

.business-number {
color: #1976d2;


font-size: 14px;
font-weight: 700;

letter-spacing: 0.08em;


}

.business-text h3 {
margin: 0 0 10px;


font-size: 20px;


}

.business-text p {
margin: 0;


color: #666;

font-size: 14px;

line-height: 1.8;


}

/* ===== アクセス ===== */

.company-access {
padding-bottom: 120px;
}

.company-access-box {
display: grid;


grid-template-columns: 40% 60%;

min-height: 420px;

background: #fff;

box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.07);


}

.company-access-info {
padding: 50px;
}

.company-access-info h3 {
margin: 0 0 40px;


font-size: 24px;


}

.access-detail {
margin-bottom: 30px;
}

.access-detail span {
display: block;


margin-bottom: 5px;

color: #1976d2;

font-size: 11px;
font-weight: 700;

letter-spacing: 0.2em;


}

.access-detail p {
margin: 0;


color: #555;

font-size: 14px;

line-height: 1.8;


}

/* ===== Google MAP ===== */

.company-map {
min-height: 420px;
}

.company-map iframe {
display: block;


width: 100%;
height: 100%;

min-height: 420px;

border: 0;


}

.map-placeholder {
width: 100%;
height: 100%;
min-height: 420px;


display: flex;
flex-direction: column;

align-items: center;
justify-content: center;

background: #e8edf2;

color: #687682;

text-align: center;


}

.map-placeholder span {
font-size: 22px;
font-weight: 700;


letter-spacing: 0.08em;


}

.map-placeholder p {
margin: 8px 0 0;


font-size: 13px;


}

/* ===== スマートフォン ===== */

@media (max-width: 768px) {


.company-page-title {
    min-height: 350px;
}

.company-page-title-inner h1 {
    font-size: 38px;
}


.company-profile,
.company-business,
.company-access {
    padding: 75px 20px;
}


.company-section-title {
    gap: 15px;

    margin-bottom: 35px;
}

.company-section-title h2 {
    font-size: 30px;
}


.company-profile-row {
    grid-template-columns: 1fr;
}

.company-profile-label {
    padding: 14px 18px;
}

.company-profile-value {
    padding: 18px;
}


.company-business {
    padding-left: 20px;
    padding-right: 20px;
}

.company-business-list {
    grid-template-columns: 1fr;
}

.company-business-item {
    padding: 25px;
}


.company-access-box {
    grid-template-columns: 1fr;
}

.company-access-info {
    padding: 35px 25px;
}

.company-map,
.company-map iframe,
.map-placeholder {
    min-height: 300px;
}

}

/* =========================================
   ACCESS スライダー
========================================= */
.access-slider {
position: relative;

max-width: 1100px;

margin: 0 auto;

overflow: hidden;

}

/* ===== スライド全体 ===== */

.access-track {
display: flex;

transition:
    transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);

}

.access-slide {
flex: 0 0 100%;

width: 100%;

}

/* ===== アクセスボックス ===== */

.access-slide .company-access-box {
margin: 0;
}

/* ===== 拠点名 ===== */

.access-location {
margin-bottom: 8px;

color: #1976d2;

font-size: 11px;
font-weight: 700;

letter-spacing: 0.25em;

}

.company-access-info h3 {
margin-top: 0;
}

/* ===== 左右ボタン ===== */

.access-prev,
.access-next {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;

    border: none;
    border-radius: 50%;

    background: #1976d2;
    color: #fff;

    font-size: 34px;
    line-height: 1;

    cursor: pointer;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


/* ← 左矢印 */
.access-prev {
    left: -65px;
}


/* → 右矢印 */
.access-next {
    right: -65px;
}


/* ホバー時 */
.access-prev:hover,
.access-next:hover {
    background: #0d5cad;
    transform: scale(1.08);
}


/* ===== ドット ===== */

.access-dots {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 12px;
    margin-top: 30px;
}


.access-dot {
    width: 10px;
    height: 10px;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: #cbd5df;

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}


.access-dot.active {
    width: 30px;
    border-radius: 10px;
    background: #1976d2;
}

/* ===== スマートフォン ===== */

@media (max-width: 768px) {

.access-slider {
    width: 100%;
}

.access-slide .company-access-box {
    display: flex;

    flex-direction: column;
}

.access-prev,
.access-next {
    width: 40px;
    height: 40px;

    margin-top: -20px;

    font-size: 28px;
}

.access-prev {
    left: 10px;
}

.access-next {
    right: 10px;
}

.company-access-info {
    padding: 35px 25px;
}

.company-map {
    min-height: 280px;
}

.company-map iframe,
.map-placeholder {
    min-height: 280px;
}

}
/* ===== 会社概要 Googleマップ ===== */

.company-map {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 0 16px 16px 0;
}

.company-map iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: 400px;
  border: 0;
}


/* ===== スマホ ===== */

@media (max-width: 768px) {

  .company-map {
    width: 100%;
    border-radius: 0 0 16px 16px;
  }

  .company-map iframe {
    width: 100% !important;
    height: 300px;
  }

}