/* style.css */

/* SPヘッダー＆SPメニュー初期状態 */
.mobile-header,
.mobile-header .hamburger,
nav.globalMenuSp {
  display: none;
}

/* PC幅 */
/* PC幅 */
@media (min-width: 769px) {
  /* ① container 化 */
  .site-header .header-inner {
    max-width: 1200px;    /* スライダーと同じ幅に */
    margin: 0 auto;       /* 真ん中に寄せる */
    padding: 28px 0 6px;  /* 上／左右／下の余白 → 左右は0に */
    
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }



 /* ② リンクは折り返し禁止 */
  nav.site-nav {
    white-space: nowrap;
  }

  /* ③ メニュー項目を横並び */
  nav.site-nav ul {
    display: flex;
    list-style: none;
    gap: 60px;
  }
}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base styles */
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  color: #333;
}
/* サイト全体のベースフォントを Inter に統一 */
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;  /* 通常本文は Regular */
  line-height: 1.6;
  color: #fff;        /* 全体が白文字前提の場合 */
}

/* Font Face */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
}

/* Header */
.site-header {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s, color 0.3s;
}
.site-header.scrolled {
  background: #000;
}
.site-header.scrolled .site-nav a {
  color: #fff;
}
.site-header.scrolled .logo img {
  content: url('images/cue_logo_white.svg');
}

/* ハンバーガーボタン（PCでは非表示） */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  width: 30px;
  height: 25px;
}
.menu-toggle .hamburger,
.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  content: '';
  display: block;
  background-color: #333;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  position: absolute;
  transition: all 0.3s ease;
}
.menu-toggle .hamburger {
  top: 50%;
  transform: translateY(-50%);
}
.menu-toggle .hamburger::before {
  top: -10px;
}
.menu-toggle .hamburger::after {
  top: 10px;
}

/* PCナビゲーション */
.site-nav {
  align-items: flex-end;
  padding-bottom: 15px;
}

/* SP幅（768px以下）の切り替え設定 */
@media (max-width: 768px) {

  /* ① PC用ヘッダーを隠す */
  .site-header {
    display: none;
  }

  /* ② モバイルヘッダーを固定表示 */
  .mobile-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top:    0;
    left:   0;
    width: 100%;
    padding: 12px 0;
    background: #fff;
    z-index: 1000;
  }

  /* ③ SPロゴ */
  .logo-sp {
    width: 128px;
    height: auto;
  }

  /* ④ ハンバーガーボタンをモバイルで表示 */
  .mobile-header .hamburger {
    display: block;
  }

  /* ⑤ SPメニュー（初期は非表示） */
  nav.globalMenuSp {
    display: none;
    position: fixed;
    top:    60px;                           /* ヘッダーの高さ分だけ下げる */
    left:   0;
    width: 100%;
    height: calc(100vh - 60px);            /* 画面残り全高 */
    background: rgba(71, 70, 73, 0.6);
    z-index: 999;
    overflow-y: auto;                      /* アイテムがあふれたらスクロール */
    padding-top: 120px;                    /* リンク群を下へずらす */
  }
  /* SPメニュー開いたとき */
  nav.globalMenuSp.active {
    display: block;
  }

  /* ⑥ SPメニュー内リンク */
  nav.globalMenuSp ul li a {
    display: block;
    font-size: 120%;       /* フォント120％ */
    letter-spacing: 0.1em; /* 文字間広げる */
    color: #fff;
    padding: 1em 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent; /* タップハイライト消去 */
  }
  /* ホバー・フォーカス時の色変化を完全無効化 */
  nav.globalMenuSp ul li a:hover,
  nav.globalMenuSp ul li a:focus,
  nav.globalMenuSp ul li a:active {
    background: none !important;
    color: #fff !important;
    text-decoration: none !important;
  }

  /* ⑦ PCヘッダー内の nav.site-nav は隠す */
  .site-nav {
    display: none;
  }
}
z

/* スムーススクロール用のオフセット調整（固定ヘッダー対策） */
[id]::before {
  content: "";
  display: block;
  height: 200px;
  margin-top: -200px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 40px 6px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: flex-end;
  padding-bottom: 15px;
}
.logo a {
  display: inline-block;
  text-decoration: none;
}
.logo img {
  width: 260px;
  height: auto;
  transition: all 0.3s;
}
.site-nav {
  display: flex;
  align-items: flex-end;
  padding-bottom: 15px;
}
.site-nav ul {
  display: flex;
  gap: 60px;
  list-style: none;
}
.site-nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}
.site-nav a:hover {
  text-decoration: underline;
}

/* Slider */
#slider {
  margin-top: 90px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
.slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 120px auto 0;
  overflow: hidden;
}
.slide {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 2.3s ease-out;
}
.slide img {
  width: 100%;
  height: auto;
  display: block;
}
.slide.active {
  opacity: 1;
  position: relative;
  z-index: 1;
}

.slider-dots {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}
.slider-dots a.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  border-radius: 50%;
  background-color: #D9D9D9;
  transition: background-color 0.3s;
  text-indent: -9999px;
  overflow: hidden;
}
.slider-dots a.dot.active {
  background-color: #313131;
}

.intro {
  text-align: left;
  color: #fff;
  padding: 120px 20px 80px;
}
.section-title {
  display: block;
  max-width: 400px;
  margin: 0 auto 44px;
}
.section-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.intro-text p {
  margin-bottom: 12px;
  line-height: 1.6;
}
.intro-text p:first-of-type {
  font-size: 24px;
}
.intro-text p:not(:first-of-type) {
  font-size: 20px;
}

/* WHAT'S CUE */
.whats-cue {
  background: #78C0E0;
  margin-top: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 40px 40px;
}
/* WHAT'S CUE セクションの位置調整：画像とロゴ・テキストの左端を揃える */
.whats-cue {
  background: #78C0E0;
  margin-top: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 0 40px;  /* 左右paddingは削除 */
}

.whats-cue .section-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;  /* ← 余白はここで一元管理（全幅対応） */
}

.whats-cue .section-title {
  display: block;
  max-width: 400px;
  margin: 0 0 44px;  /* ← margin-left削除 */
}

.whats-cue .intro-text {
  margin: 0 0 40px;   /* ← margin-left削除 */
  max-width: 700px;
}

.whats-cue .video-placeholder {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 40px;
  background: none;
  height: auto;
}

.whats-cue .video-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}


/* COMMUNICATION CRAFTS */
/* COMMUNICATION CRAFTS：ロゴ・文章・画像の左端を揃える */
.communication-crafts {
  background: #A47164;
  margin-top: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 0 40px;  /* 左右paddingは削除、セクション外余白のみ */
}

.communication-crafts .section-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;  /* ← 画像の左右余白と揃えるための基準 */
}

.communication-crafts .section-title {
  display: block;
  max-width: 400px;
  margin: 0 0 44px;  /* 左寄せ */
}

.communication-crafts .intro-text {
  margin: 0 0 40px;  /* 左寄せに調整 */
  max-width: 700px;
}

.communication-crafts .intro-text p:first-of-type {
  font-size: 20px;
}

.communication-crafts .video-placeholder {
  width: 100%;
  max-width: 1040px;  /* ← WHAT'S CUEの画像幅と完全一致 */
  margin: 0 auto 40px;
  background: none;
  height: auto;
}

.communication-crafts .video-placeholder img {
  width: auto;
  height: 386px;
  display: block;
}



/* Placeholder boxes */
.video-placeholder,
.thumb-placeholder,
.map-placeholder {
  background: #ccc;
}
.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === WORKS Section === */
.works {
  background: #A39F80;
  color: #fff;
  padding: 80px 40px;
  max-width: 1200px;
  margin: 40px auto 40px;
}

/* タイトルロゴのサイズと左寄せを厳格に指定 */
.works-logo-wrapper {
  text-align: left;
  max-width: 400px;
  margin-left: 0;
  margin-bottom: 44px;
  /* タイトル位置を左端に寄せる */
}
.works-logo {
  width: auto;
  height: auto;
  max-height: 56px;
  /* 必要に応じてmax-width: 100%; も追加 */
}
.section-title {
  margin-left: 40px;
}

.works-video .video-placeholder {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 40px;
  background: none;
  display: block;
}

.works-video .video-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
}

.works-category {
  margin-bottom: 40px;
}
.works-category:last-of-type {
  margin-bottom: 0;   /* ← 最後のカテゴリの下余白を消す（重要！） */
}
.works-category h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 50px;
  text-align: center;
  margin-bottom: 4px;
}
.works-category hr {
  max-width: 1015px;
  width: 100%;
  border: none;
  border-top: 1px solid #fff;
  margin: 0 auto 24px;
}
.category-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* === サムネイルグリッド（PC: 3列x2段）=== */
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 325px);
  grid-auto-rows: auto;
  justify-content: center;
  column-gap: 20px;
  row-gap: 20px;
  margin-bottom: 0;
}

.thumb-item {
  width: 325px;
  margin-bottom: 0;
}
.thumb-placeholder {
  width: 325px;
  height: 222px;
  background: #ccc;
  display: block;
}
.client-name,
.project-name {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  margin: 4px 0 0;
  line-height: 1.2;
  text-align: left;
}

/* 最終行の.project-nameの下余白を完全になくす */
.thumb-grid .thumb-item:nth-last-child(-n+3) .project-name {
  margin-bottom: 0 !important;
}
/* .thumb-item自体の下余白も完全になくす */
.thumb-grid .thumb-item:last-child {
  margin-bottom: 0 !important;
}

/* .thumb-grid 自体の余白も詰める */
.works-category .thumb-grid {
  margin-bottom: 0 !important;
}

/* === SP: 2列×3段 === */
@media (max-width: 767px) {
  .works-category {
    padding: 0 16px;  /* ← 左右に16pxの内側余白 */
  }

  .thumb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .thumb-grid .thumb-item:nth-last-child(-n+2) .project-name {
    margin-bottom: 0 !important;
  }

  .works-category hr {
    width: calc(325px * 2 + 20px);
    margin: 0 auto 16px;
  }
}

/* About us */
/* フッターとの隙間をネガティブマージンで詰めている（要・高さ変動に注意） */
.about-us {
  background: #7DAA92;
  color: #fff;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding: 64px 0 60px 0;
  font-family: 'Inter', sans-serif;
}

.about-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.about-head {
  margin-bottom: 28px;
}

.about-logo {
  display: block;
  height: 56px;
  margin-bottom: 0;
}

.about-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.about-outline {
  flex: 1 1 0;
  margin-right: 48px;
}

.about-title,
.access-title,
.section-title {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.about-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  line-height: 1.9; /* ゆとりある行間 */
  font-size: 16px;
  color: #fff;
}


.about-table th,
.about-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 16px 14px 0; /* 上・右・下・左 */
}

.about-table tr:last-child td {
  padding-bottom: 0;
}

.about-image {
  width: 352px;
  height: 386px;
  text-align: right;
  flex-shrink: 0;
}

.about-image img {
  width: 352px;
  height: 386px;
  object-fit: cover;
  display: block;
}

/* Accessセクション */
.access-hr {
  border: none;
  border-top: 1px solid #fff;
  margin: 56px 0 40px 0;
  width: 100%;
  max-width: 1040px;
}

.access-section {
  max-width: 1040px;
  margin: 0 auto;
}

.access-section .section-title {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 18px;
}


.access-table {
  max-width: 1040px;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 16px;
  color: #fff;
}

.access-table table {
  width: 100%;
  border-collapse: collapse;
}

.access-table th,
.access-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 16px 14px 0;
}

/* th の幅を統一 */
.about-table th,
.access-table th {
  width: 160px;
  white-space: nowrap;
}

.access-info a {
  color: #fff;
  text-decoration: underline;  /* ← これが必要 */
}

/* Google Map をグレースケール（白黒）に */
.map-gray {
  filter: grayscale(100%) brightness(0.92) contrast(1.03);
  -webkit-filter: grayscale(100%) brightness(0.92) contrast(1.03); /* Safari対応 */
}

.google-map-link a {
  color: #fff; /* 白文字に */
  text-decoration: underline;
  font-size: 16px;
  display: inline-block;
  margin-bottom: 16px;  /* iframeとのスペース確保 */
}


.google-map-iframe {
  width: 1040px;
  height: 498px;
  margin: 0 auto 0 auto;
}

.google-map-iframe iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}
@media (max-width: 768px) {
  .google-map-iframe {
    width: 92vw;         /* 画面幅の92%にして左右余白を確保 */
    height: 660px;       /* 縦長表示 */
    margin: 0 auto 40px; /* 中央揃え＋下余白調整 */
  }

  .google-map-iframe iframe {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 24px;
  }
  .about-image,
  .about-image img {
    width: 100%;
    max-width: 352px;
    height: auto;
    margin: 0 auto;
    text-align: center;
  }
}

#outline, #contact, #privacy-policy, #access {
  display: none !important;
}


/* フッター背景ラッパー */
.site-footer-wrapper {
  width: 100%;
  background: #555;
}

/* PCのみ中央固定幅に制限 */
@media (min-width: 769px) {
  .site-footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* フッター本体 */
.site-footer {
  color: #fff;
  padding: 60px 10px 10px;
}

/* 内容ラッパー */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* カラムレイアウト */
.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin: 0 auto 20px auto;
}

/* 各カラム共通 */
.footer-col {
  flex: 1;
  text-align: center;
}

/* 左寄せカラム（Works・About Us） */
.footer-col-left {
  text-align: left !important;
}

.footer-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 16px;
}

/* リスト設定 */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}
.footer-col a:hover {
  text-decoration: underline;
}

/* コピーライト（常に中央） */
.footer-copyright {
  text-align: center;
  font-size: 14px;
  margin: 0 auto;
  padding: 0;
}

/* SP レイアウト */
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .footer-col {
    text-align: left;
  }

  .footer-title {
    text-align: left;
  }

  .footer-copyright {
    text-align: center !important;
  }
}


/* Fade-in on scroll animation */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease 0.6s, transform 1.2s ease 0.6s;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.section-title.fade-up {
  will-change: opacity, transform;
}

.communication-crafts .intro-text p:first-of-type {
  font-size: 20px;
}


/* ハンバーガーメニューボタン */
.hamburger {
  display : block;
  position: fixed;
  z-index : 3;
  right : 20px;
  top   : 20px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background : #BBBBBB;
  transition: 0.3s ease-in-out;
}
.hamburger span:nth-child(1) { top: 10px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 30px; }

.hamburger.active span:nth-child(1) {
  top : 16px;
  background :#fff;
  transform: rotate(-45deg);
}
.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  background :#fff;
  transform: rotate(45deg);
}

nav.globalMenuSp {
  position: fixed;
  z-index : 2;
  top  : 0;
  left : 0;
  color: #fff;
  background: rgba(71,70,73,0.6);
  text-align: center;
  width: 100%;
  opacity: 0;
  display: none;
  transition: opacity .6s ease, visibility .6s ease;
}
nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  transition: .4s all;
}
nav.globalMenuSp ul li:hover {
  background :#ddd;
}
nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;
}
nav.globalMenuSp.active {
  opacity: 1;
  display: block;
}
/* --- Policy Modal --- */
.policy-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.2);
  align-items: flex-start;       /* 上部に寄せる */
  justify-content: center;       /* 横中央 */
  z-index: 9999;
  padding-top: 40px;             /* 上部の余白。必要に応じて調整 */
}
.policy-modal.active {
  display: flex;                 /* ここでflexにする！ */
}

.policy-modal-content {
  background: #fff;
  color: #333;
  padding: 40px 44px 80px 44px;
  border-radius: 12px;
  position: relative;
  max-width: 900px;
  width: 90vw;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 12px 32px rgba(0,0,0,0.20);
  font-family: 'Inter', 'Yu Gothic', '游ゴシック', 'Meiryo', sans-serif;
  font-size: 17px;
  letter-spacing: 0.01em;
  line-height: 2;
  margin-top: 0;                 /* 念のため追加 */
}
.policy-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  z-index: 10;
}
.policy-close-btn img {
  width: 28px;
  height: 28px;
  display: block;
}
.policy-scroll-area {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 8px;
}
.access-hr {
  border: none;
  border-top: 1px solid #fff;
  width: 92%;              /* or 必要な幅 */
  max-width: 1040px;       /* デザインに合わせて調整 */
  margin: 60px auto 40px auto; /* autoで中央寄せ */
  display: block;
}

/* タイトル・見出し */
.policy-modal-content h2 {
  font-size: 2.0rem;
  margin: 36px 0 18px 0;
  font-weight: 700;
}
.policy-modal-content h3 {
  font-size: 1.1rem;
  margin: 26px 0 10px 0;
  font-weight: 700;
}
.policy-modal-content ol, 
.policy-modal-content ul {
  padding-left: 1.8em;
  margin: 12px 0 20px 0;
  font-size: 1em;
}
.policy-modal-content ol li,
.policy-modal-content ul li {
  margin-bottom: 4px;
  line-height: 1.7;
}
.policy-modal-content p {
  margin: 12px 0;
}

/* 署名部（右寄せ） */
.policy-sign-area {
  text-align: right;
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.7;
}

/* ISMS認証説明ボックス */
.isms-certification {
  display: flex;
  align-items: flex-start;
  margin-top: 30px;
  gap: 24px;
  padding: 18px 0 0 0;
  border-top: 1px solid #e2e2e2;
}
.isms-certification .isms-imgs {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.isms-certification img {
  width: 92px;
  height: auto;
  margin: 0 0 0 0;
  display: block;
}
.isms-certification-texts {
  flex: 1 1 auto;
}
.isms-certification-texts h4,
.isms-certification-texts strong {
  font-size: 1.07em;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #444;
  display: block;
}
.isms-certification-texts p {
  font-size: 0.98em;
  color: #444;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}
#policy-link {
  color: #fff !important;
  text-decoration: underline; /* 下線が必要なら追加、不要なら消してください */
  font-weight: 400; /* お好みで */
}
#policy-link:visited {
  color: #fff !important;
}
#policy-link:hover,
#policy-link:active {
  color: #cce4ff !important; /* ホバー時などに薄いブルー系など任意で */
}
.about-outline .section-title,
.access-section .section-title {
  margin-left: 0 !important;
  font-weight: 300 !important;
  font-size: 40px !important;
  letter-spacing: 0.01em !important;
  text-align: left !important;
}

/* モバイル対応 */
@media (max-width: 767px) {
  .policy-modal-content {
    padding: 10px 2vw 40px 2vw;
    font-size: 14px;
    width: 98vw;
    max-width: 99vw;
  }
  .policy-modal-content h2 {
    font-size: 1.2rem;
  }
  .policy-sign-area {
    font-size: 0.98em;
    margin-top: 16px;
  }
  .isms-certification {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .isms-certification .isms-imgs {
    gap: 10px;
  }
  .isms-certification img {
    width: 64px;
  }
  .isms-certification-texts h4,
  .isms-certification-texts strong {
    font-size: 1em;
    margin-bottom: 6px;
  }
  .isms-certification-texts p {
    font-size: 0.95em;
  }
.about-outline .section-title,
.access-section .section-title {
  margin-left: 0 !important;
  font-weight: 300 !important;
  font-size: 40px !important;
  letter-spacing: 0.01em !important;
  text-align: left !important;
}

}
/* WORKS 事例サムネイル：画像サイズは変更せず縦幅だけを広げる */
.thumb-item {
  min-height: 300px;    /* PC時の最低高さ。お好みで調整可 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* 画像を上、テキストを下に */
  align-items: center;
  /* width指定は変更しない（既存のwidth:325pxをそのまま活かす） */
}

@media (max-width: 767px) {
  .thumb-item {
    min-height: 220px;   /* SP時の最低高さ。お好みで調整可 */
  }
}
/* Government Promotion 説明文下の余白を拡大（PC・SP対応） */
.category-desc {
  margin-bottom: 60px !important;   /* PC時の余白を広げる。お好みで数値調整 */
}

@media (max-width: 767px) {
  .category-desc {
    margin-bottom: 60px !important; /* SP時の余白も拡大 */
  }
}
/* WORKS 事例のクライアント名・プロジェクト名を左寄せ */
.thumb-item {
  align-items: flex-start !important;  /* テキストを左寄せ */
}

.client-name,
.project-name {
  text-align: left !important;
  width: 100%;   /* ボックス内で左端に揃う */
  margin-left: 0 !important;
}
/* プライバシーポリシー署名3行だけ右寄せ */
.policy-sign {
  text-align: right;
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.7;
}
/* ISMS認証ロゴを大きく表示（例：120pxに拡大）*/
.isms-certification img {
  width: 120px !important;    /* お好みで調整可（例：120px） */
  height: auto !important;    /* 縦横比維持 */
  margin: 0 0 0 0;
  display: block;
}
/* Creative Workカテゴリ「だけ」、最後の行だけ高さを詰める */
#creative-work .thumb-item:nth-child(n+4) {
  min-height: 280px !important;   /* 必要な数値で調整 */
}
@media (max-width: 767px) {
  /* 背景と事例グリッドの間に左右余白を設ける */
  .works-category {
    padding: 0 16px;
    box-sizing: border-box;
  }

  /* グリッド本体が枠からはみ出さないように */
  .thumb-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 各サムネイルも100%内に収まるように */
  .thumb-item {
    max-width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 767px) {
  .works-category {
    padding: 0 16px;
    box-sizing: border-box;
  }

  .thumb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .thumb-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 auto;
  }

  .thumb-item img {
    width: 100%;
    height: auto;
    display: block;
  }
}

