
/* =========================================
   SHINODA 公式サイト
   共通CSS
========================================= */

/* -----------------------------------------
   基本設定
----------------------------------------- */

:root {
  --shinoda-navy: #043669;
  --shinoda-blue: #1d70c9;
  --shinoda-light: #edf4fb;
  --shinoda-white: #ffffff;
}

body {
  font-family: "Noto Sans JP", sans-serif;
}


/* =========================================
   共通ヘッダー
========================================= */

.header-wrap {
  position: relative;
  z-index: 100;
  width: 100%;
  background: #fff;
}

.header {
  width: 100%;
  box-sizing: border-box;
}

.header-title {
  margin: 0;
}

.header-title-link {
  display: flex;
  align-items: center;
}

.header-logo {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
}


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

@media (min-width: 1350px) {

  /* トップページはメインビジュアルに重ねる */
  body.blog1-top .header-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
  }

  .header-wrap .header {
    display: grid;
    grid-template-columns: 251px minmax(0, 1fr) 120px;
    align-items: center;
    column-gap: 0px;
    width: 100%;
    max-width: 1440px;
    height: 96px;
    min-height: 96px;
    padding: 0 0 0 40px;
    margin: 0 auto;
    background: transparent;
    box-sizing: border-box;
  }

/* XD：ロゴ X=40px、Y=40px、幅190px */
.header-wrap .header-logo {
  width: 190px;
  max-width: none;
  height: auto;
  transform: translateY(6px);
}

  /* ロゴ */
  .header-item-wrap {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .header-logo {
    width: 190px;
    height: auto;
  }

  /* ナビゲーション */
  .header-item-nav {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .header-item-nav .global-nav {
    width: 100%;
  }

  .header-item-nav .global-nav > .global-nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 24px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .header-item-nav .global-nav > .global-nav-list > .global-nav-item {
    position: relative;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
  }

  .header-item-nav .global-nav > .global-nav-list > .global-nav-item > .global-nav-link {
     display: block;
  height: auto;
  box-sizing: border-box;
  padding: 20px 0 0;
  margin: 0;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
}

  /* 下層ページ */
  body:not(.blog1-top) .header-item-nav
  .global-nav > .global-nav-list >
  .global-nav-item > .global-nav-link {
    color: #043669;
    text-shadow: none;
  }

  /* 親テーマの矢印を非表示 */
  .header-item-nav .global-nav-item > .global-nav-link::before,
  .header-item-nav .global-nav-item > .global-nav-link::after {
    display: none !important;
  }

  /* ドロップダウン */
  .header-item-nav .global-nav-list .global-nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 200;
    width: max-content;
    min-width: 210px;
    max-width: 340px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
  }

  .header-item-nav .global-nav-item:hover > .global-nav-list,
  .header-item-nav .global-nav-item:focus-within > .global-nav-list {
    display: block;
  }

  .header-item-nav .global-nav-list .global-nav-list > .global-nav-item {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .header-item-nav .global-nav-list .global-nav-list .global-nav-link {
    display: block;
    padding: 12px 16px;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    white-space: normal;
    text-decoration: none;
    text-shadow: none;
    background: #fff;
  }

  .header-item-nav .global-nav-list .global-nav-list .global-nav-link:hover {
    color: #1C6ECD;
    background: #f1f6fc;
  }

  /* 右端2段ボタン */
  .shinoda-header-actions {
    display: flex;
    flex-direction: column;
    width: 120px;
    height: 96px;
  }

  .shinoda-header-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 48px;
    box-sizing: border-box;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    text-shadow: none;
    transition: filter .2s ease;
  }

  .shinoda-header-contact {
    background: #1C6ECD;
  }

  .shinoda-header-shop {
    background: #043669;
  }

  .shinoda-header-actions a:hover {
    color: #fff;
    filter: brightness(1.12);
  }
}



/* =========================================
   タブレット・スマートフォン
========================================= */

@media (max-width: 1349px) {

  .header-wrap {
    position: relative;
    background: #fff;
  }

  .header-wrap .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 20px;
  }

  .header-logo {
    width: 150px;
  }

  .header-item-nav,
  .shinoda-header-actions {
    display: none;
  }
}

@media (max-width: 767px) {

  .header-wrap .header {
    min-height: 68px;
    padding: 0 16px;
  }

  .header-logo {
    width: 135px;
  }
}

/* =========================================
   共通フッター
   XD基準：1440px / 高さ640px
========================================= */

.footer.shinoda-footer {
  position: relative;
  width: 100%;
  margin: 0;
  background: #043669;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  box-sizing: border-box;
}

.shinoda-footer > .acms-container {
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================
   会社情報・ロゴ
========================================= */

.shinoda-footer-company {
  min-width: 0;
}

.shinoda-footer-logo {
  display: inline-block;
  margin: 0 0 36px;
  color: #fff;
  text-decoration: none;
}

.shinoda-footer-logo img {
  display: block;
  width: 197px;
  max-width: 100%;
  height: auto;
}

.shinoda-footer-address p {
  margin: 0 0 8px;
  color: #fff;
  font-size: 13px;
  line-height: 1.8;
}

.shinoda-footer-company-name {
  font-size: 16px !important;
  font-weight: 700;
}

/* =========================================
   フッターナビゲーション
========================================= */

.shinoda-footer-navigation,
.shinoda-footer-navigation nav {
  width: 100%;
  min-width: 0;
}

.shinoda-footer-nav-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  column-gap: 20px;
  row-gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shinoda-footer-nav-item {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer.shinoda-footer .shinoda-footer-navigation a,
.footer.shinoda-footer .shinoda-footer-navigation a:link,
.footer.shinoda-footer .shinoda-footer-navigation a:visited,
.footer.shinoda-footer .shinoda-footer-navigation a:hover,
.footer.shinoda-footer .shinoda-footer-navigation a:focus {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 36px;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  text-decoration: none !important;
  text-decoration-line: none !important;
}


/* 白丸の位置をXDに合わせる */
.footer.shinoda-footer .shinoda-footer-navigation .shinoda-footer-nav-list > a {
  position: relative;
  padding-left: 16px;
}

.footer.shinoda-footer .shinoda-footer-navigation .shinoda-footer-nav-list > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 50%;
  background: #fff;
}
/* =========================================
   右側ボタン
========================================= */

.shinoda-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer.shinoda-footer .shinoda-footer-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 240px;
  height: 60px;
  padding: 0 20px;
  border: 1px solid #fff;
  border-radius: 4px;
  box-sizing: border-box;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: background .3s ease, color .3s ease;
}

.footer.shinoda-footer .shinoda-footer-button:hover {
  background: #fff;
  color: #043669;
}

/* =========================================
   下段：コピーライト・ポリシー
========================================= */

.shinoda-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0 0;
  border-top: 1px solid rgba(255,255,255,.7);
  box-sizing: border-box;
}

.shinoda-footer-bottom small {
  color: #fff;
  font-size: 12px;
}

.shinoda-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  color: #fff;
  font-size: 12px;
}

.shinoda-footer a:hover {
  opacity: .8;
}

/* =========================================
   PC：XD配置
========================================= */

@media (min-width: 1200px) {

  .footer.shinoda-footer {
    height: 640px;
  }

  .shinoda-footer > .acms-container {
    position: relative;
    height: 100%;
  }

  .shinoda-footer-main {
    display: grid;
    grid-template-columns: 360px 500px 240px;
    column-gap: 40px;
    align-items: start;
    padding: 80px 0 0;
  }

  .shinoda-footer-bottom {
    position: absolute;
    top: 369px;
    left: 0;
    right: 0;
  }
}

/* =========================================
   タブレット
========================================= */

@media (min-width: 768px) and (max-width: 1199px) {

  .shinoda-footer-main {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    padding: 65px 0;
  }

  .shinoda-footer-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .shinoda-footer-bottom {
    padding: 28px 0 50px;
  }
}

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

@media (max-width: 767px) {

  .shinoda-footer > .acms-container {
    width: calc(100% - 32px);
  }

  .shinoda-footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 50px 0 40px;
  }

  .shinoda-footer-nav-list {
    grid-template-rows: none;
    grid-auto-flow: row;
    row-gap: 18px;
    column-gap: 16px;
  }

  .footer.shinoda-footer .shinoda-footer-navigation a {
    font-size: 13px;
    line-height: 1.6;
  }

  .shinoda-footer-actions {
    flex-direction: column;
  }

  .footer.shinoda-footer .shinoda-footer-button {
    width: 100%;
  }

  .shinoda-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0 40px;
  }

  .shinoda-footer-legal {
    gap: 12px 20px;
  }
}


/* =========================================
   トップページ
========================================= */

.shinoda-top {
  overflow: hidden;
}

.shinoda-container {
  width: min(100% - 48px, 1190px);
  margin: 0 auto;
}

/* メインビジュアル */
.shinoda-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 760px;
  padding: 130px 24px 80px;
  background: #708498;
  box-sizing: border-box;
}

.shinoda-hero-inner {
  width: 100%;
  text-align: center;
}

.shinoda-hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
}

/* 共通セクション */
.shinoda-section {
  padding: 100px 0;
}

.shinoda-section-heading {
  margin-bottom: 48px;
  text-align: center;
}

.shinoda-section-en {
  display: block;
  margin-bottom: 10px;
  color: var(--shinoda-blue);
  font-size: 16px;
  font-weight: 700;
}

.shinoda-section-heading h2 {
  margin: 0;
  color: var(--shinoda-navy);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.5;
}

.shinoda-section-body {
  min-height: 180px;
}

/* セクション背景 */
.shinoda-reason,
.shinoda-voice,
.shinoda-service {
  background: var(--shinoda-light);
}

.shinoda-works,
.shinoda-news {
  background: #fff;
}

@media (max-width: 767px) {

  .shinoda-container {
    width: min(100% - 32px, 1190px);
  }

  .shinoda-hero {
    min-height: 560px;
    padding: 110px 16px 60px;
  }

  .shinoda-section {
    padding: 60px 0;
  }

  .shinoda-section-heading {
    margin-bottom: 30px;
  }

  .shinoda-section-body {
    min-height: 100px;
  }
}


/* =========================================
   トップページ ヘッダー最終動作調整
========================================= */

/* メインビジュアル上に固定 */
body.blog1-top .header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: transparent;
  transition: background-color .3s ease,
              box-shadow .3s ease;
}

/* スクロール後は白背景 */
body.blog1-top .header-wrap.is-scrolled {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

/* ロゴの表示を確保 */
body.blog1-top .header-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  opacity: 1;
  visibility: visible;
  filter: none;
}

/* PCナビゲーション */
@media (min-width: 1200px) {

  /* ドロップダウンを使わない */
  .header-item-nav .global-nav-list .global-nav-list {
    display: none !important;
  }

  /* ホバー時に下線 */
  .header-item-nav .global-nav > .global-nav-list >
  .global-nav-item > .global-nav-link:hover,
  .header-item-nav .global-nav > .global-nav-list >
  .global-nav-item > .global-nav-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 6px;
  }

  /* 白背景になったら濃紺の文字 */
  body.blog1-top .header-wrap.is-scrolled
  .global-nav > .global-nav-list >
  .global-nav-item > .global-nav-link {
    color: #043669;
    text-shadow: none;
  }
}

/* =========================================
   PCヘッダー：ロゴ領域の修正
========================================= */
@media (min-width: 1200px) {

  .header-wrap .header > .header-item-wrap {
    display: flex !important;
    align-items: center;
    flex: 0 0 180px !important;
    width: 180px !important;
    min-width: 180px !important;
    height: auto !important;
  }

  .header-wrap .header-item-wrap .header-title {
    display: block;
    width: 100%;
    margin: 0;
  }

  .header-wrap .header-item-wrap .header-title-link {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .header-wrap .header-item-wrap .header-logo {
    display: block !important;
    width: 180px !important;
    max-width: 100%;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .header-wrap .header > .header-item-nav {
    flex: 1 1 0 !important;
    min-width: 0;
  }
}


/* =========================================
   REASON 選ばれる理由
========================================= */

.shinoda-section.shinoda-reason {
  padding: 0;
  background: #043669;
  color: #fff;
}

.shinoda-reason-heading {
  padding: 70px 20px 55px;
  text-align: center;
}

.shinoda-reason-heading h2 {
  margin: 8px 0 24px;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.5;
}

.shinoda-reason-heading p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
}

.shinoda-reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.shinoda-reason-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 348 / 520;
  background: #24578b;
}

.shinoda-reason-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shinoda-reason-card h3 {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0 12px;
  transform: translateY(-50%);
  box-sizing: border-box;
  color: #fff;
  font-size: clamp(16px, 1.6vw, 28px);
  font-weight: 800;
  text-align: center;
}

.shinoda-reason-number {
  position: absolute;
  bottom: 12px;
  left: 16px;
  color: #bbdcff;
  font-size: clamp(32px, 3vw, 60px);
  font-weight: 700;
  line-height: 1;
}

.shinoda-reason-bottom {
  padding: 65px 20px;
  text-align: center;
}

.shinoda-reason-bottom p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
}

/* タブレット */
@media (max-width: 1000px) {
  .shinoda-reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホ */
@media (max-width: 767px) {
  .shinoda-reason-heading {
    padding: 50px 16px 35px;
  }

  .shinoda-reason-heading p,
  .shinoda-reason-bottom p {
    font-size: 18px;
  }

  .shinoda-reason-grid {
    gap: 8px;
  }

  .shinoda-reason-card h3 {
    font-size: 20px;
  }

  .shinoda-reason-bottom {
    padding: 45px 16px;
  }
}


/* =========================================
   信頼と実績
========================================= */

.shinoda-trust {
  background-color: #043669;
  background-image: url("/themes/shinoda@root@site/images/bg_gara.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  color: #fff;
}

.shinoda-trust-inner {
  width: min(100% - 48px, 1190px);
  margin: 0 auto;
  padding: 65px 0 120px;
}

.shinoda-trust-lead {
  margin: 0 0 48px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
  text-align: center;
}

.shinoda-trust-banner {
  width: min(100%, 780px);
  margin: 0 auto;
}

.shinoda-trust-banner img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .shinoda-trust-inner {
    width: min(100% - 32px, 1190px);
    padding: 45px 0 70px;
  }

  .shinoda-trust-lead {
    margin-bottom: 32px;
    font-size: 18px;
  }
}

.shinoda-trust-banner a {
  display: block;
}

.shinoda-trust-banner a img {
  display: block;
  width: 100%;
  height: auto;
}


/* =========================================
   信頼と実績：スマホ専用設定
========================================= */

@media (max-width: 767px) {

  .shinoda-trust-banner {
    width: min(100%, 320px);
  }

  .shinoda-trust {
    background-image: url("/themes/shinoda@root@site/images/bg_gara-sp@2x.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
  }

}


/* =========================================
   WORKS オフィスデザイン実績
========================================= */

.shinoda-section.shinoda-works {
  padding: 110px 0 130px;
  background: #fff;
}

/* 見出し */
.shinoda-works-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.shinoda-works-heading h2 {
  margin: 8px 0 0;
  color: #043669;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.5;
}

/* 一覧ボタン */
.shinoda-works-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 240px;
  min-height: 60px;
  padding: 0 24px;
  border: 1px solid #1d70c9;
  border-radius: 4px;
  box-sizing: border-box;
  background: #1d70c9;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .3s, color .3s;
}

.shinoda-works-button:hover {
  background: #fff;
  color: #1d70c9;
}

.shinoda-works-button span:last-child {
  font-size: 24px;
  transition: transform .3s;
}

.shinoda-works-button:hover span:last-child {
  transform: translateX(5px);
}

/* =========================================
   実績カード配置
========================================= */

.shinoda-works-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.7fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 20px;
}

/* 共通カード */
.shinoda-works-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  color: #333;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.shinoda-works-image {
  flex: 0 0 62%;
  min-height: 0;
  overflow: hidden;
  background: #e5ebf1;
}

.shinoda-works-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.shinoda-works-card:hover img {
  transform: scale(1.04);
}

.shinoda-works-card-content {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 16px 20px;
  box-sizing: border-box;
}

.shinoda-works-pickup-label {
  display: none;
}

.shinoda-works-category {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  border: 1px solid #777;
  border-radius: 3px;
  color: #333;
  font-size: 12px;
  line-height: 1.5;
}

.shinoda-works-card-title {
  margin: 0;
  color: #333;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.shinoda-works-arrow {
  display: none;
}

/* =========================================
   1件目のみ大きく表示
========================================= */

.shinoda-works-card:first-child {
  grid-row: span 2;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.shinoda-works-card:first-child .shinoda-works-image {
  position: absolute;
  inset: 0;
}

.shinoda-works-card:first-child .shinoda-works-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 74%;
  height: auto;
  min-height: 200px;
  padding: 30px 36px;
  background: rgba(4, 54, 105, .8);
  color: #fff;
}

.shinoda-works-card:first-child
.shinoda-works-pickup-label {
  display: block;
  margin-bottom: 18px;
  color: #40a2ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
}

.shinoda-works-card:first-child
.shinoda-works-category {
  border-color: #fff;
  color: #fff;
}

.shinoda-works-card:first-child
.shinoda-works-card-title {
  color: #fff;
}

.shinoda-works-card:first-child
.shinoda-works-arrow {
  display: block;
  position: absolute;
  right: 24px;
  top: 50%;
  color: #fff;
  font-size: 28px;
}

/* =========================================
   タブレット
========================================= */

@media (max-width: 1100px) {
  .shinoda-works-card:first-child
  .shinoda-works-card-content {
    width: 85%;
    padding: 24px;
  }
}


/* =========================================
   WORKS スマホ用横スライダー
========================================= */

@media (max-width: 767px) {

  .shinoda-section.shinoda-works {
    padding: 80px 0 90px;
  }

  /* 見出し中央揃え */
  .shinoda-works-heading {
    display: block;
    margin-bottom: 36px;
    text-align: center;
  }

  .shinoda-works-heading h2 {
    font-size: 28px;
    line-height: 1.5;
  }

  /* PC用ボタンはスマホで非表示 */
  .shinoda-works-heading .shinoda-works-button {
    display: none;
  }

  /* 横スライダー */
  .shinoda-works-grid {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding: 2px 0 8px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .shinoda-works-grid::-webkit-scrollbar {
    display: none;
  }

  /* 全カード共通 */
  .shinoda-works-card,
  .shinoda-works-card:first-child {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 min(320px, calc(100vw - 64px));
    width: min(320px, calc(100vw - 64px));
    height: 320px;
    min-height: 320px;
    grid-row: auto;
    overflow: hidden;
    scroll-snap-align: start;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    box-sizing: border-box;
  }

  /* 画像 */
  .shinoda-works-image,
  .shinoda-works-card:first-child .shinoda-works-image {
    position: relative;
    inset: auto;
    flex: 0 0 160px;
    width: 100%;
    height: 160px;
    min-height: 0;
  }

  /* テキストエリア */
  .shinoda-works-card-content,
  .shinoda-works-card:first-child .shinoda-works-card-content {
    position: relative;
    inset: auto;
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 16px 20px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
  }

  /* PICK UPはスマホで非表示 */
  .shinoda-works-card:first-child .shinoda-works-pickup-label {
    display: none;
  }

  /* カテゴリー */
  .shinoda-works-category,
  .shinoda-works-card:first-child .shinoda-works-category {
    margin-bottom: 8px;
    border-color: #777;
    color: #333;
    font-size: 12px;
  }

  /* タイトル */
  .shinoda-works-card-title,
  .shinoda-works-card:first-child .shinoda-works-card-title {
    margin: 0 0 8px;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
  }

  /* 概要文 */
  .shinoda-works-card-summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #444;
    font-size: 14px;
    line-height: 1.7;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  /* カード内の矢印を非表示 */
  .shinoda-works-card:first-child .shinoda-works-arrow {
    display: none;
  }

  /* 左右の丸い矢印 */
  .shinoda-works-sp-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }

  .shinoda-works-prev,
  .shinoda-works-next {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #3d638b;
    color: #fff;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
  }


/* XD風の細いくの字矢印 */
.shinoda-works-prev::before,
.shinoda-works-next::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.shinoda-works-prev::before {
  transform: rotate(135deg);
}

.shinoda-works-next::before {
  transform: rotate(-45deg);
}


  /* 下部の一覧ボタン */
  .shinoda-works-button-sp {
    display: flex;
    width: 240px;
    min-width: 240px;
    height: 60px;
    min-height: 60px;
    margin: 18px auto 0;
    padding: 0 20px;
  }
}

/* PC・タブレットではスマホ用操作を非表示 */
@media (min-width: 768px) {
  .shinoda-works-sp-controls,
  .shinoda-works-button-sp,
  .shinoda-works-card-summary {
    display: none !important;
  }
}



/* =========================================
   CUSTOMER VOICE お客様の声
========================================= */

/* CUSTOMER VOICE 背景 */
.shinoda-section.shinoda-voice {
  padding: 110px 0 120px;
  background: transparent
    url("/themes/shinoda@root@site/images/voice-bg@2x.png")
    center top / 100% 100% no-repeat;
}


/* 見出し */
.shinoda-voice-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.shinoda-voice-heading h2 {
  margin: 8px 0 0;
  color: #043669;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.5;
}

/* 一覧ボタン */
.shinoda-voice-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 240px;
  min-height: 60px;
  padding: 0 24px;
  border: 1px solid #1d70c9;
  border-radius: 4px;
  box-sizing: border-box;
  background: #1d70c9;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .3s, color .3s;
}

.shinoda-voice-button:hover {
  background: #fff;
  color: #1d70c9;
}

.shinoda-voice-button-arrow {
  font-size: 24px;
  transition: transform .3s;
}

.shinoda-voice-button:hover
.shinoda-voice-button-arrow {
  transform: translateX(5px);
}

/* =========================================
   カード配置
========================================= */

.shinoda-voice-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.shinoda-voice-card {
  display: grid;
  grid-template-columns: 32% minmax(0, 1fr);
  min-height: 285px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  color: #043669;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
}

/* 左側の画像 */
.shinoda-voice-image {
  min-height: 0;
  overflow: hidden;
  background: #dce5ed;
}

.shinoda-voice-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.shinoda-voice-card:hover
.shinoda-voice-image img {
  transform: scale(1.04);
}

/* =========================================
   右側テキスト
========================================= */

.shinoda-voice-content {
  position: relative;
  min-width: 0;
  padding: 42px 60px 36px 48px;
  box-sizing: border-box;
}

/* 左上の引用符 */
.shinoda-voice-content::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 14px;
  width: 30px;
  height: 22px;
  background-image: url("/themes/shinoda@root@site/images/引用符A@2x.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/* 右下の引用符 */
.shinoda-voice-content::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 30px;
  height: 22px;
  background-image: url("/themes/shinoda@root@site/images/引用符B@2x.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/* タイトル */
.shinoda-voice-title {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 20px;
  color: #043669;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

/* タイトル下の水色ライン */
.shinoda-voice-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 4px;
  background: #b9d2f0;
}

/* 本文抜粋 */
.shinoda-voice-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* 会社名：後でCMS連携 */
.shinoda-voice-company {
  margin: 14px 0 0;
  color: #043669;
  font-size: 14px;
  font-weight: 700;
}

/* =========================================
   右側の矢印画像
========================================= */

.shinoda-voice-arrow {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 30px;
  height: 48px;
  transform: translateY(-50%);
  background-image: url("/themes/shinoda@root@site/images/i class=fa-sharp fa-thin fa-angle-right-i@2x.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transition: right .3s ease;
}

.shinoda-voice-card:hover
.shinoda-voice-arrow {
  right: 15px;
}


/* =========================================
   CUSTOMER VOICE スマホ
========================================= */

@media (max-width: 767px) {

  .shinoda-section.shinoda-voice {
    padding: 65px 0 80px;
  }

  /* 見出し中央寄せ */
  .shinoda-voice-heading {
    display: block;
    margin-bottom: 30px;
    text-align: center;
  }

  .shinoda-voice-heading h2 {
    font-size: 30px;
    line-height: 1.5;
  }

  /* PC用一覧ボタンはスマホで非表示 */
  .shinoda-voice-heading .shinoda-voice-button {
    display: none;
  }

  /* カード */
  .shinoda-voice-card {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 8px;
  }

  /* XD：写真の高さ268px */
  .shinoda-voice-image {
    height: 268px;
  }

  /* カード本文 */
  .shinoda-voice-content {
    padding: 35px 44px 40px 24px;
  }

  /* 左上の引用符 */
  .shinoda-voice-content::before {
    left: 14px;
  }

  /* タイトル */
  .shinoda-voice-title {
    font-size: 20px;
    line-height: 1.5;
  }

  /* 概要文 */
  .shinoda-voice-summary {
    font-size: 16px;
    line-height: 1.75;
    -webkit-line-clamp: 5;
  }

  /* スマホ用一覧ボタン */
  .shinoda-voice-button-sp {
    display: flex;
    width: 240px;
    min-width: 240px;
    height: 60px;
    min-height: 60px;
    margin: 40px auto 0;
  }
}

/* PCではスマホ用ボタンを非表示 */
@media (min-width: 768px) {
  .shinoda-voice-button-sp {
    display: none !important;
  }
}



/* =========================================
   NEWS・TOPICS
========================================= */


/* =========================================
   NEWS・TOPICS 背景パララックス
========================================= */


/* =========================================
   NEWS 背景パララックス
========================================= */

.shinoda-section.shinoda-news {
  padding: 110px 0 120px;
  background: url("/themes/shinoda@root@site/images/bg_news@2x.png")
    center center / cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}



/* スマートフォンでは通常背景 */
@media (max-width: 767px) {
  .shinoda-section.shinoda-news {
    background-attachment: scroll;
  }
}

/* 見出し */
.shinoda-news-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.shinoda-news-heading h2 {
  margin: 8px 0 0;
  color: #043669;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 800;
}

/* 一覧ボタン */
.shinoda-news-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 240px;
  min-height: 60px;
  padding: 0 24px;
  border-radius: 4px;
  background: #1d70c9;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

/* 横スライダー */
.shinoda-news-slider {
  position: relative;
  width: 100%;
}

.shinoda-news-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0 max(24px, calc((100vw - 1190px) / 2));
}

.shinoda-news-track::-webkit-scrollbar {
  display: none;
}

/* ニュースカード */
.shinoda-news-card {
  flex: 0 0 332px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  color: #333;
  text-decoration: none;
  scroll-snap-align: start;
  box-shadow: 0 3px 8px rgba(0,0,0,.08);
}

.shinoda-news-image {
  height: 220px;
  overflow: hidden;
}

.shinoda-news-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shinoda-news-content {
  padding: 20px 24px 24px;
}

.shinoda-news-date {
  display: block;
  margin-bottom: 10px;
  color: #555;
  font-size: 12px;
}

.shinoda-news-title {
  margin: 0 0 12px;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.shinoda-news-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #555;
  font-size: 13px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* 左右スライドボタン */
.shinoda-news-prev,
.shinoda-news-next {
  position: absolute;
  top: 35%;
  z-index: 5;
  width: 72px;
  height: 72px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  font-size: 0;
  cursor: pointer;
}

.shinoda-news-prev {
  left: max(15px, calc((100vw - 1190px) / 2 - 36px));
  background-image: url("/themes/shinoda@root@site/images/btn_left_arrow@2x.png");
}

.shinoda-news-next {
  right: max(15px, calc((100vw - 1190px) / 2 - 36px));
  background-image: url("/themes/shinoda@root@site/images/btn_right_arrow@2x.png");
}


/* =========================================
   NEWS スライダー共通
========================================= */

.shinoda-news-track {
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

/* PC用の画像高さと矢印位置 */
@media (min-width: 768px) {
  .shinoda-news-image {
    height: 214px;
  }

  .shinoda-news-prev,
  .shinoda-news-next {
    top: 107px;
    transform: translateY(-50%);
  }
}

/* =========================================
   NEWS スマホ版
========================================= */

@media (max-width: 767px) {

  .shinoda-section.shinoda-news {
    padding: 80px 0 60px;
    background-image: url("/themes/shinoda@root@site/images/bg_news-sp@2x.png");
    background-position: center top;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }

  /* 見出し */
  .shinoda-news-heading {
    display: block;
    margin-bottom: 32px;
    text-align: center;
  }

  .shinoda-news-heading h2 {
    font-size: 30px;
    line-height: 1.5;
  }

  /* PC用一覧ボタンを非表示 */
  .shinoda-news-heading .shinoda-news-button {
    display: none;
  }

  /* スライダー＋下の矢印 */
  .shinoda-news-slider {
    display: grid;
    grid-template-columns: 60px 60px;
    justify-content: center;
    column-gap: 16px;
    row-gap: 24px;
  }

  .shinoda-news-track {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    width: 100vw;
    gap: 10px;
    padding: 0 16px;
    box-sizing: border-box;
  }

  /* カード幅320px */
  .shinoda-news-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 min(320px, calc(100vw - 48px));
    width: min(320px, calc(100vw - 48px));
    min-height: 335px;
  }

  /* XD：画像高さ162px */
  .shinoda-news-image {
    flex: 0 0 162px;
    height: 162px;
  }

  .shinoda-news-content {
    min-height: 173px;
    padding: 16px 24px 24px;
    box-sizing: border-box;
  }

  /* 矢印をカードの下に配置 */
  .shinoda-news-prev,
  .shinoda-news-next {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: 60px;
    height: 60px;
    transform: none;
  }

  .shinoda-news-prev {
    grid-column: 1;
    grid-row: 2;
  }

  .shinoda-news-next {
    grid-column: 2;
    grid-row: 2;
  }

  /* スマホ用一覧ボタン */
  .shinoda-news-button-sp {
    display: flex;
    width: 240px;
    min-width: 240px;
    height: 60px;
    min-height: 60px;
    margin: 24px auto 0;
  }
}

/* PCでは追加ボタンを非表示 */
@media (min-width: 768px) {
  .shinoda-news-button-sp {
    display: none;
  }
}


/* =========================================
   社内写真ギャラリー
========================================= */


/* ==================================================
   社内写真 ＋ サービス案内
   XD座標に合わせたPCレイアウト

   XDデザイン幅：1440px
   エリア開始：Y = 4834px
   エリア終了：Y = 6075px
   エリア高さ：1241px
================================================== */

@media screen and (min-width: 1200px) {

  /* ==============================================
     共通エリア
  ============================================== */

  .shinoda-decoration-area {
    position: relative;
    width: 100%;
    height: 1241px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
  }


  /* ==============================================
     背景の四角形7個
  ============================================== */

  .shinoda-decoration-layer {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1440px;
    height: 1241px;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
  }

  .shinoda-decoration {
    position: absolute;
    display: block;
    margin: 0;
    padding: 0;
    background: rgba(28, 110, 205, 0.1);
  }

  /* 01 右上
     XD：X1030 / Y4894 / 320×240 */
  .shinoda-decoration.rect-01 {
    left: 1030px;
    top: 60px;
    width: 320px;
    height: 240px;
  }

  /* 02 写真03の左下
     XD：X253 / Y5255 / 220×165 */
  .shinoda-decoration.rect-02 {
    left: 253px;
    top: 421px;
    width: 220px;
    height: 165px;
  }

  /* 03 サービス見出し右側
     XD：X975 / Y5429 / 220×165 */
  .shinoda-decoration.rect-03 {
    left: 975px;
    top: 595px;
    width: 220px;
    height: 165px;
  }

  /* 04 サービス左側・上
     XD：X57 / Y5531 / 320×240 */
  .shinoda-decoration.rect-04 {
    left: 57px;
    top: 697px;
    width: 320px;
    height: 240px;
  }

  /* 05 サービス右側
     XD：X1120 / Y5512 / 320×240 */
  .shinoda-decoration.rect-05 {
    left: 1120px;
    top: 678px;
    width: 320px;
    height: 240px;
  }

  /* 06 サービス左端・下
     XD：X-90 / Y5666 / 400×300 */
  .shinoda-decoration.rect-06 {
    left: -90px;
    top: 832px;
    width: 400px;
    height: 300px;
  }

  /* 07 右下
     XD：X1130 / Y5938 / 220×165 */
  .shinoda-decoration.rect-07 {
    left: 1130px;
    top: 1104px;
    width: 220px;
    height: 165px;
  }


  /* ==============================================
     社内写真4枚
     XDの位置・サイズに合わせる
  ============================================== */

  .shinoda-office-gallery {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 600px;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
  }

  .shinoda-office-gallery-inner {
    position: relative;
    width: 1440px;
    max-width: none;
    height: 600px;
    margin: 0 auto;
    padding: 0;
  }

  .shinoda-gallery-photo {
    position: absolute;
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 4px;
    object-fit: cover;
  }

  /* 写真01
     XD：X80 / Y4954 / 280×210 */
  .shinoda-gallery-photo.photo-01 {
    left: 80px;
    top: 120px;
    width: 280px;
    height: 210px;
  }

  /* 写真03
     XD：X440 / Y5078 / 400×300 */
  .shinoda-gallery-photo.photo-02 {
    left: 440px;
    top: 244px;
    width: 400px;
    height: 300px;
  }

  /* 写真02
     XD：X920 / Y4992 / 260×195 */
  .shinoda-gallery-photo.photo-03 {
    left: 920px;
    top: 158px;
    width: 260px;
    height: 195px;
  }

  /* 写真04
     XD：X1260 / Y5026 / 360×270 */
  .shinoda-gallery-photo.photo-04 {
    left: 1260px;
    top: 192px;
    width: 360px;
    height: 270px;
  }


  /* ==============================================
     サービス案内
     開始基準：XD Y5434
  ============================================== */

  .shinoda-service-top {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 641px;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
  }

  .shinoda-service-inner {
    position: relative;
    width: 1440px;
    max-width: none;
    height: 641px;
    margin: 0 auto;
    padding: 0;
  }


  /* ==============================================
     SERVICE 見出し
     h2：XD Y5524
  ============================================== */

  .shinoda-service-heading {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .shinoda-service-heading > span {
    display: block;
    margin: 0 0 16px;
    padding: 0;
    color: #1c6ecd;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
  }

  .shinoda-service-heading h2 {
    margin: 0;
    padding: 0;
    color: #043669;
    font-size: 46px;
    font-weight: 800;
    line-height: 66px;
  }


  /* ==============================================
     サービスカード4枚
     XD：Y5629 / 280×210
     X：130 / 430 / 730 / 1030
  ============================================== */

  .shinoda-service-cards {
    position: absolute;
    top: 195px;
    left: 130px;
    display: grid;
    grid-template-columns: repeat(4, 280px);
    gap: 20px;
    width: 1180px;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .shinoda-service-card {
    position: relative;
    display: block;
    width: 280px;
    height: 210px;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: auto;
    text-decoration: none;
  }

  .shinoda-service-card > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* カード内のテキストは既存CSSを使用 */
  .shinoda-service-card-content {
    box-sizing: border-box;
  }


  /* ==============================================
     詳しく見るボタン
     XD：X600 / Y5895 / 240×60
  ============================================== */

  .shinoda-service-more {
    position: absolute;
    top: 461px;
    left: 600px;
    width: 240px;
    height: 60px;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .shinoda-service-more a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 240px;
    height: 60px;
    margin: 0;
    padding: 0 24px;
    border-radius: 4px;
    background: #1c6ecd;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .shinoda-service-more a:hover {
    background: #043669;
  }

}



/* =========================================
   タブレット・スマホ
========================================= */

@media (max-width: 1199px) {
  .shinoda-office-gallery-inner {
    width: 100%;
  }

  .shinoda-gallery-photo.photo-01 {
    width: 21%;
  }

  .shinoda-gallery-photo.photo-02 {
    width: 29%;
  }

  .shinoda-gallery-photo.photo-03 {
    width: 20%;
  }

  .shinoda-gallery-photo.photo-04 {
    width: 25%;
  }

  .shinoda-service-card-content h3 {
    font-size: 14px;
  }

  .shinoda-service-card-content p {
    font-size: 11px;
  }
}

@media (max-width: 767px) {

/* 社内写真：スマホ版 */
.shinoda-office-gallery {
  position: relative;
  height: 261px;
  overflow: hidden;
}

.shinoda-office-gallery-inner {
  position: relative;
  width: 100%;
  height: 261px;
  max-width: none;
}

/* 写真の位置を制御 */
.shinoda-gallery-photo {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: cover;
  border-radius: 4px;
}

/* 左の写真 */
.shinoda-gallery-photo.photo-01 {
  left: 16px;
  top: 40px;
  width: 172px;
  height: 129px;
}

/* 右の写真 */
.shinoda-gallery-photo.photo-02 {
  left: 212px;
  top: 76px;
  width: 246px;
  height: 185px;
}

/* スマホでは残り2枚は非表示 */
.shinoda-gallery-photo.photo-03,
.shinoda-gallery-photo.photo-04 {
  display: none;
}

}
/* =========================================
   サービスカード内の文字・矢印
========================================= */

.shinoda-service-card {
  position: relative;
}

.shinoda-service-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 12px 42px 12px 16px;
  background: rgba(4, 54, 105, 0.8);
  color: #fff;
  box-sizing: border-box;
}

.shinoda-service-card-content h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.shinoda-service-card-content p {
  margin: 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
}

.shinoda-service-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}


/* =========================================
   WORKS 一覧ページ
========================================= */

.shinoda-works-page-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* 下層ページのタイトル */

/* WORKS一覧 タイトル背景 */
.shinoda-works-page-hero {
  display: flex;
  align-items: center;
  height: 252px;
  background-color: #043669;
  background-image: url("/themes/shinoda@root@site/images/ctegory-bg.svg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  box-sizing: border-box;
}


.shinoda-works-page-hero span {
  display: block;
  margin-bottom: 8px;
  color: #1d70c9;
  font-size: 18px;
  font-weight: 700;
}

.shinoda-works-page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 46px;
  font-weight: 800;
}

/* 一覧全体 */
.shinoda-works-archive {
  padding: 80px 0 100px;
  background: #fff;
}

/* 3列のカード */
.shinoda-works-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 50px;
  row-gap: 75px;
}

.shinoda-works-archive-card {
  display: block;
  min-width: 0;
  color: #333;
  text-decoration: none;
}

.shinoda-works-archive-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background: #edf4fb;
}

.shinoda-works-archive-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shinoda-works-archive-card h2 {
  margin: 18px 0 8px;
  color: #043669;
  font-size: 18px;
  font-weight: 700;
}

.shinoda-works-archive-summary {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.75;
}

.shinoda-works-archive-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.shinoda-works-archive-tags span {
  padding: 4px 12px;
  border-radius: 3px;
  background: #e5eaf0;
  font-size: 14px;
}

.shinoda-works-archive-date {
  color: #444;
  font-size: 14px;
}

/* ページネーション */
.shinoda-works-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 90px 0;
  color: #043669;
}

.shinoda-works-pagination a,
.shinoda-works-pagination span {
  min-width: 35px;
  padding: 6px;
  text-align: center;
  color: #043669;
  text-decoration: none;
}

.shinoda-works-pagination .cur {
  border-radius: 3px;
  background: #e5eaf0;
}

/* スペース別リンク */
.shinoda-works-space {
  padding: 80px 0 30px;
  border-top: 1px solid #1d70c9;
  text-align: center;
}

.shinoda-works-space h2 {
  margin: 0 0 40px;
  color: #043669;
  font-size: 32px;
  font-weight: 800;
}

.shinoda-works-space-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.shinoda-works-space-links a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #777;
  border-radius: 3px;
  color: #333;
  font-size: 16px;
  text-decoration: none;
}

/* タブレット */
@media (max-width: 1100px) {
  .shinoda-works-archive-grid {
    column-gap: 24px;
  }
}

/* スマートフォン */
@media (max-width: 767px) {
  .shinoda-works-page-container {
    width: calc(100% - 32px);
  }

  .shinoda-works-page-hero {
    height: 200px;
  }

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

  .shinoda-works-archive {
    padding: 50px 0 70px;
  }

  .shinoda-works-archive-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .shinoda-works-pagination {
    margin: 50px 0;
  }

  .shinoda-works-space {
    padding-top: 50px;
  }

  .shinoda-works-space h2 {
    font-size: 24px;
  }

  .shinoda-works-space-links a {
    font-size: 13px;
  }
}


/* =========================================
   WORKS 実績詳細ページ
========================================= */

.shinoda-detail {
  background: #fff;
}

.shinoda-detail-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* タイトル・概要 */
.shinoda-detail-header {
  padding: 65px 0 35px;
}

.shinoda-detail-header h1 {
  margin: 0 0 8px;
  color: #043669;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.5;
}

.shinoda-detail-lead {
  margin: 0 0 20px;
  color: #043669;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.6;
}

.shinoda-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.shinoda-detail-tag {
  padding: 5px 12px;
  border-radius: 3px;
  background: #e5eaf0;
  color: #444;
  font-size: 14px;
}

.shinoda-detail-meta time {
  color: #555;
  font-size: 14px;
}

/* メイン画像 */
.shinoda-detail-gallery {
  width: 100%;
}

.shinoda-detail-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #edf4fb;
}

.shinoda-detail-current {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 左右の矢印 */
.shinoda-detail-prev,
.shinoda-detail-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  transform: translateY(-50%);
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(4,54,105,.8);
  color: #fff;
  font-size: 42px;
  cursor: pointer;
}

.shinoda-detail-prev {
  left: 30px;
}

.shinoda-detail-next {
  right: 30px;
}

/* 写真下のカテゴリー表示 */
.shinoda-detail-image-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px max(24px, calc((100% - 1180px) / 2));
  box-sizing: border-box;
  background: rgba(4,54,105,.55);
  color: #fff;
  font-size: 16px;
}

/* サムネイル */
.shinoda-detail-thumbnails {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 15px 20px 0;
}

.shinoda-detail-thumbnails button {
  width: 120px;
  aspect-ratio: 120 / 68;
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
}

.shinoda-detail-thumbnails button.is-active {
  border-color: #1c6ecd;
}

.shinoda-detail-thumbnails img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* その他の実績 */
.shinoda-detail-related {
  padding: 120px 0 100px;
}

.shinoda-detail-related .shinoda-detail-container {
  padding-top: 70px;
  border-top: 1px solid #1c6ecd;
}

.shinoda-detail-related h2 {
  margin: 0 0 60px;
  color: #043669;
  font-size: 32px;
  font-weight: 800;
  text-align: center;
}

.shinoda-detail-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
}

.shinoda-detail-related-card {
  display: block;
  min-width: 0;
  color: #333;
  text-decoration: none;
}

.shinoda-detail-related-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background: #edf4fb;
}

.shinoda-detail-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shinoda-detail-related-card h3 {
  margin: 15px 0 8px;
  color: #043669;
  font-size: 18px;
  font-weight: 700;
}

.shinoda-detail-related-card p {
  margin: 0 0 15px;
  font-size: 16px;
  line-height: 1.75;
}

.shinoda-detail-related-card time {
  color: #555;
  font-size: 14px;
}

/* 一覧へ戻る */
.shinoda-detail-back {
  margin-top: 80px;
  text-align: center;
}

.shinoda-detail-back a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 240px;
  min-height: 60px;
  padding: 0 24px;
  box-sizing: border-box;
  border-radius: 4px;
  background: #1c6ecd;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

/* スマートフォン */
@media (max-width: 767px) {

  .shinoda-detail-container {
    width: calc(100% - 32px);
  }

  .shinoda-detail-header {
    padding: 45px 0 30px;
  }

  .shinoda-detail-header h1 {
    font-size: 28px;
  }

  .shinoda-detail-lead {
    font-size: 17px;
  }

  .shinoda-detail-prev,
  .shinoda-detail-next {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .shinoda-detail-prev {
    left: 10px;
  }

  .shinoda-detail-next {
    right: 10px;
  }

  .shinoda-detail-thumbnails button {
    width: 68px;
  }

  .shinoda-detail-related {
    padding: 70px 0;
  }

  .shinoda-detail-related h2 {
    font-size: 24px;
  }

  .shinoda-detail-related-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .shinoda-detail-back {
    margin-top: 50px;
  }
}


.shinoda-detail-prev[hidden],
.shinoda-detail-next[hidden] {
  display: none !important;
}


/* =========================================
   COMPANY 会社案内一覧
========================================= */

.shinoda-company-page {
  padding-top: 70px;
  padding-bottom: 100px;
  background: #fff;
}

.shinoda-company-list {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.shinoda-company-item {
  border-bottom: 1px solid #dce5ef;
}

.shinoda-company-item:first-child {
  border-top: 1px solid #dce5ef;
}

.shinoda-company-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 24px;
  color: #043669;
  text-decoration: none;
  transition: background .3s;
}

.shinoda-company-link:hover {
  background: #f1f6fc;
}

.shinoda-company-title {
  font-size: 22px;
  font-weight: 700;
}

.shinoda-company-arrow {
  font-size: 26px;
  color: #1c6ecd;
}

@media (max-width: 767px) {

  .shinoda-company-page {
    padding-top: 45px;
    padding-bottom: 70px;
  }

  .shinoda-company-link {
    padding: 24px 12px;
  }

  .shinoda-company-title {
    font-size: 18px;
  }

}

/* =========================================
   COMPANY 会社案内 詳細ページ
========================================= */

.shinoda-company-entry {
  padding-top: 60px;
  padding-bottom: 100px;
  background: #fff;
}

/* ページタイトル */
.shinoda-company-entry .entry-title,
.shinoda-company-entry .entry-heading {
  color: #043669;
  font-weight: 800;
}

/* スマートフォン */
@media (max-width: 767px) {
  .shinoda-company-entry {
    padding-top: 40px;
    padding-bottom: 70px;
  }
}


/* =========================================
   下層ページ共通タイトル背景
========================================= */

/* 通常の下層ページ ＋ WORKS */
body:not(.blog1-top) .page-title-wrapper,
.shinoda-works-page-hero {
  background-color: #043669;
  background-image: url("/themes/shinoda@root@site/images/ctegory-bg.svg") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* デフォルトテーマの背景フィルターを解除 */
body:not(.blog1-top) .page-title-wrapper .page-title-filter {
  background: transparent !important;
  opacity: 0;
}

/* WORKSの高さはXDに合わせる */
.shinoda-works-page-hero {
  height: 252px;
}

/* スマートフォン */
@media (max-width: 767px) {
  .shinoda-works-page-hero {
    height: 200px;
  }
}


/* =========================================
   全下層ページ タイトル帯の統一
   XD基準：高さ252px
========================================= */

/* タイトル帯の高さ */
body:not(.blog1-top) .page-title-wrapper,
.shinoda-works-page-hero {
  height: 252px !important;
  min-height: 252px !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* デフォルトテーマのタイトル位置 */
body:not(.blog1-top) .page-title-inner {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 0;
  padding: 0 !important;
}

/* WORKSと横幅を統一 */
body:not(.blog1-top) .page-title-inner > .acms-container {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
}

/* 英語 → 日本語の順番に変更 */
body:not(.blog1-top) .page-title-text-wrap {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  text-align: left !important;
}

/* 英語タイトル */
body:not(.blog1-top) .page-title-wrapper .page-title-en {
  margin: 0;
  color: #1d70c9;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

/* 日本語タイトル */
body:not(.blog1-top) .page-title-wrapper .page-title {
  margin: 0;
  color: #fff;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.3;
}

/* スマートフォン */
@media (max-width: 767px) {

  body:not(.blog1-top) .page-title-wrapper,
  .shinoda-works-page-hero {
    height: 200px !important;
    min-height: 200px !important;
  }

  body:not(.blog1-top) .page-title-wrapper .page-title {
    font-size: 30px;
  }

  body:not(.blog1-top) .page-title-wrapper .page-title-en {
    font-size: 14px;
  }

  body:not(.blog1-top) .page-title-inner > .acms-container {
    width: calc(100% - 32px);
  }
}

/* =========================================
   信頼と実績 ホバーアニメーション
========================================= */

.shinoda-trust-banner a {
  position: relative;
  display: block;
  overflow: hidden;
}

/* 白色のオーバーレイ */
.shinoda-trust-banner a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.75);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s ease;
  pointer-events: none;
}

/* マウスホバー時 */
.shinoda-trust-banner a:hover::before,
.shinoda-trust-banner a:focus-visible::before {
  transform: scaleX(1);
 transform-origin: left center;
}

/* 画像 */
.shinoda-trust-banner img {
  display: block;
  width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .shinoda-trust-banner a::before {
    transition: none;
  }
}


/* =========================================
   REASON スクロールアニメーション
========================================= */

/* JavaScriptが有効な場合のみ非表示にする */
.js-reason-ready .shinoda-reason-card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reason-delay, 0s);
}

/* 表示時 */
.js-reason-ready .shinoda-reason-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .js-reason-ready .shinoda-reason-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =========================================
   WORKS スクロールアニメーション
========================================= */

/* 初期状態 */
.js-works-ready .shinoda-top .shinoda-works-card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.2s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--works-delay, 0ms);
}

/* 表示状態 */
.js-works-ready .shinoda-top .shinoda-works-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-works-ready .shinoda-top .shinoda-works-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =========================================
   CUSTOMER VOICE スクロールアニメーション
========================================= */

.js-voice-ready .shinoda-top .shinoda-voice-card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.2s ease,
    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--voice-delay, 0ms);
}

/* 表示状態 */
.js-voice-ready .shinoda-top .shinoda-voice-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .js-voice-ready .shinoda-top .shinoda-voice-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =========================================
   社内写真 横スクロールアニメーション
========================================= */

@media (min-width: 1200px) {

  /* stickyを正常に動かす */
  .shinoda-top {
    overflow: clip;
  }

  .shinoda-decoration-area {
    height: auto;
    overflow: clip;
  }

  /* スクロールするための追加距離 */
  .shinoda-gallery-scroll {
    position: relative;
    height: 1500px;
  }

  /* スクロール中は写真エリアを固定 */
  .shinoda-office-gallery {
    position: sticky;
    top: max(0px, calc((100vh - 600px) / 2));
    z-index: 2;
    height: 600px;
    overflow: clip;
  }

  /* 写真全体を左に動かす */
  .shinoda-office-gallery-inner {
    transform: translate3d(
      var(--gallery-x, 0px),
      0,
      0
    );
    will-change: transform;
  }

  /* SERVICE側の背景装飾も位置を調整 */
  .shinoda-decoration-layer {
    height: 2141px;
  }

  .shinoda-decoration.rect-03,
  .shinoda-decoration.rect-04,
  .shinoda-decoration.rect-05,
  .shinoda-decoration.rect-06,
  .shinoda-decoration.rect-07 {
    transform: translateY(900px);
  }

}



/* =========================================
   SERVICE スクロールアニメーション
========================================= */

/* 初期状態 */
.js-service-ready .shinoda-top .shinoda-service-card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--service-delay, 0ms);
}

/* 表示状態 */
.js-service-ready .shinoda-top .shinoda-service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .js-service-ready .shinoda-top .shinoda-service-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =========================================
   SP ヘッダー XD対応
========================================= */

@media (max-width: 767px) {

  /* TOPページのみMVの上に重ねる */
  body.blog1-top .header-wrap:not(.is-scrolled) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent !important;
    box-shadow: none;
  }

  /* ヘッダー高さ60px */
  body.blog1-top .header-wrap .header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 60px;
    min-height: 60px;
    padding: 0 60px 0 16px;
    background: transparent;
    box-sizing: border-box;
  }

  /* XD：ロゴ 幅120px */
  body.blog1-top .header-wrap .header-logo {
    width: 120px !important;
    max-width: 120px;
    height: auto;
    transform: none;
  }

  /* メニューボタン 60×60px */
  body.blog1-top .global-nav-mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1010;
    width: 60px;
    height: 60px;
    margin: 0;
  }

  body.blog1-top .global-nav-mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    color: #fff !important;
    text-decoration: none;
    box-sizing: border-box;
  }

  /* 白い3本線 */
  body.blog1-top .global-nav-mobile-icon-toggle-menu {
    display: block;
    position: relative;
    width: 28px;
    height: 18px;
    border: 0;
    background: linear-gradient(
      to bottom,
      #fff 0 2px,
      transparent 2px 8px,
      #fff 8px 10px,
      transparent 10px 16px,
      #fff 16px 18px
    ) !important;
  }

  /* 親テーマの線が重複するのを防ぐ */
  body.blog1-top .global-nav-mobile-icon-toggle-menu::before,
  body.blog1-top .global-nav-mobile-icon-toggle-menu::after {
    content: none !important;
  }

  /* MENU文字 */
  body.blog1-top .global-nav-mobile-menu-text {
    display: block;
    margin: 0;
    color: #fff !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
  }

  /* スクロール後はメニューを紺背景に */
  body.blog1-top .header-wrap.is-scrolled
  .global-nav-mobile-menu-btn {
    background: #043669 !important;
  }
}



/* =========================================
   SP メインビジュアル
========================================= */

/* PCでは追加改行を表示しない */
.shinoda-hero-br-sp {
  display: none;
}

@media (max-width: 767px) {

  .shinoda-hero-br-sp {
    display: initial;
  }

  body.blog1-top .shinoda-hero {
    width: 100%;
    height: 780px;
    min-height: 780px;
    padding: 0 16px;
    box-sizing: border-box;
  }

  body.blog1-top .shinoda-hero-inner {
    width: 100%;
    transform: translateY(-40px);
    text-align: center;
  }

  body.blog1-top .shinoda-hero-title {
    margin: 0 auto;
    color: #fff;
    font-size: clamp(28px, 9.2vw, 36px);
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0;
    text-align: center;
  }
}

/* =========================================
   SP ナビゲーションメニュー
========================================= */

@media (max-width: 767px) {

  /* メニュー全体 */
  .header-wrap .global-nav-mobile {
    width: 100%;
    max-width: none;
    height: calc(100dvh - 60px);
    overflow-y: auto;
    background: #043669 !important;
    box-sizing: border-box;
  }

  /* 白いボックスをなくす */
  .header-wrap .global-nav-mobile-inner,
  .header-wrap .global-nav-mobile-navbar {
    width: 100%;
    max-width: none;
    margin: 0;
    background: transparent !important;
    border: none;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
  }

  .header-wrap .global-nav-mobile-inner {
    padding: 24px 30px 50px;
  }

  /* メニューの文字 */
  .header-wrap .global-nav-mobile-navbar a {
    color: #fff !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
  }

  /* メニューの区切り線 */
  .header-wrap .global-nav-mobile-navbar li {
    border-color: rgba(255, 255, 255, 0.25);
  }

  /* SNSエリア */
  .header-wrap .global-nav-mobile-navbar-footer {
    margin-top: 30px;
    background: transparent !important;
  }
}


/* =========================================
   SP MENU XDデザイン調整
========================================= */

@media (max-width: 767px) {

  /* メニュー全体 */
  .header-wrap .global-nav-mobile {
　top: 60px;
    background: #043669 !important;
    height: calc(100dvh - 60px);
    overflow-y: auto;
  }

  .header-wrap .global-nav-mobile-inner {
    width: 100%;
    padding: 36px 16px 50px;
    box-sizing: border-box;
  }

  /* 既存テーマの白背景を解除 */
  .header-wrap .global-nav-mobile-navbar,
  .header-wrap .global-nav-mobile-group {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  /* メインメニュー幅240px */
  .header-wrap .global-nav-mobile-navbar
  > .global-nav-mobile-group {
    width: 240px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
　border-top: none !important;
  }

  /* メニュー項目 */
  .header-wrap .global-nav-mobile-navbar
  > .global-nav-mobile-group
  > .global-nav-mobile-item {
    margin: 0;
    padding: 0;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.2);
    list-style: none;
  }

  /* 文字・余白 */
  .header-wrap .global-nav-mobile-navbar
  > .global-nav-mobile-group
  > .global-nav-mobile-item
  > .global-nav-mobile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 65px;
    padding: 0 5px;
    background: transparent !important;
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
  }

  /* 下部ボタン共通 */
  .shinoda-mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 240px;
    max-width: 100%;
    margin: 34px auto 0;
  }

  .shinoda-mobile-menu-actions a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    padding: 0 24px;
    border-radius: 4px;
    box-sizing: border-box;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
  }

  /* お問い合わせ */
  .shinoda-mobile-contact {
    background: #1c6ecd;
    border: 1px solid #1c6ecd;
  }

  /* 店舗情報 */
  .shinoda-mobile-shop {
    background: transparent;
    border: 1px solid #fff;
  }

  /* ボタンの矢印 */
  .shinoda-mobile-menu-actions a span:last-child {
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
  }

  /* 今回はSNSをメニュー内に表示しない */
  .header-wrap .global-nav-mobile-navbar-footer {
    display: none;
  }
}


/* =========================================
   SP メニューOPEN時のヘッダー調整
========================================= */

@media (max-width: 767px) {

  /* 開いたときはヘッダーを白背景に */
  body.blog1-top .header-wrap:has(
    #nav-open-btn[aria-expanded="true"]
  ),
  body.blog1-top .header-wrap:has(
    #nav-open-btn[aria-expanded="true"]
  ) .header {
    background: #fff !important;
  }

  /* CLOSEボタンも白背景 */
  .header-wrap #nav-open-btn[aria-expanded="true"] {
    background: #fff !important;
    color: #043669 !important;
  }

  /* 3本線を消す */
  .header-wrap #nav-open-btn[aria-expanded="true"]
  .global-nav-mobile-icon-toggle-menu {
    position: relative;
    width: 24px;
    height: 24px;
    background: none !important;
  }

  /* ×を作成 */
  .header-wrap #nav-open-btn[aria-expanded="true"]
  .global-nav-mobile-icon-toggle-menu::before,
  .header-wrap #nav-open-btn[aria-expanded="true"]
  .global-nav-mobile-icon-toggle-menu::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: 11px;
    left: 0;
    width: 24px;
    height: 2px;
    background: #043669 !important;
  }

  .header-wrap #nav-open-btn[aria-expanded="true"]
  .global-nav-mobile-icon-toggle-menu::before {
    transform: rotate(45deg);
  }

  .header-wrap #nav-open-btn[aria-expanded="true"]
  .global-nav-mobile-icon-toggle-menu::after {
    transform: rotate(-45deg);
  }

  /* CLOSE文字 */
  .header-wrap #nav-open-btn[aria-expanded="true"]
  .global-nav-mobile-menu-text {
    color: #043669 !important;
  }
}


/* =========================================
   MV 背景動画
========================================= */

.shinoda-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #708498
    url("/themes/shinoda@root@site/images/mv-poster.jpg")
    center / cover no-repeat;
}

/* 動画をMV全面に表示 */
.shinoda-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 文字を読みやすくする暗いフィルター */
.shinoda-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 20, 42, 0.4);
  pointer-events: none;
}

/* 文字は動画より手前 */
.shinoda-hero-inner {
  position: relative;
  z-index: 2;
}

/* 動きを減らす設定の端末では静止画像を表示 */
@media (prefers-reduced-motion: reduce) {
  .shinoda-hero-video {
    display: none;
  }
}



/* スマホ専用の改行 */
@media (min-width: 768px) {
  .shinoda-sp-break {
    display: none;
  }
}



/* =========================================
   写真・SERVICE スマホレイアウト調整
========================================= */
@media (max-width: 767px) {

  /* 全体の背景エリア */
  .shinoda-decoration-area {
    position: relative;
    isolation: isolate;
    height: auto;
    overflow: hidden;
    background: #fff;
  }

  /* 水色の四角を表示 */
  .shinoda-decoration-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .shinoda-decoration {
    position: absolute;
    display: block;
    background: rgba(28, 110, 205, 0.1);
  }

  /* 写真周辺の四角 */
  .shinoda-decoration.rect-01 {
    left: -20px;
    top: 95px;
    width: 96px;
    height: 125px;
  }

  .shinoda-decoration.rect-02 {
    left: 140px;
    top: 170px;
    width: 132px;
    height: 98px;
  }

  /* SERVICE周辺の四角 */
  .shinoda-decoration.rect-03 {
    right: -30px;
    top: 350px;
    width: 110px;
    height: 120px;
  }

  .shinoda-decoration.rect-04 {
    left: -30px;
    top: 440px;
    width: 90px;
    height: 125px;
  }

    /* SERVICE：右下の四角 */
  .shinoda-decoration.rect-05 {
    right: -90px;
    top: auto;
    bottom: 140px;
    width: 131px;
    height: 99px;
  }

  /* SERVICE：ボタン左下の四角 */
  .shinoda-decoration.rect-06 {
    display: block;
    left: -33px;
    top: auto;
    bottom: 16px;
    width: 131px;
    height: 99px;
  }

  .shinoda-decoration.rect-07 {
    display: none;
  }

  /* 写真・サービスを四角より前に表示 */
  .shinoda-gallery-scroll,
  .shinoda-service-top {
    position: relative;
    z-index: 1;
  }

  /* 写真エリア：XDの高さ */
  .shinoda-office-gallery,
  .shinoda-office-gallery-inner {
    height: 261px;
  }

  /* SERVICEまでの余白 */
  .shinoda-service-top {
    height: auto;
    padding: 80px 0;
    background: transparent;
  }

  /* SERVICE見出し */
  .shinoda-service-heading {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin: 0 0 40px;
    text-align: center;
  }

  .shinoda-service-heading > span {
    display: block;
    margin-bottom: 12px;
    color: #1c6ecd;
    font-size: 18px;
    font-weight: 700;
  }

  .shinoda-service-heading h2 {
    margin: 0;
    color: #043669;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.5;
  }


  /* =====================================
     SERVICEカード：スマホ版
  ===================================== */

  .shinoda-service-inner {
    width: calc(100% - 32px);
    max-width: none;
    height: auto;
    margin: 0 auto;
    padding: 0;
  }

  .shinoda-service-cards {
    position: relative;
    top: auto;
    left: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .shinoda-service-card {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 358 / 160;
    min-width: 0;
    overflow: hidden;
    border-radius: 4px;
  }

  .shinoda-service-card > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .shinoda-service-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 0;
    padding: 12px 48px 12px 16px;
    box-sizing: border-box;
    background: linear-gradient(
      to top,
      rgba(4, 54, 105, 0.85),
      rgba(4, 54, 105, 0.6)
    );
  }

  .shinoda-service-card-content h3 {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: normal;
  }

  .shinoda-service-card-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .shinoda-service-arrow {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
  }

  .shinoda-service-more {
    position: relative;
    top: auto;
    left: auto;
    width: 240px;
    height: 60px;
    margin: 36px auto 0;
  }

}


/* =========================================
   SERVICE pictureタグ対応
   PC・スマホ共通
========================================= */

.shinoda-service-card > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.shinoda-service-card > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* スマホ画像に含まれるグラデーションを使用 */
@media (max-width: 767px) {
  .shinoda-service-card-content {
    background: transparent;
  }
}


/* =========================================
   SERVICE スマホ最終調整
========================================= */
@media (max-width: 767px) {

  /* カード右側の丸い矢印 */
  .shinoda-service-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #fff;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
  }

  /* 詳しく見るボタン */
  .shinoda-service-more a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 240px;
    height: 60px;
    padding: 0 24px;
    box-sizing: border-box;
    border-radius: 4px;
    background: #1c6ecd;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
  }

  .shinoda-service-more a span:last-child {
    font-size: 24px;
  }
}

/* =========================================
   フッター スマホ版 XD調整
========================================= */

@media (max-width: 767px) {

  .shinoda-footer-main {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 50px 0 0;
  }

  /* ① ナビゲーションを最初に */
  .shinoda-footer-navigation {
    order: 1;
    margin-bottom: 36px;
  }

  .shinoda-footer-nav-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    row-gap: 20px;
    column-gap: 0;
  }

  .footer.shinoda-footer .shinoda-footer-navigation a {
    font-size: 16px;
    line-height: 36px;
  }

  /* ② お問い合わせ・店舗情報 */
  .shinoda-footer-actions {
    order: 2;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 80px;
  }

  .footer.shinoda-footer .shinoda-footer-button {
    width: 240px;
    max-width: 100%;
    height: 60px;
  }

  /* ③ ロゴ・会社情報 */
  .shinoda-footer-company {
    order: 3;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,.7);
  }

  .shinoda-footer-logo {
    margin-bottom: 50px;
  }

  .shinoda-footer-logo img {
    width: 190px;
  }

  .shinoda-footer-company-name {
    font-size: 16px !important;
  }

  .shinoda-footer-address p {
    font-size: 13px;
    line-height: 1.8;
  }

  /* ④ コピーライト */
  .shinoda-footer-bottom {
    margin-top: 40px;
    padding: 24px 0 40px;
  }

}

/* フッターのポリシーリンク */
.footer.shinoda-footer .shinoda-footer-legal a {
  color: #fff;
  text-decoration: none;
}

.footer.shinoda-footer .shinoda-footer-legal a:hover {
  text-decoration: underline;
}

/* スマホだけ下段の順番を変更 */
@media (max-width: 767px) {
  .footer.shinoda-footer .shinoda-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer.shinoda-footer .shinoda-footer-legal {
    order: 1;
  }

  .footer.shinoda-footer .shinoda-footer-bottom small {
    order: 2;
  }
}


/* フッターの電話番号 */
.shinoda-footer-tel {
  margin: 8px 0 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
}

.shinoda-footer-tel a {
  color: inherit;
  text-decoration: none;
}


/* 記事一覧とフッターの間に余白 */
#summary_list {
  padding-bottom: 80px;
}

@media (max-width: 767px) {
  #summary_list {
    padding-bottom: 50px;
  }
}
