/* =========================================================
   変数定義
========================================================= */
:root {
  --green: #00AD92;
  --green-dk: #006050;
  --green-pale: #E5F7F4;
  --blue: #2C31A6;
  --blue-pale: #F5F7FD;
  --blue-10: #EAEAF6;
  --red: #FC2E14;
  --text: #3C3C40;
  --gray: #5F6B72;
  --mute: #7F7F7F;
  --line: #E2E8EA;
  --line2: #CFD8DC;
  --maxw: 1140px;
}

/* =========================================================
   リセット / 基本設定
========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* 固定ヘッダー（上部のカラーバーを含む）にアンカー先が隠れないようにする */
#cat1,
#cat2,
#cat3 {
  scroll-margin-top: 104px;
}

body {
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

section {
  padding: 78px 0;
}

h1, h2, h3, h4 {
  font-weight: 800;
  color: var(--text);
  letter-spacing: .01em;
}

h2 {
  font-size: 30px;
  line-height: 1.45;
}

.sub {
  color: var(--gray);
  font-size: 15px;
  margin-top: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--green-dk);
}

.eyebrow:before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
}

/* =========================================================
   ヘッダー / ナビゲーション
========================================================= */
.idbar {
  height: 8px;
  display: grid;
  grid-template-columns: 34.8% 59.2% 6%;
}

.idbar span:nth-child(1) { background: var(--green); }
.idbar span:nth-child(2) { background: var(--blue); }
.idbar span:nth-child(3) { background: var(--red); }

header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.oval-mark {
  display: block;
  max-width: 130px;
  height: auto;
  flex-shrink: 0;
}

.oval-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand .btx b {
  display: block;
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.25;
}

.brand .btx {
  display: flex;
  align-items: center;
}

.brand .btx .cos {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--mute);
}

.brand .btx .cos span {
  color: var(--green-dk);
}

.brand .btx .cos i {
  font-style: normal;
  color: var(--line2);
  margin: 0 2px;
}

.gnav {
  display: flex;
  flex: 1 0 auto;
  margin-right: 24px;
  justify-content: flex-end;
  gap: 24px;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #4E5960;
}

.gnav a {
  text-decoration: none;
}

.gnav a:hover {
  color: var(--green-dk);
}

.nav .cta {
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  padding: 10px 20px;
  border-radius: 4px;
}

.nav .cta:hover {
  background: var(--green-dk);
}

@media (max-width: 900px) {
  .gnav { display: none; }
  .brand .btx .cos { display: none; }
}

/* =========================================================
   ファーストビュー (.fv)
========================================================= */
.fv {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--blue-pale) 100%);
  padding: 70px 0 64px;
  border-bottom: 1px solid var(--line);
}

.fv > .wrap {
  position: relative;
  z-index: 1;
}

.fv > .wrap > .inner {
  background: rgba(255,255,255,.5);
  padding: 24px;
  display: inline-block;
}

.fv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.fv-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  will-change: opacity, transform;
  animation: fvSlide 21s linear infinite;
}

.fv-slide.s1 {
  background-image: url(../img/image01.jpg);
  animation-delay: 0s;
}

.fv-slide.s2 {
  background-image: url(../img/image02.jpg);
  animation-delay: 7s;
}

.fv-slide.s3 {
  background-image: url(../img/image03.jpg);
  animation-delay: 14s;
}

.fv-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .88) 0%, rgba(245, 247, 253, .93) 100%);
}

@keyframes fvSlide {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  8% {
    opacity: 1;
  }
  33.333% {
    opacity: 1;
  }
  41.333% {
    opacity: 0;
  }
  46% {
    transform: scale(1.12);
  }
  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

.breadcrumb {
  font-size: 12px;
  color: var(--mute);
  margin-bottom: 28px;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--green-dk);
}

.fv-inner {
  max-width: 780px;
}

.fv .seg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--green-dk);
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.fv .seg:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.fv h1 {
  font-size: 40px;
  line-height: 1.36;
  color: var(--blue);
  margin-bottom: 20px;
}

.fv .lead {
  font-size: 16px;
  color: #4D5A61;
  max-width: 720px;
  line-height: 1.95;
}

.fv .acts {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 4px;
  transition: .2s;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line2);
}

/* =========================================================
   実績エリア (.proof)
========================================================= */
.proof {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.proof.flush {
  padding: 0;
  margin-top: 40px;
}

.proof .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 28px 62px;
}

.proof-metrics {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  width: 100%;
}

.proof .p {
  text-align: center;
}

.proof .num {
  font-size: 32px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.proof .num small {
  font-size: 18px;
}

.proof .lb {
  font-size: 14px;
  color: var(--gray);
  margin-top: 6px;
}

.proof .note {
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: var(--mute);
  margin-top: 20px;
}

/* =========================================================
   サービス概要 (.ov-grid)
========================================================= */
.sec-head {
  text-align: center;
  margin-bottom: 44px;
}

.ov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

.ov {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  text-decoration: none;
  transition: .2s;
  overflow: hidden;
}

.ov:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--green);
}

.ov.c2:before {
  background: var(--blue);
}

.ov.c3:before {
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.ov:hover {
  box-shadow: 0 8px 22px rgba(44, 49, 166, .08);
  transform: translateY(-3px);
}

.ov .ico {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 18px;
  background: var(--green-pale);
  color: var(--green-dk);
}

.ov.c2 .ico {
  background: var(--blue-10);
  color: var(--blue);
}

.ov.c3 .ico {
  background: linear-gradient(135deg, var(--green-pale), var(--blue-10));
  color: var(--blue);
}

.ov h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.ov p {
  font-size: 13.5px;
  color: var(--gray);
  min-height: 62px;
}

.ov .go {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 900;
  color: var(--green-dk);
}

.ov-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ov-arrow.a1 {
  left: calc(33.33% - 16px);
  background: var(--green);
}

.ov-arrow.a2 {
  left: calc(66.66% - 16px);
  background: var(--blue);
}

/* =========================================================
   目的別ソリューション (.alt / .cat / .pc)
========================================================= */
.alt {
  background: var(--blue-pale);
}

.cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 44px;
}

.cat:last-child {
  margin-bottom: 0;
}

.cat-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.cat-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.cat-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
}

.cat1 .cat-thumb {
  background-image: url('../images/cat1.jpg');
  background-color: var(--green-pale);
}

.cat1 .cat-thumb:after {
  background: linear-gradient(135deg, rgba(0, 173, 146, .35), rgba(0, 96, 80, .20));
}

.cat2 .cat-thumb {
  background-image: url('../images/cat2.jpg');
  background-color: var(--blue-10);
}

.cat2 .cat-thumb:after {
  background: linear-gradient(135deg, rgba(44, 49, 166, .32), rgba(44, 49, 166, .18));
}

.cat3 .cat-thumb {
  background-image: url('../images/cat3.jpg');
  background-color: var(--blue-10);
}

.cat3 .cat-thumb:after {
  background: linear-gradient(135deg, rgba(44, 49, 166, .30), rgba(0, 173, 146, .24));
}

.cat-num-ov {
  position: absolute;
  left: 10px;
  bottom: 6px;
  z-index: 2;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.cat-head h3 {
  font-size: 22px;
  color: var(--blue);
}

.cat-head p {
  font-size: 13.5px;
  color: var(--gray);
  margin-top: 3px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  transition: .2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.pc:hover {
  box-shadow: 0 8px 22px rgba(44, 49, 166, .08);
  transform: translateY(-2px);
}

.pc-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.pc .pi {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-pale);
  color: var(--green-dk);
  flex: 0 0 auto;
}

.cat2 .pc .pi {
  background: var(--blue-10);
  color: var(--blue);
}

.cat3 .pc .pi {
  background: linear-gradient(135deg, var(--green-pale), var(--blue-10));
  color: var(--blue);
}

.svc-tag {
  display: inline-flex;
  align-items: center;
  max-width: 170px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1;
  color: var(--green-dk);
  background: var(--green-pale);
  border: 1px solid rgba(0, 173, 146, .18);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}

.cat2 .svc-tag {
  color: var(--blue);
  background: var(--blue-10);
  border-color: rgba(44, 49, 166, .16);
}

.cat3 .svc-tag {
  color: var(--blue);
  background: linear-gradient(135deg, var(--green-pale), var(--blue-10));
  border-color: rgba(44, 49, 166, .12);
}

.pc h4 {
  font-size: 15px;
  margin-bottom: 5px;
}

.pc p {
  font-size: 12.5px;
  color: var(--gray);
  flex: 1;
}

.lk {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 900;
  color: var(--green-dk);
}

.cat2 .lk, .cat3 .lk {
  color: var(--blue);
}

.pc-btns {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pc-btns a {
  text-align: center;
  font-size: 10.8px;
  font-weight: 900;
  text-decoration: none;
  color: var(--green-dk);
  background: var(--green-pale);
  padding: 8px 6px;
  border-radius: 4px;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.cat2 .pc-btns a {
  color: var(--blue);
  background: var(--blue-10);
}

.pc-btns .ces,
.cat2 .pc-btns .ces {
  color: var(--green-dk);
  background: #fff;
  border: 1px solid var(--line2);
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 4px;
}

.ces .ces-line1,
.ces .ces-line2 {
  font-size: 8.5px;
  letter-spacing: -.03em;
  display: block;
  line-height: 1.05;
  white-space: nowrap;
}

.ces .ces-line3 {
  font-size: 10.8px;
  display: block;
  line-height: 1.08;
  white-space: nowrap;
}

/* =========================================================
   アイコン画像 (透過PNG／背景色・グラデは .ico / .pi 側の指定を使用)
========================================================= */
.icon-img {
  display: block;
  flex: 0 0 auto;
}

.ov .ico .icon-img {
  width: 42px;
  height: 42px;
}

.pc .pi .icon-img {
  width: 34px;
  height: 34px;
}

/* =========================================================
   お問い合わせ (.contact)
========================================================= */
.contact {
  background: linear-gradient(120deg, var(--green-dk), var(--blue));
  color: #fff;
  text-align: center;
}

.contact h2 {
  font-size: 30px;
  color: #fff;
}

.contact h2:after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: var(--red);
  border-radius: 999px;
  margin: 14px auto 0;
}

.contact p {
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  margin-top: 14px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 840px;
  margin: 36px auto 0;
}

.cc {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.cc .co {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.cc p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 22px;
  flex: 1;
}

.cc a {
  display: inline-block;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 4px;
  background: #fff;
  color: var(--green-dk);
}

.cc.r a {
  background: var(--green);
  color: #fff;
}

.contact .note {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, .72);
}

/* =========================================================
   フッター / アニメーション
========================================================= */
footer {
  background: #111A20;
  color: #AAB6BB;
  font-size: 12.5px;
  padding: 32px 0;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.foot b {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: .62s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   レスポンシブ (max-width: 920px)
========================================================= */
@media (max-width: 920px) {
  section {
    padding: 58px 0;
  }

  h2 {
    font-size: 23px;
  }

  .ov-grid,
  .cards,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .ov-arrow {
    display: none;
  }

  .cat-head {
    align-items: flex-start;
  }

  .cat-thumb {
    display: none;
  }

  .pc-btns {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   記述追加
========================================================= */

.cosmo-color-band {
  display: flex;
  width: 100%;
  height: 6px;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.cosmo-color-band span {
  display: block;
  height: 100%;
}

.cosmo-color-band__blue {
  width: 33.333%;
  background: #0075c9;
}

.cosmo-color-band__magenta {
  width: 33.333%;
  background: #d6006c;
}

.cosmo-color-band__orange {
  width: 33.334%;
  background: #f39800;
}

/* -----------------------------------------------
custom cookie content
----------------------------------------------- */

#custom-cookie-content {
	display: none;
	background: #F5F7FD;
	margin: 5px 0;
	text-align: center;
	padding: 15px;
}
#custom-cookie-content:has([data-id="cookie_consent_cookie_btn"]:not(:empty)) {
	display: block;
}
#custom-cookie-content ul li{
	list-style: none;
	font-size: 13px;
}
