/* --------------------------------------------------- */
/* ------ Corporate website renovation project ------- */
/* --------------------------------------------------- */

/* ------------------------------
   共通ブレイクポイント定義
------------------------------ */
:root {
  --breakpoint-sp: 767px;
  --breakpoint-tab: 1024px;
  --breakpoint-pc: 1025px;
  --max-width-default: calc(1440px - 300px);
  --max-width-sp: 90%;
}
*, *::before, *::after {
  box-sizing: border-box;
}

/* ------------------------------
   共通スタイル（全ページ共通）
------------------------------ */
html{
  scroll-behavior: smooth;
}

body {
  --navy: #000F1E;
  --grey1: #464A4D;
  --grey2: #B7B8B9;
  --white: #FFFFFF;
  --beige: #F6EEDF;
  --orange: #F56012;
  --deep-orange: #D6490B;
  letter-spacing: .02em;
  font-weight: 700;
  font-size: 16px;
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  margin :0;
}

lato-regular {
  font-family: "Lato", sans-serif !important;
  font-weight: 400;
  font-style: normal;
}


a {
  text-decoration:none;
  display:block;
  color:var(--navy);
  transition : color 0.3s ease-in-out;
}
p, h1, h2, h3, h4, h5, h6 {
   margin-block-start: 0.75rem;
   margin-block-end: 0.75rem;
}
p{
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--navy);
}
h5 {
  font-size: 1rem;
}
.bold {
    font-weight: 700;
}

ul {
  list-style:none !important;
  padding-left:0;
}
section {
  padding:140px 0;
}

section.no-padding {
    padding:0;
}

img{
  width:100%;
}

.text-heading1{
  font-size: clamp(32px, 2.95vw, 40px);
  line-height: 1.5;
  transition : color 0.3s ease-in-out;
}
.text-heading2{
  font-size: clamp(24px, 2.95vw, 32px);
  line-height: clamp(1.8, 2vw, 3.2);
  transition : color 0.3s ease-in-out;
}
.text-heading3{
  font-size: clamp(16px, 2.95vw, 24px);
  transition : color 0.3s ease-in-out;
}
.text-heading4{
  font-size: clamp(14px, 2.95vw, 16px);
  font-weight:bold;
}

.text-bold{
  font-weight: 700;
}

.flex {
  display:flex;
  justify-content: space-between;
}
.flex-dir-column {
  flex-direction: column;
}
.flex-dir-row {
  flex-direction: row;
}
.flex-start{
  justify-content: flex-start;
}
.flex-end{
  align-items: flex-end;
}
.flex-jc-center{
  justify-content: center;
}
.flex-align-center{
    align-items: center;
}
.flex-wrap{
    flex-wrap:wrap;
}
.pc-hidden {
    display:none; /*PCでは非表示にしたい要素共通で指定*/
}

.container,
.blog .container,
.global-footer .container{
    width : 100%;
    max-width: var(--max-width-default);
    margin: 0 auto;
    height: auto;
}
.global-footer.blog .container { /*ブログのときだけfooterスタイルを調整*/
  padding:0;
  color:var(--white);
}
.global-footer.blog .container p,
.global-footer.blog .container a{ /*ブログのときだけfooterスタイルを調整*/
  color:var(--white);
}
.global-footer.blog .container a {
    font-weight: 700;
}


.global-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1001;
    height :90px;
    width:100vw;
}


.global-header .container {
  padding: 0;
  height :100%;
  max-width: none;
}
.global-header .logo {
  padding:0 0 0 24px; 
}
.global-header .logo img {
    width: 100%;
    max-width: 220px;
}
.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.main-nav a {
    text-decoration: none;
    font-size: 1.2rem;
    color: var(--navy) !important; /*ブログテーマのスタイルを上書き*/
    font-weight:700 !important;　/*ブログテーマのスタイルを上書き*/
}
.main-nav a:hover {
    color: var(--orange);
}
.main-nav a.active {
    border-bottom: 1.5px solid var(--navy);
    pointer-events: none;
    padding-bottom:0.25rem;
}
.contact-box {
    display: flex;
/*     align-items: center; */
    justify-content: space-between;
    text-decoration: none;
    background-color: #464A4D;
    padding: 20px;
    border-radius: 10px;
    transition: background-color 0.3s ease-in-out;
}

.contact-box:hover {
    background-color: var(--deep-orange);
}
.contact-button {
    width: 40px;
    height: 40px;
    background-color: var(--beige);
    border-radius: 50%;
    display: block;
/*     align-items: center;
    justify-content: center; */
    margin:auto 0 0 0;
    position: relative;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

.contact-box:hover .contact-button {
    transform: translateX(1rem);
}

.arrow {
    font-size: 1.5rem;
    color: var(--deep-orange);
    position: absolute;
    transform: translateX(-2rem);
    opacity: 0;
}
.contact-box:hover .arrow {
    animation: arrow-move 1.0s infinite linear;
}	

@keyframes arrow-move {
    0% { transform: translateX(-32px); opacity: 0; }
    25% { transform: translateX(-24px); opacity: 0.5; }
    50% { transform: translateX(0); opacity: 1; }
    75% { transform: translateX(24px); opacity: 0.5; }
    100% { transform: translateX(48px); opacity: 0; }
}

.contact-btn {
    height: 100%;
}
.contact-btn a:hover {
    background:var(--navy);
}
.btn-orange{
    transition: background 0.3s ease, transform 0.2s ease;
}
.btn-orange:hover {
    background: #d94e0c; 
}
.contact-btn .btn-orange {
    display: flex;
    height: 100%;
    align-items:center;
    background: #F56012;
    color: white;
    padding: 0px 2rem;
    border-radius: 0 0 0 12px;
    text-decoration: none;
    font-size: 20px;
}
#menuOpen,
.mobile-menu{
  display:none;
}

/* ------ first view section ------- */

.firstview {
    background: url('https://7243532.fs1.hubspotusercontent-na1.net/hubfs/7243532/img/firstview-bg__pc.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
.firstview .container{
    height :100vh;
}

.firstview .copy{
      height: auto;
      margin-bottom: 20%;
      color:var(--grey1);
}
/* スクロールを促すボタン */
.scroll-down {
    position: absolute;
    bottom: 3rem;  /* 画面下部に配置 */
    left: 50%;
    transform: translateX(-50%); /* 水平中央揃え */
    width: 75px; /* 画像のサイズ */
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
    z-index: 1001; /* 他の要素より前面に表示 */
}

/* 画像サイズ調整 */
.scroll-down img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像の比率を維持 */
}

/* マウスオーバー時のアニメーション */
.scroll-down:hover {
    transform: translateX(-50%) translateY(5px); /* 数px下方向に移動 */
}


/* ------ about section ------- */
.top-about {
  position: relative;
  background: url(https://7243532.fs1.hubspotusercontent-na1.net/hubfs/7243532/img/top_about_bg__pc.svg);
  background-size:cover;
  height: 100vh;
  color: var(--grey1);
  overflow: hidden;
}

.top-about .container {
  height: 100%;
}

.copy {
  height: 100%;
}

.top-about .left-con {
  margin: 0 0 auto 0;
}

.top-about .right-con {
  margin: auto 0 7rem 0;
}

/* セクションの位置を固定し、アニメーションに合わせてピン止め */
.top-about .image-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
}

.top-about .image {
  position: absolute;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.top-about .image-1 {
  max-width: 165px;
  top: -7%;
  right: 0;
}

.top-about .image-2 {
  max-width: 240px;
  top: 27.5%;
  right: 25%;
}

.top-about .image-3 {
  max-width: 346px;
  top: 60%;
  right: 50%;
}

.top-about .image.active {
  opacity: 1;
}

.text-overlay {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* 固定時の設定 */
.top-about.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh; /* スマホ対応 */
  z-index: 9999; /* 背景より前に */
  background-color: #fff;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0); /* GPU合成 */
}

body.ios .top-about.fixed {
  height: 100vh;
  position: absolute;
}

.top-about.fixed .container,
.top-about.fixed .image-wrapper {
  opacity: 1;
  transition: opacity 0.5s;
  z-index: 10000;
  position: relative;
}

.text-overlay {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.text-overlay.active {
  opacity: 1;
}
.top-about .cta-button {
  margin:-1rem 0 0 0;
}
/* ------ service section ------- */
/* ------ half split layout ------- */
.layout-half-split {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: var(--beige);
}

.top-service .layout-half-split img {
  margin-bottom: 3rem;
}

.layout-half .container{
  gap:5%;
}
.layout-half-split .container {
  max-width :none;
  gap: 4%;
}

.layout-half .left-con,
.layout-half .right-con,
.layout-half-split .left-con,
.layout-half-split .right-con{
   flex: 1; 
  width: calc(50% - 2.5%);
}
section.layout-half-split.no-padding{
  padding:0 0 140px 0;
}

.layout-half-split .left-con.text{
    padding: 140px 0 0 150px;
}
.layout-half-split .right-con.image{
    background:var(--white);
    padding: 0 150px 0 5rem;
    border-radius: 0 0 0 2rem;
}

.layout-half-split .left-con.image{
  background:var(--white);
    padding: 0 150px 0 5rem;
    border-radius: 0 0 2rem 0;
}
.layout-half-split .right-con.text{
   padding: 140px 150px 0 0;
}

.section-header {
    display: flex;
    flex-direction: column;
/*     gap: 24px; */
}

.section-tag {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.44px;
    color: #464A4D;
}

.section-dot {
    width: 5px;
    height: 5px;
    background-color: #F56012;
    margin-right: 8px;
}

.subtext {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #000F1E;
}

.section-description [data-ruby] {
	position: relative;
}
.section-description [data-ruby]::before {
	content: attr(data-ruby);
	position: absolute;
	top: -1em;
	left: 0;
	right: 0;
	margin: auto;
	font-size: 0.5em;
}
/* 以下追加 */
.section-description rt {
	display: none;
}

.button-wrap{
    margin:0 auto;
    text-align: center;
}
.cta-button {
    margin:2rem auto 0;
}

.cta-button a {
    display: inline-block;
    padding: 15px 36px;
    border: 1px solid #464A4D;
    font-size: 16px;
    font-weight: 700;
    color: #464A4D;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.cta-button a:hover {
    background-color: var(--orange);
    color: white;
    border: 1px solid var(--orange);
}
.cta-button a::after {
    content: '→'; /* 矢印 */
    font-size: 16px;
    margin-left: 8px; /* 文字との間隔 */
    transition: transform 0.3s ease-in-out;
    display: inline-block;
}

/* ------ works section ------- */
.works-content{
  position:relative;
  top:-44px;
}
/* .works-content a{
    transition:opacity 1sease-in-out, transform 1sease-in-out;
}

.works-content a:hover{
  color:var(--orange);
} */

.works-item {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease-in-out;
}

.works-thumbnail {
    position: relative;
    overflow: hidden;
}

.works-thumbnail img {
    width: 100%;
    display: block;
    transition: 0.3s ease-in-out;
}

.works-thumbnail .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 96, 18, 0.3); /* オレンジのマスク */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* マウスオーバー時のスタイル */
.works-item:hover .overlay,
.related-case-item:hover .overlay{
    opacity: 1;
}

.works-item:hover .text-heading3,
.related-case-item:hover .related-case-title{
    color: var(--orange); /* オレンジに変更 */
}

.works-item{
   width :47%;
}
.works-list {
   margin-top:56px;
}

.works-list.flex{
    gap:6%;
  flex-wrap: wrap;
}
.works-tags-wrap {
  display: inline-block;
}

.works-tags{
  background: white;
  padding: 12px 12px 12px 0;
  color: var(--grey1);
  background-color: var(--white);
  border-radius: 0 8px 0 0;
}

.works-content h3{
  margin-block-start: 1.5rem;
  margin-block-end: 1.5rem;
}

.works-tag-item{ 
  margin-right:8px;
}
.works-tags.flex{ 
  justify-content:flex-start;
  align-items:center;
}
.works-tags .section-dot{
    display: inline-block;
}
.works-client {
    color: var(--grey1);
}

/* ------ news section ------- */
.news-section {
    background:var(--beige);
}
.layout-flex-grow .right-con{
    width:100%;
    max-width:900px;
}
.layout-flex-grow .left-con{
    flex-grow: 1;
}
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 2rem;
}

  .custom-select-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.custom-select {
  position: relative;
  width: 100%;
  max-width: 250px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  user-select: none;
}

.select-label {
  background: white;
  border: 1px solid var(--orange);
  border-radius: 8px;
  padding: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.select-label .label-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.select-icon {
  width: 18px;
  height: 18px;
  background: var(--orange);
  border-radius: 9999px;
  position: relative;
}

.select-icon::after {
  content: "";
  width: 4px;
  height: 4px;
  position: absolute;
  left: calc(50% - 2px);
  top:6px;
  border-top: 2px solid var(--beige);
  border-right: 2px solid var(--beige);
  transform: rotate(135deg);
  transform-origin: center;
}

/* 開いた状態のアイコン */
.custom-select.open .select-icon::after {
  transform: rotate(-45deg);
  top: 6px;
}

/* ドロップダウンメニュー */
.select-options {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  max-width: 250px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--orange);
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  z-index: 10;
  flex-direction: column;
  gap: 0.75rem;
}

.select-options li {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.custom-select.open .select-options {
  display: flex;
}
  
.news-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.news-item {
  border-top: 1px solid var(--grey1);
  padding: 1.25rem 0;
}

.news-item:last-child {
  border-bottom: 1px solid var(--grey1);
}

.news-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

.news-item a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.3s;
}

.news-item a:hover {
  color: var(--orange);
}

.news-title {
  font-size: 1rem;
  font-weight: 700;
  color:var(--navy);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  line-height: 1.6;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: var(--navy);
}

.news-meta .news-tag {
  font-weight: 400;
  line-height: 1.6;
}

.news-meta .news-separator {
  width: 5px;
  height: 5px;
  background: var(--navy);
}

.news-meta .news-date {
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  opacity: 0.8;
}
a:link:hover{
  color:var(--orange);
}

.dot {
  width: 5px;
  height: 5px;
  background: var(--navy);
}

.news-footer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.news-all {
  padding: 15px 40px;
  background: white;
  border: 1px solid var(--grey1);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--grey1);
}

/* 該当なしメッセージ */
.no-posts-message {
  padding: 2rem 0;
  text-align: center;
  font-size: 1rem;
  color: var(--grey1);
}


/* ------ footer contact section ------- */
.footer-contact-section {
    width: 100%;
/*     height: 100%; */
    position: relative;
    background:url('https://7243532.fs1.hubspotusercontent-na1.net/hubfs/7243532/img/footer_contact_bg__pc.png');
    background-size: cover;
}

.contact-bg {
    width: 100%;
    height: auto;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.2;
}

.contact-overlay {
    width: 144px;
    height: 143px;
    position: absolute;
    left: 210px;
    top: 187.51px;
    background: #000F1E; /* ネイビー */
    opacity: 0.1;
}

.contact-box {
    width:100%;
/*     height: 353px; */
/*     position: absolute;
    left: 152px;
    top: 67.51px; */
    background: #F56012; /* オレンジ */
    border-radius: 15px;
    padding: 5rem 10rem;
}
.contact-box .left-con{
    width:100%;
    max-width:calc(100% - 40px);
}
/* .contact-box .right-con{
    width:100%;
} */

.contact-header {
    font-size: 16px;
    font-family: Lato, sans-serif;
    font-weight: 600;
    line-height: 25.6px;
    letter-spacing: 1.6px;
    color: #F6EEDF; /* ベージュ */
}

.contact-title {
    font-size: 32px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    line-height: 51.2px;
    color: #F6EEDF; /* ベージュ */
    margin-top: 10px;
}

.contact-text {
    font-size: 16px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 500;
    line-height: 25.6px;
    color: white;
    margin-top: 10px;
}

/* ------ footer menu section ------- */
.global-footer {
    position:relative;
    width: calc(100% - 4rem);
    margin: 2rem auto 0;
    background: var(--navy);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 4.5rem 0 0 0;
    color: var(--white) !important;
    font-family: "Zen Kaku Gothic New", sans-serif;
}
.global-footer p{
    color: var(--white);
}
.footer-section a {
  color:var(--white);
  padding-bottom:0.5rem;
}
.footer-section a.single-item{
  margin-bottom:3.5rem; 
}
.footer-section a:hover {
  color:var(--orange);
}
.global-footer ul{
  padding-left:1rem;
  margin-block-start: 0;
  margin-block-end: 0;
}
.global-footer ul li{
  list-style:none; 
  padding:0.25rem 0; 
}
.global-footer .logo {
  margin-bottom:2rem;
}
.global-footer .logo img{
    max-width: 280px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 150px;
    margin: 10px;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 10px;
}

.footer-links {
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
}

.footer-links a {
    color: var(--white, white);
    text-decoration: none;
}

.footer-address p{
    opacity: 0.8;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.07875rem;
}

.footer-bottom {
    width:100%;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray80, #616161);
    margin-top: 20px;
}
.footer-bottom a {
    color:var(--grey2);
    margin:0.75rem 0;
}

.footer-section {
    margin-bottom: 20px;
}
  .footer-info.pc{
    display:block;
  }
  .footer-info.mob{
    display:none;
  }
/* 非表示のチェックボックス */
.accordion-toggle {
    display: none;
}

/* アコーディオンの見出し */
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
/*     font-weight: 400; */
    cursor: pointer;
    padding: 10px 0;
    position: relative;
}

/* 逆三角形アイコン */
.accordion-header::after {
    content: "";
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    border-top: var(--white) 1px solid;
    border-right: var(--white) 1px solid;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    position: relative;
    top: -0.1rem;
    left:-0.5rem;
    margin: auto;
}

/* 最初は開いた状態 */
.accordion-content {
    max-height: 500px; /* 十分な高さを設定 */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    padding-left:1rem;
}

/* チェックボックスがOFFのときは閉じる */
.accordion-toggle:not(:checked) ~ .accordion-content {
    max-height: 0;
    overflow: hidden;
}

/* チェックボックスがOFFのときはアイコンを回転 */
.accordion-toggle:not(:checked) + .accordion-header::after {
    transform: rotate(-45deg);
}

/* TOPへ戻るボタン */
.global-footer a.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 4rem;
    width: 60px;
    height: 60px; /* 画像のサイズを調整 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1001;
    transition: transform 0.2s ease-in-out, opacity 0.3s ease-in-out;
}

/* 画像のサイズ調整 */
.global-footer a.back-to-top img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像の比率を維持しつつフィット */
}

/* ホバー時のエフェクト */
.global-footer a.back-to-top:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}



/* --------------- ブログに共通するスタイル----------------- */
.post-body .bg-beige {
  background:var(--beige);
  padding:1.5rem;
  border-radius:0.5rem;
}
  
.post-body ul{
    margin: 0;
    padding-left: 0.5rem;
    list-style: none;
}
.post-body h1{
  margin-bottom:2rem;
}
.post-body h3{
  margin:1rem 0;
}
.post-body .bg-beige h3:first-child{
  margin:0 0 1rem 0;
}

.post-body ul li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  color: var(--navy, #000F1E);
  line-height: 28.8px;
  letter-spacing: 0.96px;
}

.post-body ul li::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--orange, #F56012);
  display: inline-block;
  flex-shrink: 0;
  margin-right:0.5rem;
}
.post-body ul li:has(> ul) {
  display: block;
}
.post-body ul li > ul {
  /* 親liのflexを解除する目的で、親liにも適用 */
  display: block;
  padding-left:1rem;
}
.post-body ul li > ul li::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  background-color: var(--navy);
/*   display: inline-block;
  flex-shrink: 0;
  margin-right:0.5rem; */
}
/* 子リストの::beforeは無効化しておく（親のスタイルが継承されるのを防ぐ） */
.post-body ul ul li::before {
  content: none;
}

.post-body ul li ul li{
  display: block;
}

/* -------　更新形コンテンツのページネーション　------- */
.pagination {
   display:flex;
   justify-content:center;
    margin-top: 2rem;
  text-align: center;
  font-size:1.2rem;
}
.pagination a{
   padding:1rem 1.3rem;
}
.pagination a.active{
   color:var(--navy);
    font-weight:700;
  border-bottom:1px solid var(--navy);
}
.pagination-prev,
.pagination-next{
    background: var(--orange);
    border-radius: 50%;
    color: var(--white);
    margin: 0 0.5rem 0 0;
}
.pagination-next {
    margin: 0 0 0 0.5rem;
}

/* -------　レスポンシブ　------- */
@media (max-width: 1300px) {
    .container,
    .blog .container,
    .global-footer .container{
        padding: 0 5%;
    }
  .global-footer .container {
    max-width:1000px;
    justify-content: space-around; 
   }
  .footer-address p{
    opacity: 0.8;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.07875rem;
  }
/*       .layout-half-split .container {
      max-width: var(--max-width-default);
    } */
  .layout-half-split .left-con.text {
    padding: 140px 0 0 0px;
  }
  .layout-half-split .right-con.image {
    padding: 0 6rem 0 2rem;
  }
  /*   企業情報ページ */
    .about-monlab-origin {
    width:calc(100% - 4rem);
  }
}


/* -------　タブレット以下共通　------- */
@media (max-width: 1024px) {
      /* PCメニューを非表示 */
      .main-nav,
      .global-header .cta-wrapper{
      display:none;
      }
      .global-header {
         height:72px;
      }
      /* ハンバーガー */
      #menuOpen {
      display:flex;
      opacity: 1;
      visibility: visible;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      }
        .menu-open #menuOpen {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
      }
      .mobile-menu {
      display:block;    
      }
      .hamburger {
      background: var(--orange);
      border: none;
      padding: 1rem;
      border-bottom-left-radius: 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      cursor: pointer;
    }

    .hamburger span {
      display: block;
      width: 20px;
      height: 2px;
      background: white;
    }

    .hamburger-label {
      font-size: 12px;
      color: white;
      font-family: "Zen Kaku Gothic New", sans-serif;
      font-weight: bold;
    }

    /* モバイルメニュー全体 */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 100%;
      width: 100%;
      height: 100%;
      background: white;
      z-index: 999;
      transition: left 0.3s ease;
      padding: 0 1.5rem;
      overflow-y: scroll;
    }

    .mobile-menu.open {
      left: 0;
    }

    .mobile-menu-header {
      width: calc(100vw - 1.5rem);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .mobile-nav ul{
      display:flex;
      flex-wrap:wrap;
      gap:0.5rem;
    }
    .mobile-nav ul li {
      width:100%;
    }
    .mobile-nav ul li a{
      font-weight:400;
    }
    .site-title .site-subtitle {
      font-size: 12px;
      color: var(--grey1);
    }

    .site-title .site-main {
      font-size: 20px;
      font-weight: bold;
      color: var(--grey1);
    }

    /* サブメニュー開閉 */
    .nav-title {
      font-weight: bold;
      font-size: 20px;
      margin-top: 1.5rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .sub {
      margin-left: 1rem;
      margin-top: 0.5rem;
      display: none;
      flex-direction: column;
      gap: 0.5rem;
    }

    .sub.open {
      display: flex;
    }
    
   /* 閉じるボタン */
    .close-btn {
    position: relative;
    top: 0;
    right: 0;
    width: 80px;
/*     height: 65px;     */
    padding:1rem;
    background: var(--navy);
    border-bottom-left-radius: 8px;
    display: none; /* 初期は非表示 */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .mobile-menu.open {
    z-index:1003;
  }
  .mobile-menu.open .close-btn {
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu.open .close-btn {
    display: flex;
  }

  .close-btn .close-icon {
    width: 20px;
    height: 20px;
    position: relative;
  }

  .close-btn .close-icon::before,
  .close-btn .close-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: var(--white);
    transform-origin: center;
  }

  .close-btn .close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .close-btn .close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .close-btn .close-label {
    color: var(--white, #ffffff);
    font-size: 12px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    line-height: 0.6;
    text-align: center;
  }
  /* ファーストビュー */
  .firstview {
    background: url('https://7243532.fs1.hubspotusercontent-na1.net/hubfs/7243532/img/firstview-bg__tab.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
  .top-about {
    background: url(https://7243532.fs1.hubspotusercontent-na1.net/hubfs/7243532/img/top_about_bg__tab.svg);
    background-size:cover;
    height: 100vh;
    overflow: hidden;
  }
  .top-about .image-wrapper {
      height:40%;
  }
  /* サービス */
  .top-service .container.flex {
    display:block;
  }
  .layout-half .left-con, .layout-half .right-con, .layout-half-split .left-con, .layout-half-split .right-con{
    width:100%;
  }
  .layout-half-split .left-con.text {
    padding: 72px 0 0 0px;
  }
  .layout-half-split .right-con.image {
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 600px;
    margin: 2rem auto;
  }
/*   cta-button pc-hidden */
  .top-service .pc-hidden {
    display:flex;
  }
  .top-service .pc-hidden.cta-button a{
    margin :0 auto;
  }
  .top-service .mob-hidden {
    display:none;
  }
  /* 支援実績 */
  .works-list.flex{
    display:block;
  }
  .works-item{
    width:100%;
  }
  /* お問い合わせ誘導セクション */
  .contact-box {
    padding: 3rem 6rem;
}
  /* フッターメニュー */
   .global-footer .container {
      display:block;
   }
  .footer-section a.single-item {
    margin-bottom: 1.5rem;
  }
  .footer-info.pc{
      display:none;
  }
  .footer-info.mob {
      display: block;
      margin-top: 2rem;
      border-top: 1px solid var(--grey2);
      padding-top: 3rem;
  }
  .accordion-header::after {
    left:-7rem;
  }
  .global-footer a.back-to-top {
    bottom: 4rem;
    right: 5rem;
  }
  .global-footer.blog .container { /*ブログのときだけfooterスタイルを調整*/
    padding: 0 5%;
  }
  /* パンクズリスト */
  .breadcrumb ul {
    max-width: calc(100% - 100px);
  }
  /* ------------ 企業情報ページ  ------------------*/
  .about-omnibus .container.flex,
  .about-company-name .container.flex{
    display:block;
  }
  .about-omnibus img {
    max-width: 500px;
    margin: 0 auto;
    display: block;
  }
  .layout-half-split .left-con.image {
    background: var(--white);
    padding: 100px 2rem;
    border-radius: 0.5rem;
    margin-top: 120px;
  }
  .layout-half-split .left-con.image img{
      max-width: 600px;
    display: block;
    margin: 0 auto;
  }
  .layout-half-split .right-con.text {
    padding: 64px 0 0 0;
  }
  .about-monlab-origin.container{
    display:block;
   }
  .about-monlab-origin.container .left-con,
  .about-monlab-origin.container .right-con{
    width:100%;
  }
  .about-monlab-origin.container .left-con img {
    max-width:600px;
    display: block;
    margin: 2rem auto;
  }
}

/* -------　タブレット〜スマホ間細かい調整　------- */
@media (max-width: 678px) {
    section{
      padding:100px 0;
    }
    /* ファーストビュー */
    .firstview {
      background: url('https://7243532.fs1.hubspotusercontent-na1.net/hubfs/7243532/img/firstview-bg__mob.svg');
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
    }
  
    .scroll-down {
      width: 60px;
    }
    /* 企業情報 */
      .top-about {
      background: url(https://7243532.fs1.hubspotusercontent-na1.net/hubfs/7243532/img/top_about_bg__tab.svg);
      background-size:contain;
      background-repeat:no-repeat;
      background-position: center;
      height: calc(100vw * 2.49411765);/* 背景画像の比率に合わせる */
      overflow: hidden;
    }
    .top-about.fixed {
      height: 100vh;
      box-sizing: border-box;
      position: fixed; /* ← fixedのままにする */
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
    }
    .top-about .copy.flex{
      flex-wrap: wrap;
    }
    .top-about .image-1{
      max-width: 120px;
      top: 14%; 
    }
   .top-about .image-2{
    max-width: 150px;
     top: 32%;
    }
    .top-about .image-3 {
        max-width: 200px;
        top: 46%;
        right: 0;
    }
    .top-about .cta-button {
        margin: -4rem 0 0 0;
    }
    /*支援実績*/
      .works-results h3 br.pc-hidden {
        display:block; /*モバイルでは表示*/
    }
      .works-list {
        margin-top: 32px;
    }
    .works-content h3 {
      margin-block-start: 1rem;
      margin-block-end: 1rem;
      font-size:1.2rem;
    }
    /* お問い合わせ誘導セクション */
    .contact-box {
        padding: 2rem 3rem;
    }
    .contact-box br.pc-hidden{
      display:block;
    }
    /* フッター */
    .global-footer {
      width: 100%;
      margin: 1rem 0 0 0;
    }
      .global-footer .logo img {
        max-width: 245px;
    }
    .footer-section ul li {
      font-size:14px;
    }
  .footer-section a.single-item{
    margin-bottom:20px;
  }
  .footer-bottom {
    margin-top: 2rem;
  } 
  .global-footer a.back-to-top {
    bottom: 3rem;
    right: 1rem;
  }
}
@media (max-width: 425px) {
  .global-footer a.back-to-top {
    bottom: 1rem;
    right: 1rem;
  }
  .firstview .text-heading1 {
    font-size:30px;
  }