body {
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
  background: #fff;
  color: #222;
}

/* 全体の最大幅と左右余白 */
.container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ナビゲーションバー高さを元に戻す＆全体幅・メニュー調整 */
.custom-navbar {
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
  min-height: 36px;
}
.photo-mg {
margin-top: -20px;
margin-bottom: -20px;
}
.custom-navbar .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.custom-navbar .navbar-nav .nav-link {
  padding-top: 0.2rem !important;
  padding-bottom: 0.2rem !important;
  font-size: 1.25rem;
  margin-left: -10px;
}
.navbar .container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}
.navbar-nav {
  flex-wrap: nowrap !important;
  overflow-x: visible !important;
  white-space: nowrap;
}
.navbar-nav .nav-link {
  color: #fff !important;
  display: flex;
  align-items: center;
  transition: transform 0.2s, color 0.2s;
  letter-spacing: 0.01em;
  justify-content: center;
}
.navbar-nav .nav-item {
  flex: 1 1 0;
  text-align: center;
  margin: 0 0.1rem;
}

/* ●のデザイン（白） */
.nav-dot {
  color: #fff;
  font-size: 0.8em;
  margin-right: 0.4em;
  display: inline-block;
  transform: translateY(-1px);
}
/* マウスオーバー時に拡大表示 */
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
  transform: scale(1.13);
  color: #ffe082 !important;
}
/* スマホ時のハンバーガーメニュー調整 */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    font-size: 1rem;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .navbar .container {
    max-width: 98vw;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .custom-navbar {
    min-height: 28px;
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
  }
  .navbar-nav .nav-item {
    margin: 0;
  }
}

/* ナビゲーション下のユーティリティバー */
.nav-utility-bar {
  margin-bottom: 2.5rem !important;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border: none !important;
  background: transparent !important;
}
.to-page-dot {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.nav-icons a {
  color: #c13584;
  transition: color 0.2s;
}
.nav-icons a:hover {
  opacity: 0.7;
}
.news-link {
  color: #222 !important;
  font-weight: 600;
  text-decoration: none !important;
  border: none !important;
  margin-left: 0;
  padding-left: 0;
}

/* メインタイトル */
.cube-title {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.3rem;
}
.cube-main-title {
  font-size: 3.5rem;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  letter-spacing: 0.2em;
  margin-bottom: 0.2rem;
}
.cube-since {
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: #444;
  margin-bottom: 1.5rem;
}

/* キャッチコピー */
.cube-catch {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.cube-catch-o {
  color: #c0392b;
  font-weight: bold;
}
.cube-catch-d {
  color: #c0392b;
  font-weight: bold;
}

/* 説明文 */
.cube-desc.mb-4 {
  margin-bottom: 10rem !important;
  font-size: 1rem;
  color: #222;
  line-height: 2;
}

/* サービス一覧 */
.cube-services {
  font-size: 1.08rem;
}
.cube-services strong {
  font-weight: 600;
  letter-spacing: 0.03em;
}
.cube-services > div {
  margin-bottom: 0.6rem !important;
}

/* ===== 固定フッター全体 ===== */
.footer-fixed {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  z-index: 2000;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.03);
  margin: 0;
  padding: 0;
  border: none;
}
/* ===== フッター内のテキスト部分 ===== */
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 1.2rem;
  padding-bottom: 1em;   /* 黒帯との間隔を極限まで詰める */
  line-height: 1.1;
  background: transparent;
  border: none;
}
/* フッター内のテキスト色 */
.footer-fixed,
.footer-fixed .footer-inner,
.footer-fixed .footer-inner div,
.footer-fixed .footer-inner small {
  color: #222 !important;
}
/* コピーライト右寄せ部分の余白を消す */
.footer-inner .text-end {
  margin-top: 0 !important;
}
/* コピーライトの下余白も消す */
.footer-inner small {
  margin-bottom: 0 !important;
  line-height: 1.1;
  display: inline-block;
}
/* ===== 黒帯部分 ===== */
.footer-bottom-bar-fixed {
  width: 100vw;
  min-height: 14px;              /* 黒帯の高さはお好みで調整可 */
  background: #222;
  opacity: 0.95;
  margin-top: 0 !important;      /* 黒帯上の余白を完全にゼロに */
  margin-bottom: 0;
  padding: 0;
  border: none;
}
/* ===== メインコンテンツが隠れないように下余白を確保 ===== */
body, main, .container {
  padding-bottom: 90px !important;
}

/* WORKSページ用追加 */
.works-title {
  font-family: 'Noto Sans JP', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.works-number {
  color: #d23;
  font-size: 2rem;
  font-weight: bold;
}
.works-logo-label {
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}
.works-logo {
  max-width: 500px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -20px;
}
.works-logo12 {
  max-width: 500px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}
.works-logo4 {
  max-width: 200px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -20px;
}
.adv-section-container {
  max-width: 900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.works-section {
  margin-bottom: 5.5rem !important;
}
/* ロゴ2列レイアウト用 */
.works-logo-list .col-6 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
/* ロゴ4列レイアウト用 */
.works-logo-list .col-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
@media (max-width: 575.98px) {
  .works-logo-list .col-3 {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .adv-section-container {
      max-width: 550px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
}
.midasi1 {
width:15%;
}
.midasi2 {
width:55%;
margin-top:50px;
}
.midasi3 {
width:55%;
margin-top:50px;
}
.midasi3-1 {
width:55%;
margin-top:50px;
margin-left: 0px;
}
.midasi4 {
width:100%;
}

.pamphlet {
 margin-left: 150px;
}

.wc4 {
padding-left: 40px;
padding-right: 40px;
}
@media (max-width: 575.98px) {
  .works-logo-list .col-6 {
    max-width: 100%;
    flex: 0 0 100%;
  }
}

/* レスポンシブ微調整 */
@media (max-width: 767.98px) {
  .cube-main-title {
    font-size: 2.2rem;
  }
  .cube-catch {
    font-size: 1.2rem;
  }
  .cube-services {
    font-size: 0.98rem;
  }
  .cube-title {
    font-size: 0.98rem;
  }
  .cube-since {
    font-size: 0.93rem;
  }
  .container {
    max-width: 97vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .nav-utility-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
  .nav-icons {
    justify-content: flex-end;
  }
  .footer-inner {
    padding-top: 0.7rem;
    font-size: 0.90rem;
  }
  .footer-bottom-bar-fixed {
    min-height: 10px;
  }
  body, main, .container {
    padding-bottom: 70px !important;
  }
}
.toplogo {
margin-top: 200px;
}
.topcopy {
margin-top: 30px;
}
.rowlogo2 {
padding: 30px;
}
.rowlogo3 {
padding: 30px;
}

@media (max-width: 575.98px) {
  .rowlogo2 {
margin-left:-40px;
padding-top:0px;
}
.midasi1 {
width:40%;
}
.midasi2 {
width:100%;
}
.midasi3 {
width:120%;
}

.midasi4 {
width:50%;
}

.pamphlet {
 margin-left: 0px;
}

  .rowlogo3 {
margin-left:0;
}
 .rowlogo4 {
margin-left:0;
}
}

/* ハンバーガーボタン・メニューはデフォルト非表示 */
.hamburger-btn, .hamburger-menu {
  display: none;
}

/* 黒帯のヘッダー（スマホ専用） */
.hamburger-header-bar {
  display: none;
}
@media (max-width: 991px) {
  .hamburger-header-bar {
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;             /* 黒帯の高さ */
    background: #222;         /* 黒帯 */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0 10px;
  }
  .hamburger-btn {
    display: flex;
    flex-direction: column;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1200;
    margin-left: auto; /* 右寄せ */
  }
  .hamburger-btn span {
    display: block;
    width: 22px;
    height: 3px;
    margin: 3px 0;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
  }
  .hamburger-menu {
    display: none;
    position: fixed;
    top: 48px; /* 黒帯の下から表示 */
    left: 0;
    width: 100%;
    background: #222;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .hamburger-menu.open {
    display: block;
  }
  .hamburger-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .hamburger-menu li {
    border-bottom: 1px solid #333;
  }
  .hamburger-menu a {
    display: block;
    padding: 18px 18px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: 0.05em;
  }
  .hamburger-menu a:hover {
    background: #444;
    color: #fff;
  }
  .hamburger-menu .nav-dot {
    color: #fff;
    margin-right: 8px;
    font-size: 1.2em;
    vertical-align: middle;
  }
  .navbar { display: none !important; }
}

/* デフォルトでは非表示（PC用） */
.sp-br {
  display: none;
}

/* スマホ時のみ表示 */
@media (max-width: 991px) {
  .sp-br {
    display: inline;
  }
}

@media (max-width: 991px) {
  .nav-utility-bar {
    justify-content: flex-start !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
  .to-page-dot {
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    flex: none !important;
    width: auto !important;
    align-self: flex-start !important;
  }
}

@media (max-width: 991px) {
  .to-page-dot {
    padding-left: 12px !important; /* お好みで数値調整（例: 8px, 16px など） */
  }
}

.cube-services img {
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
  will-change: transform;
}
.cube-services img:hover,
.cube-services img:focus {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 2;
}

/* ===== バナー拡大用スタイル整理ここから ===== */

.banner-img-wrap {
  position: relative;
  overflow: visible;
  border-radius: 8px;
  background: #fff;
  display: inline-block;
  padding: 12px;
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 5.5rem !important;
}

.banner-img {
  position: absolute;
  left: 0;
  bottom: 0;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  transform: translateZ(0);
  padding: 8px;
  background: transparent;
  transform-origin: left bottom;
  border: none !important;
  box-shadow: none !important;
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  transform: translateZ(0);
  padding: 8px;
  background: transparent;
  transform-origin: left bottom;
  border: none !important;
  box-shadow: none !important;
}

.banner-img:hover,
.banner-img:focus {
  transform: scale(4.0);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 2;
}

/* ===== バナー拡大用スタイル整理ここまで ===== */

.cube-services > .banner-img-wrap {
  margin-bottom: 6.5rem !important;
}


.banner-img-wrap {
  position: relative;
  overflow: visible;
  border-radius: 8px;
  background: #fff;
  display: inline-block;
  padding: 12px;
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 5.5rem !important;
}


@media (min-width: 992px) {
  .navbar-nav.w-100.nav-justified {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 820px;   /* 全体幅を900pxに */
    margin: 0 auto;
    padding: 0;
    gap: 0.6rem;        /* 項目間隔を1.2remに */
  }
  .navbar-nav.w-100.nav-justified .nav-item {
    flex: none !important;
    min-width: 0;
  }
}




.footer-simple {
  background: #fff; /* 必要なら #f8f8f8 など */
  padding: 2.5rem 0 1.2rem 0;
  text-align: center;
  border-top: 1px solid #eee;
}
.footer-simple .footer-info h5 {
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}
.footer-simple .footer-info p {
  font-size: 1rem;
  margin-bottom: 0.7rem;
  line-height: 1.8;
}
.footer-simple .copyrights {
  font-size: 0.92rem;
  color: #888;
  letter-spacing: 0.02em;
}
@media (max-width: 575.98px) {
  .footer-simple {
    padding: 2rem 0 1rem 0;
  }
  .footer-simple .footer-info p {
    font-size: 0.97rem;
  }
  .footer-simple .copyrights {
    font-size: 0.85rem;
  }
}



.footer-simple {
  background: #fff;
  padding: 2.5rem 0 1.2rem 0;
  text-align: center;
  border-top: none; /* ← 境界線を消す */
}
.footer-simple .footer-info h5 {
  font-size: 1.55rem;   /* 社名をより大きく */
  font-weight: bold;
  margin-bottom: 0.7rem;
  letter-spacing: 0.08em;
}
.footer-simple .footer-info p {
  font-size: 1.22rem;   /* 住所〜emailをさらに大きく */
  margin-bottom: 0.9rem;
  line-height: 1.9;
  text-align: center;
  word-break: break-all; /* モバイルでの折返しも考慮 */
}
.footer-simple .copyrights {
  font-size: 1.05rem;
  color: #888;
  letter-spacing: 0.02em;
}
@media (max-width: 575.98px) {
  .footer-simple {
    padding: 2rem 0 1rem 0;
  }
  .footer-simple .footer-info p {
    font-size: 1.02rem;
  }
  .footer-simple .copyrights {
    font-size: 0.92rem;
  }
}


.footer-simple .footer-info p.footer-address {
  font-size: 1.22rem;
  margin-bottom: 0.9rem;
  text-align: center;
  word-break: break-all;
  line-height: 1.9;
}


/* PCでは改行しない */
.footer-email-break {
  display: none;
}
/* スマホ時だけ改行 */
@media (max-width: 575.98px) {
  .footer-email-break {
    display: inline;
  }
}





.banner-img:hover,
.banner-img:focus {
  transform: scale(4.0);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 2;
}






.cube-services > div {
  margin-bottom: 0.6rem !important;
}

.row.cube-services {
  margin-top: 0 !important;
}

.to-page-link a {
  display: inline-block;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
  letter-spacing: 0.01em;
}

.to-page-link a:hover,
.to-page-link a:focus {
  transform: scale(1.13);
  color: #d4b200 !important; /* ←暗い黄色に */
}
.to-page-link .nav-dot {
  color: #222;
  margin-right: 0.4em;
  display: inline-block;
  transition: color 0.2s;
}

.to-page-link a:hover .nav-dot,
.to-page-link a:focus .nav-dot {
  color: #d4b200 !important; /* ←暗い黄色に */
}

@media (max-width: 575.98px) {
  .to-page-link {
    text-align: left !important;
  }
  .to-page-link a {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: inline-block;
  }
}

@media (max-width: 575.98px) {
  .to-page-link {
    text-align: left !important;
    width: 100%;
  }
  .nav-utility-bar {
    justify-content: flex-start !important;
  }
}

@media (max-width: 575.98px) {
  .to-page-link {
    text-align: left !important;
    width: 100%;
  }
  .nav-utility-bar {
    justify-content: flex-start !important;
  }
}

@media (max-width: 575.98px) {
  .to-page-link {
    text-align: left !important;
    width: 100%;
    margin-left: 2rem !important;   /* ← 強制的に余白を追加 */
  }
}

.mail-label {
  display: inline-block;
  min-width: 16em; /* メールアドレスの長さに合わせて調整 */
}

.mail-indent {
  display: inline-block;
  padding-left: 6.4em; /* 「E-mail 」＋1つ目のアドレスの長さに合わせて調整 */
  text-indent: 0;
}

.mail-label {
  display: inline-block;
  min-width: 17em; /* ここは見た目で調整。 */
}

.mail-indent {
  display: inline-block;
  padding-left: 7.2em; /* 「E-mail 」部分＋1つ目のアドレス長に合わせて調整 */
  text-indent: 0;
}

.mail-table {
  border: none;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
}
.mail-table td {
  border: none;
  padding: 0 0 0.2em 0;
  font-size: 1em;
  vertical-align: top;
}

.banner-img {
  transition: transform 0.6s linear;
  will-change: transform;
  padding: 8px; /* 余白をつける */
  background: transparent;
  /* ↓↓↓ ここを追加 ↓↓↓ */
  transform-origin: left bottom;
}

@media (max-width: 575.98px) {
  .cube-services > div {
    margin-bottom: 0 !important;
    padding-right: 2rem !important;
  }
  .banner-img-wrap {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .banner-img {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
