@charset "UTF-8";
/* TOPページ固有 */

/* ==========================================================================
   MV〜NEWS 共通背景（bg_main.jpg ＋ 白45%）
   背景グラデをゆっくり動かす：
   ::before … 背景画像がゆっくり拡大・移動
   ::after  … 左右反転した同じ画像がじんわりフェードして重なり、グラデの形が揺らぐ
   どちらも白45%を重ねているので、重なっても明るさは変わらない。
   初期フレームは静止版と同じ見た目。
   ※ ご要望により、OSの「動きを減らす」設定（prefers-reduced-motion）に関係なく常に動かす。
   ========================================================================== */
.gcs-mvwrap {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}
.gcs-mvwrap::before,
.gcs-mvwrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)), url("https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28845/bg_main.jpg") center top / cover no-repeat;
  will-change: transform, opacity;
  pointer-events: none;
}
.gcs-mvwrap::before {
  animation: gcs-mv-drift 28s ease-in-out infinite alternate;
}
.gcs-mvwrap::after {
  opacity: 0;
  animation: gcs-mv-morph 22s ease-in-out infinite alternate;
}
/* 拡大率に対して移動量を小さく抑え、画像の端が見えないようにする */
@keyframes gcs-mv-drift {
  0%   { transform: scale(1) translate(0, 0); }
  50%  { transform: scale(1.14) translate(-4%, 2.5%); }
  100% { transform: scale(1.1) translate(3%, -2%); }
}
@keyframes gcs-mv-morph {
  0%   { opacity: 0;   transform: scaleX(-1) scale(1.12) translate(2%, 0); }
  50%  { opacity: 0.6; transform: scaleX(-1) scale(1.18) translate(-3%, 3%); }
  100% { opacity: 0.3; transform: scaleX(-1) scale(1.12) translate(3%, -2%); }
}

/* ==========================================================================
   MV（mv_photo02 を画面いっぱいに・ヘッダーは写真の上に透過で重なる）
   写真はゆっくり拡大して、背景が動く演出を引き継ぐ。
   ========================================================================== */
.gcs-mv {
  position: relative;
  overflow: hidden;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
}
.gcs-mv__bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 波打ち際の弧と水平線が画面中央付近に来る位置 */
  object-position: center 62%;
  animation: gcs-mv-zoom 24s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes gcs-mv-zoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}
/* キャッチの背面に白をふんわり重ねて、紺文字を読みやすくする（PCは左側のみ） */
.gcs-mv::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 30%, rgba(255, 255, 255, 0) 58%);
  pointer-events: none;
}
@media (max-width: 1079px) {
  .gcs-mv__bg {
    object-position: 30% 62%;
  }
  .gcs-mv::after {
    background: linear-gradient(rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0.72) 32%, rgba(255, 255, 255, 0.72) 72%, rgba(255, 255, 255, 0) 90%);
  }
}

/* キャッチ */
.gcs-mv__copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}
.gcs-mv__copy-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 560px;
  text-align: center;
}
/* PC：キャッチを左に寄せ、右側の砂浜の弧を見せる */
@media (min-width: 1080px) {
  .gcs-mv__copy {
    justify-content: flex-start;
    padding: 85px 0 0 clamp(48px, 8vw, 140px);
  }
  .gcs-mv__copy-inner {
    align-items: flex-start;
    text-align: left;
  }
}
.gcs-mv__copy-inner::before {
  content: "";
  width: 56px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='16' viewBox='0 0 34 14' fill='none'%3E%3Cpolyline points='1,13 12,2 33,9' stroke='%2301a1e6' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / 56px 16px;
}
.gcs-mv__en {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.32em;
  color: #01a1e6;
}
.gcs-mv__catch {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.14em;
  color: #1f2d3a;
}
.gcs-mv__lead {
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 2.1;
  color: #1f2d3a;
}

/* ==========================================================================
   NEWS（白70%の箱・左右レイアウト）
   ========================================================================== */
.gcs-news {
  padding: clamp(56px, 7vw, 88px) clamp(20px, 4vw, 32px);
}
.gcs-news__box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  gap: 16px 40px;
  width: fit-content;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 48px);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.7);
}
.gcs-news__head {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 6px;
}
.gcs-news__en {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: #01a1e6;
}
.gcs-news__ja {
  font-size: 1.4rem;
  font-weight: 700;
}
.gcs-news__list {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  min-width: 0;
  border-top: 0;
}
.gcs-news__list .blog-list__item {
  border-bottom: 1px dashed #d7e4ec;
}
.gcs-news__list .blog-list__item:last-child {
  border-bottom: 0;
}
.gcs-news__list .blog-list__link,
.gcs-news__list .blog-list__link:hover {
  flex-wrap: wrap;
  align-items: stretch;
  gap: 4px 28px;
  padding: 14px 0;
  background: none;
  transition: none;
}
.gcs-news__list .blog-list__date {
  min-width: 96px;
  padding-left: 14px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: inherit;
  white-space: normal;
  color: #1866b2;
}
.gcs-news__list .gcs-news__date--new {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 0;
}
.gcs-news__list .gcs-news__date--new::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e56a6a;
}
.gcs-news__list .blog-list__title,
.gcs-news__list .blog-list__link:hover .blog-list__title {
  flex: 0 1 auto;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: inherit;
  color: #1f2d3a;
  transition: none;
}

/* ==========================================================================
   ABOUT US
   ========================================================================== */
.gcs-about {
  overflow-x: clip;
}
.gcs-about__grid {
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.gcs-about__photo {
  position: relative;
  padding: 0 0 28px 28px;
}
/* 写真背面の淡水色の面（右端まで） */
.gcs-about__photo::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 72%;
  background: #f5fafc;
}
.gcs-about__photo img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 2px;
}

/* ==========================================================================
   SCENERY（MVで使っていた風景写真6枚が横に流れる帯）
   同じリストを3回並べ、1リスト分（-33.333%）動いたら先頭に戻してつなぎ目を消す。
   1リストの幅が広い画面幅より短いため、2回ではなく3回並べている。
   ※ MVと同じく、OSの「動きを減らす」設定に関係なく常に動かす。
   ========================================================================== */
.gcs-scenery {
  --s: 1;
  overflow: hidden;
  padding-bottom: clamp(56px, 7vw, 96px);
}
.gcs-scenery__track {
  display: flex;
  width: max-content;
  animation: gcs-scenery-flow 70s linear infinite;
}
@keyframes gcs-scenery-flow {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.3333%); }
}
.gcs-scenery__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
  padding-right: clamp(14px, 1.8vw, 24px);
}
.gcs-scenery__item {
  flex: none;
  height: calc(var(--h) * var(--s));
  aspect-ratio: var(--ar);
}
.gcs-scenery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  border-radius: 3px;
}
/* 写真ごとに高さ・比率を変えてリズムを出す（03・05は元画像が小さいため小さめに） */
.gcs-scenery__item--a { --h: 280px; --ar: 4 / 3; }
.gcs-scenery__item--b { --h: 230px; --ar: 3 / 4; --pos: center 60%; }
.gcs-scenery__item--c { --h: 310px; --ar: 3 / 4; --pos: center 40%; }
.gcs-scenery__item--d { --h: 220px; --ar: 4 / 3; --pos: center 55%; }
/* 07は左下に文字の写り込みがあるため上寄せで下を切る */
.gcs-scenery__item--e { --h: 290px; --ar: 3 / 4; --pos: center top; }
.gcs-scenery__item--f { --h: 240px; --ar: 3 / 4; --pos: center 45%; }

/* ==========================================================================
   BUSINESS（背景写真＋紺55%・白カード2枚）
   ========================================================================== */
.gcs-business {
  position: relative;
  overflow: hidden;
  background: #0d3a5c;
}
.gcs-business__bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.gcs-business::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 40, 66, 0.55);
}
.gcs-business__inner {
  position: relative;
  z-index: 1;
}
.gcs-business__cards {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}
.gcs-bizcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 0 #e3edf3;
  color: #1f2d3a;
  transition: none;
}
.gcs-bizcard:hover {
  transform: none;
  box-shadow: 0 12px 32px rgba(24, 102, 178, 0.14);
  color: #1f2d3a;
}
.gcs-bizcard__icon {
  display: flex;
  justify-content: center;
  padding-top: clamp(32px, 4vw, 44px);
}
.gcs-bizcard__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
  padding: 12px clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px);
}
.gcs-bizcard__ttl {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0;
  line-height: 1.4;
  text-align: center;
}
.gcs-bizcard .card-service__title {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.gcs-bizcard__ttl-sub {
  display: block;
  font-size: 1.5rem;
}
.gcs-bizcard__en {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: #01a1e6;
}
.gcs-bizcard .card-service__text {
  font-size: 1.6rem;
  line-height: inherit;
  color: inherit;
}
.gcs-bizcard__btn {
  align-self: center;
  margin-top: auto;
}

/* ==========================================================================
   STRENGTH（写真35%／テキスト60%の左右交互）
   ========================================================================== */
.gcs-strength {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 5%;
  padding: 40px 0;
}
.gcs-strength--first {
  padding: 0 0 40px;
}
.gcs-strength--last {
  padding: 40px 0 0;
}
.gcs-strength--reverse {
  flex-direction: row-reverse;
}
.gcs-strength__img {
  display: block;
  flex: 1 1 35%;
  min-width: 240px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}
.gcs-strength__body {
  flex: 1 1 60%;
  min-width: min(100%, 320px);
}
.gcs-strength__ttl {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.gcs-strength__num {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 4.4rem;
  line-height: 1;
  color: #01a1e6;
}
.gcs-strength__h {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

/* STEP図（丸囲みSTEP＋グレーの丸ドットで連結） */
.gcs-steps {
  display: flex;
  gap: 10px;
  max-width: 560px;
  font-size: 1.4rem;
}
.gcs-steps__item {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  line-height: 1.6;
}
.gcs-steps__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.gcs-steps__item:not(:last-child) .gcs-steps__head::after {
  content: "";
  flex: 1;
  height: 6px;
  background-image: radial-gradient(circle at 3px 3px, #b8c4cc 2.5px, transparent 3px);
  background-size: 15px 6px;
  background-repeat: repeat-x;
  background-position: left center;
}
.gcs-steps__circle {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 48px;
  height: 48px;
  border: 1.5px solid #01a1e6;
  border-radius: 50%;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1;
  color: #01a1e6;
}
.gcs-steps__label {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}
.gcs-steps__no {
  font-size: 1.5rem;
}
.gcs-steps__role {
  font-size: 1.3rem;
  color: #4a5d6b;
}
.gcs-steps__name {
  font-weight: 700;
}

/* ==========================================================================
   RECRUIT（背景写真＋白82%）
   ========================================================================== */
.gcs-recruit {
  position: relative;
  overflow: hidden;
}
.gcs-recruit__bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.gcs-recruit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
}
.gcs-recruit__inner {
  position: relative;
  z-index: 1;
}
.gcs-recruit__body {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 48px);
  color: #1f2d3a;
}
.gcs-recruit__catch {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: #1866b2;
  text-wrap: balance;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.gcs-contact-cta {
  background: #f5fafc;
}
.gcs-contact-cta__text {
  max-width: 720px;
}
/* TEL2つ＋フォームボタンを横並び */
.gcs-contact-cta__btns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: center;
  gap: 16px;
  width: 100%;
}
.gcs-contact-cta__form {
  min-width: auto;
}
.gcs-telbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: 1px solid #d7e4ec;
  border-radius: 3px;
  background: #fff;
  color: #1f2d3a;
  line-height: 1.5;
}
.gcs-telbox__note {
  font-size: 1.3rem;
  text-align: center;
}
.gcs-telbox__num {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.06em;
  color: #1866b2;
}

/* ==========================================================================
   SP調整（767px以下）
   ========================================================================== */
@media (max-width: 767px) {
  .gcs-mv__en {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
  }

  /* SCENERY：写真を約6割の大きさに */
  .gcs-scenery {
    --s: 0.62;
  }

  /* STEP図：縦並び（丸の下にドットで連結） */
  .gcs-steps {
    flex-direction: column;
    gap: 0;
    font-size: 1.5rem;
  }
  .gcs-steps__item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: 24px 24px auto;
    column-gap: 16px;
  }
  .gcs-steps__head {
    grid-row: 1 / 4;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 0;
  }
  .gcs-steps__item:not(:last-child) .gcs-steps__head {
    padding-bottom: 6px;
  }
  .gcs-steps__item:not(:last-child) .gcs-steps__head::after {
    flex: none;
    width: 6px;
    height: 21px;
    background-image: radial-gradient(circle at 3px 3px, #b8c4cc 2.5px, transparent 3px);
    background-size: 6px 15px;
    background-repeat: repeat-y;
    background-position: center top;
  }
  .gcs-steps__role {
    align-self: end;
    line-height: 1.4;
  }
  .gcs-steps__name {
    align-self: start;
    line-height: 1.6;
  }

  /* 文字サイズ */
  .gcs-bizcard .card-service__title {
    font-size: 2rem;
  }
  .gcs-bizcard .card-service__text {
    font-size: 1.5rem;
  }
  .gcs-strength__num {
    font-size: 3.6rem;
  }
  .gcs-strength__h {
    font-size: 1.9rem;
  }

  /* ABOUT：「会社概要へ」ボタンを中央に */
  .gcs-about .gcs-btn--start {
    align-self: center;
  }

  /* 電話ボックス：注記を1行に */
  .gcs-telbox {
    padding: 14px 20px;
  }
}
