/* =======================================
変数
======================================== */
:root {
  /* ブランドカラー */
  --blue-color: #2f7ed4;
  --navy-color: #065a8e;
  --main-color: #3a3c3d;
  --text-color: #525557;
}

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

html {
  font-size: 20px;
  /* デフォルト16px → 20pxに変更 */
}

html,
body {
  overflow-x: clip;
}



body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 2;
  background-color: #fff;
  font-weight: 400;
  letter-spacing: 0.1em;
  font-style: normal;
  font-size: 16px;
}

body {
  position: relative;
}

img {
  width: 100%;
}

.container {
  max-width: 1500px;
  /* 中身が1290pxになる */
}

.wrapper {
  overflow: hidden;
}

.ml-50 {
  margin-left: min(calc(25px + (50 - 25) * ((100vw - 992px) / (1500 - 992))),
      50px);
}

.color_blue{
  color: var(--blue-color);
}

.blcok-1200 {
  display: none;
}

a {
  transition: 0.7s;
  cursor: pointer;
}

br.sp-none {
  display: block;
}

br.w-1500-none {
  display: block;
}

@media (max-width: 1500px) {
  .container {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);
  }
}

@media screen and (max-width: 1500px) {
  br.w-1500-none {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  br.sp-none {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  .blcok-1200 {
    display: block;
  }
}

*[data-aos=fade-up] {
  transform: translateY(50px);
  /* 移動距離を指定 */
}


/* =======================================
header
======================================== */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 40px 40px;
  color: #fff;
}

.page-header {
  background-color: rgba(255, 255, 255, 0.85);
}

.row-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.logo {
  position: absolute;
  left: 40px;
  max-width: 262px;
  width: 100%;
  top: 26px;
}

.main .logo {
  position: static;
  left: 40px;
  max-width: 262px;
  width: 100%;
  top: 26px;
}

.logo h1 {
  margin: 0;
  font-size: 18px;
  letter-spacing: .08em;
}

.logo a {
  color: #fff;
  transition: 0.7s;
  text-decoration: none;
}

.logo a:hover {
  opacity: 0.6;
}

.logo-mark {
  display: inline-block;
}

.site-logo img {
  display: block;
}

/* 初期状態 */
.logo-text {
  display: none;
}

/* 切り替え後 */
.site-logo.is-switched .top-logo {
  display: none;
}

.site-logo.is-switched .logo-text {
  display: block;
}

.site-logo img {
  transition: opacity .3s ease;
}

.logo-text {
  opacity: 0;
}

.site-logo.is-switched .top-logo {
  opacity: 0;
}

.site-logo.is-switched .logo-text,
.page-header .site-logo .logo-text {
  opacity: 1;
}

.site-logo {
  position: relative;
}

.site-logo img {
  position: absolute;
  top: 0;
  left: 0;

  display: block;
  opacity: 0;
  transition: opacity .3s ease;
}

.site-logo .top-logo {
  opacity: 1;
  position: relative;
  /* ← これが超重要（高さ確保用） */
}

.site-logo.is-switched .top-logo {
  opacity: 0;
}

.site-logo.is-switched .logo-text {
  opacity: 1;
}

.head_contents {
  display: flex;
  align-items: center;
  gap: 18px;
}

.list-gnav {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}


.header .list-gnav a,
.header .gnav-btn {
  color: var(--gnav-color);
  transition: color .6s ease;
  /* ← ここで揃える */
}

.list-gnav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: 0.7s;
}

.list-gnav li {
  line-height: 1;
}

.header .list-gnav .active a,
.header .list-gnav .active .gnav-btn {
  opacity: 1;
  color: var(--blue-color);
}

.list-gnav a:hover {
  color: var(--blue-color) !important;
}


/* ===== メガメニュー ===== */
.gnav-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gnav-btn:hover {
  color: var(--blue-color) !important;
}

.gnav-btn .plus {
  position: relative;
  width: 12px;
  height: 12px;
}

.gnav-btn .plus::before,
.gnav-btn .plus::after {
  content: "";
  position: absolute;
  background: #fff;
}

.gnav-btn:hover .plus::before,
.gnav-btn:hover .plus::before {
  background: var(--blue-color) !important;
}

.gnav-btn .plus::before {
  width: 11px;
  height: 1px;
  top: 5px;
  left: 0;
}

.gnav-btn .plus::after {
  width: 1px;
  height: 11px;
  top: 0;
  left: 5px;
}

/* 開いたら「−」にする */
.has-mega.is-open .plus::after {
  opacity: 0;
}

.has-mega {
  position: relative;
}

/* 非表示 */
.mega {
  position: absolute;
  top: calc(100% + 20px);
  left: -580px;
  width: 938px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
  pointer-events: none;
}

.has-mega.is-open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega__inner {
  display: flex;
  grid-template-columns: 0;
  padding: 60px;
}

.mega__left {
  margin-right: 83px;
}

/* 左 */
.mega__en {
  font-size: 12px;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  color: #065a8e;
  margin-bottom: 20px;
}

.mega__right {
  max-width: 260px;
  width: 100%;
}

.mega__jp {
  white-space: nowrap;
  color: #3a3c3d;
  font-size: 24px;
  font-weight: 500;
}

.mega__center {
  max-width: 249px;
  margin-right: 50px;
  width: 100%;
}

.mega__center img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-list li {
  border-bottom: 1px solid #ddd;
}

.mega-list a {
  display: block;
  padding: 8px 0;
  color: #3a3c3d !important;
  font-size: 16px;
  line-height: 1.8;
  position: relative;
  text-decoration: none;
}

.mega-list a::after {
  content: '';
  display: block;
  top: 50%;
  position: absolute;
  right: 16px;
  width: 4px;
  height: 4px;
  background-color: #065a8e;
  transform: translateY(-50%);
}

.mega-list li:first-child a {
  padding: 0 0 8px;
}

.mega-list a:hover {
  color: #1b6fa8;
}

.mega__center img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
  transition: opacity .2s ease;
}

.mega__center img.is-fading {
  opacity: 0;
}

.gnav-btn {
  background: none;
  border: none;
  padding: 0;

  color: inherit;
  font: inherit;
  line-height: inherit;

  appearance: none;
  -webkit-appearance: none;

  cursor: pointer;
}


.header.is-switched .list-gnav a,
.header.is-switched .gnav-btn,
.header.page-header {
  color: #000;
}

.header.is-switched .has-mega.is-open .gnav-btn {
  color: #000;
}

.header.is-switched .gnav-btn .plus::before,
.header.is-switched .gnav-btn .plus::after {
  background: #000;
}

.header .gnav-btn .plus::before,
.header .gnav-btn .plus::after {
  background: currentColor;
}


/* buttonのデフォルト差を潰す（これが無いとズレること多い） */
.header .gnav-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  line-height: inherit;
  appearance: none;
  -webkit-appearance: none;
}

/* ＋は文字色に追従させる（色指定を捨てる） */
.header .gnav-btn .plus::before,
.header .gnav-btn .plus::after {
  background: currentColor;
  transition: background-color .6s ease, opacity .6s ease;
  /* ← ここも揃える */
}

@media (max-width: 1280px) {
  .list-gnav {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .gnav-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
}

@media (max-width: 1060px) {
  #gNavi {
    display: none;
  }

  .logo {
    position: absolute;
    left: 20px;
    max-width: 262px;
    width: 100%;
  }
}

@media (max-width: 680px) {
  .header {
    padding: 12px 14px;
  }

  .logo {
    position: absolute;
    left: 20px;
    max-width: 222px;
    width: 100%;
    top: 30px;
  }

  #gNavi {
    display: none;
  }

  /* SPは一旦非表示（必要ならハンバーガー実装） */
  .mv-card {
    width: calc(100vw - 28px);
    top: 70px;
  }

  .mv-card__inner {
    grid-template-columns: 1fr;
  }

  .mv-card__photo img {
    height: 140px;
  }

  .mv-en {
    left: 18px;
    right: auto;
    bottom: 88px;
  }

  .mv-jp {
    bottom: 38px;
  }
}



/* =======================================
SPMENU
======================================== */
.openbtn {
  position: fixed;
  right: 0;
  top: 0;
  border-radius: 8px;
  width: 55px;
  height: 55px;
  display: none;
  background-color: #1b4f8a;
  transform: translate3d(0, 0, 0);
  z-index: 9999;
}

.openbtn.active {
  border: 1px solid #fff;
}

.openbtn {
  cursor: pointer;
  margin-left: 0;
}

.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 1.4rem;
  border-radius: 2px;
  height: 2px;
  background-color: #fff;
}

.openbtn span:nth-of-type(1) {
  top: 10px;
  left: 10px;
  width: 35px;
}

.openbtn span:nth-of-type(2) {
  top: 19px;
  left: 10px;
  width: 35px;
}

.openbtn span:nth-of-type(3) {
  top: 28px;
  left: 10px;
  width: 35px;
}

.openbtn.active span:nth-of-type(1) {
  top: 12px;
  width: 35px;
  left: 8px;
  background-color: #fff;
  transform: translateY(5px) rotate(-160deg);
}

.openbtn.active span:nth-of-type(3) {
  top: 22px;
  left: 8px;
  width: 35px;
  background-color: #fff;
  transform: translateY(-5px) rotate(160deg);
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active p {
  color: #fff;
}

.overlay-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -280px;
  width: 280px;
  color: #fff;
  text-align: left;
  background-color: var(--main-color);
  transition: transform 0.5s ease;
  overflow-y: auto;
  z-index: 9900;
  padding-bottom: 50px;
}

.overlay-menu-inner {
  position: relative;
  height: 100%;
  padding: 100px 20px 20px;
}

.spNav-top-01 ul li {
  line-height: 1.5;
  padding-bottom: 15px;
  border-bottom: 1px solid #fff;
}

.spNav-top-01 ul {
  width: 100%;
}

.spNav-top-01 ul li:nth-child(n+2) {
  margin-top: 22px;
}

.sp-nav-copy {
  margin-top: 60px;
  padding-bottom: 80px;
  color: #fff;
  font-size: 12px;
}

.overlay-menu-inner .fa-angle-right {
  padding-right: 5px;
}

.overlay-menu .tel {
  font-size: 0;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
  display: flex;
  line-height: 1;
  color: var(--blue-color);
  align-items: center;
  margin-top: 30px;
}

.overlay-menu .tel-text {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-left: 5px;
  padding: 0;
}

.overlay-menu .tel-icon {
  width: 30px;
}

.overlay-menu .tel a {
  display: block;
  font-size: 0;
  line-height: 1;
}

.overlay-menu {
  display: block;
  opacity: 0;
  left: 0;
  top: 0;
  transition: 0.7s;
  position: fixed;
  overflow: auto;
  width: 100%;
  height: 100%;
  z-index: 1001;
  pointer-events: none;
  z-index: 1000;
}

.overlay-menu.active {
  opacity: 1;
  background: rgba(47, 126, 212, 0.9);
  pointer-events: all;
}

.overlay-menu-inner {
  position: relative;
  height: 100%;
  padding: 100px 28px 20px;
}

.spNav-top-01 ul li {
  border-bottom: 1px solid #fff;
}

.spNav-top-01 ul li a {
  padding-right: 30px;
  background-repeat: no-repeat;
  background-position: right top 4px;
  background-image: url('../images/common/btn-circle-arrow.svg');
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  padding: 4px 30px 4px 0;
  font-weight: 500;
  line-height: 1;
}

.spNav-top-01 ul {
  max-width: 100%;
  width: 100%;
}

.spNav-top-01 ul li:nth-child(n+2) {
  margin-top: 15px;
}

.sp-nav-copy {
  margin-top: 60px;
  color: #fff;
  font-size: 12px;
}

/* 初期は閉じる */
.sp-sub-wrap {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
}

/* 開いた状態 */
.has-sub.is-open .sp-sub-wrap {
  max-height: 600px;
  /* サブ数が増える想定なら大きめでOK */
  opacity: 1;
  transform: translateY(0);
}

/* サブ */
.sp-sub {
  list-style: none;
  margin: 0;
  padding: 0 0 18px;
}

.sp-sub li {
  border-top: 1px solid rgba(255, 255, 255, .25);
}

.sp-sub a {
  display: block;
  padding: 16px 18px 16px 34px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.6;
}

.sp-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-nav>li {
  position: relative;
  padding: 0 22px;
  /* 線の左右余白を統一（ここが肝） */
}

/* 親メニューの区切り線（横線） */
.sp-nav>li::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, .55);
}

/* 親リンク */
.sp-nav>li>a {
  display: flex;
  align-items: center;
  padding: 26px 0;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: .06em;
}

.sp-nav>li.active>a,
.sp-nav>li.active>button {
  color: rgb(247, 247, 165);
}

/* 親ボタン（技術・サービス） */
.sp-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 26px 0;
  background: none;
  border: 0;

  color: #fff;
  font-weight: 800;
  font-size: 34px;
  /* 親だけ少し大きい */
  letter-spacing: .06em;
  text-align: left;

  cursor: pointer;
}

/* + アイコンを右端に揃え、見た目を少し上品に */
.sp-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: .95;
}

.sp-plus::before,
.sp-plus::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 1px;
}

.sp-plus::before {
  left: 0;
  top: 50%;
  width: 18px;
  height: 2px;
  transform: translateY(-50%);
}

.sp-plus::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 18px;
  transform: translateX(-50%);
}

.has-sub.is-open .sp-plus::after {
  opacity: 0;
}

.sp-sub-wrap {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .38s ease, opacity .25s ease, transform .25s ease;
}

.has-sub.is-open .sp-sub-wrap {
  opacity: 1;
  transform: translateY(0);
}

.sp-sub {
  list-style: none;
  margin: 0;
  padding: 10px 0 18px;
  /* 上下の空気感 */
}

.sp-sub li {
  position: relative;
  padding-left: 16px;
  /* インデント */
}

.sp-sub li::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, .28);
}

.sp-sub a {
  display: block;
  padding: 16px 0;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .03em;
  opacity: .95;
}

.sp-sub a:active {
  opacity: .7;
}

.has-sub.is-open>.sp-btn {
  padding-bottom: 18px;
}

.sp-nav>li::after {
  content: none !important;
}

/* 2) 既存の li マージンがサブにも効くのを止める */
.spNav-top-01 .sp-sub li {
  margin-top: 0 !important;
  padding-bottom: 0;
}

.spNav-top-01 .has-sub {
  margin-top: 25px;
  /* 親（技術・サービス）だけ既存と同じ間隔 */
}

/* 3) 既存の “右の丸矢印背景” はサブに要らないので消す */
.spNav-top-01 .sp-sub a {
  background-image: none !important;
  padding-right: 0 !important;
}

/* 4) 親（技術・サービス）のボタンは既存のaと同じ行間・サイズ感に合わせる */
.spNav-top-01 .sp-btn {
  padding: 4px 0 !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

/* 5) 親の “＋/−” を右上の矢印と同じ位置に寄せる */
.spNav-top-01 .sp-plus {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  margin-top: 2px;
}

.spNav-top-01 .sp-plus::before {
  width: 16px !important;
}

.spNav-top-01 .sp-plus::after {
  height: 16px !important;
}

.spNav-top-01 .sp-sub {
  padding: 0 0 6px !important;
}

.spNav-top-01 .sp-sub a {
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  padding: 12px 0 12px 16px !important;
  /* インデント */
  opacity: .95;
}

/* 7) サブの線は薄く（border-topではなく border-bottom に統一して見た目を揃える） */
.spNav-top-01 .sp-sub li {
  border-top: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .25) !important;
}

/* 8) 開いてるときの余白（詰まり回避） */
.spNav-top-01 .has-sub.is-open .sp-btn {
  padding-bottom: 10px !important;
}


/* サブの線を完全に消す */
.spNav-top-01 .sp-sub li {
  border: 0 !important;
}

.spNav-top-01 .sp-sub li::after {
  content: none !important;
}

/* 余白だけで階層を表現 */
.spNav-top-01 .sp-sub {
  padding: 6px 0 10px !important;
}

.spNav-top-01 .sp-sub a {
  padding: 12px 0 12px 0 !important;
  /* 左インデント */
  font-size: 16px !important;
  line-height: 1.5 !important;
  opacity: .95;
}

/* サブが親に食い込まないように少し間を空ける */
.spNav-top-01 .has-sub.is-open .sp-sub-wrap {
  margin-top: 6px;
}

#sp-menu .p-mv__copy {
  max-width: 200px;
  padding-bottom: 30px;
  margin-left: auto;
  position: static;
  bottom: 0;
}

.overlay-menu {
  padding-bottom: 0;
}

.sp-nav-copy {
  padding-bottom: 30px;
  margin-top: 20px;
  color: #fff;
  font-size: 12px;
}

@media (max-width: 1060px) {
  .openbtn {
    top: 20px;
    right: 20px;
    display: block;
  }

  .openbtn p {
    font-size: 11px;
    line-height: 1;
    text-align: center;
    color: #fff;
    padding-left: 1px;
    font-weight: 500;
    margin-top: 36px;
  }
}

/* =========================
  contact-cta
========================= */

.contact-cta {
  padding: 0;
  position: relative;
  /* background: linear-gradient(90deg, #2fa2d4 0%, #2f7ed4 100%); */
  background: #1266A4;
  z-index: 0;
}

.contact-cta__inner {
  position: relative;
  overflow: hidden;
  padding: 150px 0 155px;
  border-radius: 0;
  color: #fff;
}

.contact-cta__watermark {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  z-index: -1;
  transform: none;
  pointer-events: none;
}

.contact-cta__watermark img {
  height: 100%;
  width: auto;
  display: block;
}

.contact-cta__top {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0 60px;
}

.contact-cta__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 200px;
}

.contact-cta__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

.contact-cta__ttl {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

.contact-cta__lead {
  margin: 0;
  font-size: 16px;
  font-family: "Noto Serif JP", serif;
  line-height: 1.8;
  opacity: .95;
}

.contact-cta__line {
  height: 1px;
  background: rgba(255, 255, 255);
  margin: 80px 0;
}

.contact-cta__telbox {
  display: inline-block;
}

.contact-cta__tel {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 28px;
}

.contact-cta__tel-label {
  font-size: 20px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  letter-spacing: .06em;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

.contact-cta__tel-label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  display: inline-block;
  flex-shrink: 0;
}

.contact-cta__tel .tel-span {
  color: #fff;
  font-size: 32px;
  line-height: 1;
  font-weight: 500;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  text-decoration: none;
}

.contact-cta__fax {
  margin: 0;
  font-size: 16px;
  letter-spacing: .04em;
  display: flex;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  gap: 0 10px;
  align-items: center;
  line-height: 1;
  padding-left: 46px;
}

.contact-cta__fax .fax-text-large {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
}

.contact-cta__fax-label {
  font-size: 18px;
}

.fax-text {
  font-size: 14px;
}

.contact-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  min-width: 304px;
  height: 56px;
  padding: 0 30px;

  background: #fff;
  color: #2e95d4;
  letter-spacing: 0.02em;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}

.contact-cta__btn-icon {
  width: 8px;
  height: 8px;
  background-color: #2e95d4;
  line-height: 1;
  display: inline-block;
  transition: transform .4s ease;
}

.contact-cta__btn:hover .contact-cta__btn-icon {
  transform: scale(1.2);
}

.contact-cta .container {
  max-width: 1250px;
}

@media (max-width: 991px) {
  .contact-cta__inner {
    padding: 56px 0 56px;
  }

  .contact-cta__watermark {
    right: -120px;
  }

  .contact-cta__tel {
    font-size: 24px;
  }

  .contact-cta__top {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0 60px;
  }

  .contact-cta__line {
    height: 1px;
    background: rgba(255, 255, 255);
    margin: 60px 0;
  }

  .contact-cta__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 60px;
  }

}

@media (max-width: 767px) {
  .contact-cta__inner {
    padding: 46px 0 42px;
  }

  .contact-cta__line {
    margin: 30px 0;
  }

  .contact-cta__watermark {
    right: -140px;
  }

  .contact-cta__tel {
    font-size: 22px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .contact-cta__fax {
    padding-left: 0;
  }

  .contact-cta__btn {
    margin: 0 auto;
    margin-top: 25px;
    max-width: 304px;
    display: flex;
    font-size: 16px;
    justify-content: center;
  }

  .contact-cta__top {
    margin-left: auto;
    margin-right: auto;
    display: table;
    justify-content: center;
    align-items: flex-end;
    gap: 0 60px;
  }

  .contact__top__left {
    margin-bottom: 20px;
  }

  .contact-cta__bottom {
    display: block;
    justify-content: center;
    align-items: center;
    gap: 0 60px;
  }

  .contact-cta__telbox {
    display: table;
    margin: 0 auto;
  }

  br.sp-480 {
    display: none;
  }

  .contact-cta__tel .tel-span {
    color: #fff;
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
    text-decoration: none;
  }

  .contact-cta__ttl {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
  }
}

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

.site-footer {
  background: #fff;
  padding: 100px 0 54px;
  border-top: 1px solid #e6e6e6;
  font-size: 13px;
  color: #333;
}

.footer-line {
  border-bottom: 1px solid #065a8e;
}

.footer-main {
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
}

.footer-label {
  font-size: 12px;
  letter-spacing: .08em;
  color: #3a3c3d;
  line-height: 1;
  margin: 0 0 38px;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

.agency-certification {
  margin-bottom: 20px;
  font-size: 16px;
}

.agency-certification.upper {
  margin-bottom: 0;
}

.footer-logo {
  max-width: 360px;
  width: 100%;
  margin-bottom: 20px;
}

.footer-address {
  font-style: normal;
  line-height: 1.8;
  font-size: 18px;
  color: #3a3c3d;
  margin-bottom: 12px;
}

.footer-map {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  background-color: #065a8e;
  color: #fff;
  padding: 6px;
  line-height: 1;
  border-radius: 4px;
  transition: 0.7s;
  text-decoration: none;
}

.footer-map:hover {
  background-color: var(--blue-color);
}

.footer-contact {
  font-size: 18px;
  line-height: 1.5;
}

.footer-contact a {
  text-decoration: none;
}

.footer-nav,
.footer-service {
  font-size: 14px;
  line-height: 1.8;
}

.footer-label {
  font-size: 12px;
  margin-bottom: 40px;
  color: #3a3c3d;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 6px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin: 0 0 40px;
}


.footer-service ul {
  margin: 0;
  padding-left: 1.2em;
}

.footer-service ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-service li {
  margin: 0 0 40px;
}

.footer-service ul {
  padding-left: 20px;
  margin: 0;
}

.footer-nav a,
.footer-service a {
  color: #3a3c3d;
  font-weight: 500;
  text-decoration: none;
  font-size: 24px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  transition: 0.7s;
}

.footer-nav a:hover {
  color: var(--blue-color);
}


.footer-service a:hover {
  color: var(--blue-color) !important;
}

.footer-service {
  margin-top: 50px;
}

.footer-service-label {
  color: #3a3c3d;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-nav-wrap {
  display: flex;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  align-items: start;
}

.footer-label {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  letter-spacing: .08em;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.badge-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.badge-list li {
  display: inline-block;
}

.badge-list img {
  max-width: 120px;
  height: auto;
}

.footer-bottom {
  padding-top: 28px;
}

.copyright {
  margin: 0;
  font-size: 14px;
  color: #3a3c3d;
}

.badge-wrap {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.badge-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.badge-list li {
  text-align: center;
}

.badge-list--saitama {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.badge-list--saitama img {
  max-width: 200px;
  height: auto;
}

.badge-list--meti img {
  position: relative;
}

.badge-list--meti img {
  max-width: 182px;
  height: auto;
}

.page-top {
  font-size: 16px;
  color: #065a8e;
  cursor: pointer;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  text-decoration: none;
  transition: 0.7s;
}

.page-top:hover {
  color: var(--blue-color);
}

.page-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.page-top::before {
  content: "";
  width: 4px;
  height: 4px;
  background: #065a8e;
  display: inline-block;
  flex-shrink: 0;
}

@media (max-width: 1500px) {

  .footer-nav-wrap {
    display: flex;
    column-gap: 20px;
    align-items: start;
  }

  .footer-badges {
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav a, .footer-service a {
    color: #3a3c3d;
    font-weight: 500;
    text-decoration: none;
    font-size: 24px;
    font-family: "Zen Kaku Gothic New", sans-serif;
  }

  .footer-service-label {
    color: #3a3c3d;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 15px;
  }

}

@media (max-width: 1260px) {

  .footer-nav-wrap {
    display: flex;
    column-gap: 10px;
    align-items: start;
  }

  .footer-service {
    margin-top: 52px;
  }

  .footer-nav a, .footer-service a {
    color: #3a3c3d;
    font-weight: 500;
    text-decoration: none;
    font-size: 24px;
    font-family: "Zen Kaku Gothic New", sans-serif;
  }

  .footer-service-label {
    color: #3a3c3d;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 15px;
  }


  .footer-address {
    font-style: normal;
    line-height: 1.8;
    font-size: 18px;
    letter-spacing: 0;
    color: #3a3c3d;
    margin-bottom: 12px;
  }

  .footer-contact {
    font-size: 18px;
  }
}

@media (max-width: 1200px) {
  .footer-nav-wrap {
    display: flex;
  }

  .badge-wrap {
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-info {
    display: table;
  }
}

@media (max-width: 991px) {

  .footer-main {
  padding-bottom: 80px;
  display: grid;
  gap:80px 40px;
}

  .footer-badges {
    grid-column: 1 ;
  }

    .footer-nav a, .footer-service a {
    color: #3a3c3d;
    font-weight: 500;
    text-decoration: none;
    font-size: 18px;
    font-family: "Zen Kaku Gothic New", sans-serif;
  }

}

@media (max-width: 767px) {
    .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-nav li {
  margin: 0 0 20px;
}

.footer-service li {
  margin: 0 0 20px;
}
  .footer-info-wrap {
    order: 2;
  }

  .footer-nav-wrap {
    order: 2;
    column-gap: 20px;
  }

  .footer-logo img{
    max-width: 300px;
  }

  .site-footer {
    padding: 56px 0 24px;
  }

  .footer-badges {
    grid-column: auto;
    order: 3;
  }

  .badge-list li {
    margin-left: 0;
  }

  .footer-info {
    display: table;
    max-width: 100%;
    width: 100%;
  }

  .text-md-end {
    text-align: right !important;
  }

  .footer-nav a,
  .footer-service a {
    color: #3a3c3d;
    font-weight: 500;
    text-decoration: none;
    font-size: 18px;
    font-family: "Zen Kaku Gothic New", sans-serif;
  }

  .footer-service-label {
    color: #3a3c3d;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 15px;
  }

  .page-top {
    font-size: 14px;
  }

  .copyright {
    margin: 0;
    font-size: 12px;
    color: #3a3c3d;
  }
}

@media (max-width: 575px) {
.agency-certification {
  margin-bottom: 20px;
  font-size: 16px;
}
}



/* =======================================
認定・認証
======================================== */

.certification-area {
  padding: 240px 0;
  background: #fff;
}

.certification-area .container {
  max-width: 1300px;
}

@media (max-width: 1680px) {
  .certification-area .container {
    max-width: 1150px;
  }
}

/* 左：見出し */
.certification-label {
  font-size: 12px;
  color: #065a8e;
  margin: 0 0 16px;
  font-family: "Poppins", "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

.certification-title {
  font-size: 24px;
  font-weight: 500;
  margin: 0;
  color: #1a1a1a;
}

/* 右：バッジグリッド */
.certification-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;

  grid-template-columns: repeat(3, auto);
  /* 3列用 */

  /* grid-template-columns: repeat(4, auto); */
  /* 4列用 */
  
  justify-content: space-around;
  gap: 40px;
  align-items: center;
}

.certification-item img {
  max-width: 180px;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .certification-area {
    padding: 80px 0;
  }

  .certification-list {
    grid-template-columns: repeat(2, auto);
    gap: 32px;
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .certification-area {
    padding: 48px 0;
  }

  .certification-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .certification-item img {
    max-width: 100%;
  }
}


/* =======================================
モーダル
======================================== */
.img-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.img-modal.is-open {
  display: block;
}

.img-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.img-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90vw, 1000px);
  max-height: 90vh;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.img-modal__content img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

.img-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}