/* KVフェードインアニメーション */
.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-fade-order] {
  opacity: 0;
  transform: translateY(40px);
}
/* FAVTOWN キャリアTOPページ専用CSS */

/* 基本スタイル - モバイルファースト */
body {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f6fcff;
}

/* 全体コンテナ - ヘッダーからフッターまでを囲む */
.favtown-page-container {
  max-width: 560px;
  margin: 0 auto;
  background: #ffffff;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 10;
}

/* 560px以上でのみカード型デザインを適用 */
@media (min-width: 561px) {
  .favtown-page-container {
    box-shadow: 0px 5.973px 20.907px 0px rgba(0, 0, 0, 0.15);
  }
}

/* メインコンテンツエリア - スマホファースト・Figmaベース */
.favtown-content-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* KVエリア - Figmaデザイン準拠 */
.favtown-top-main {
  position: relative;
  overflow: hidden;
}

.kv-card {
  width: 100%;
  margin: 0 auto;
  background: white;
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 10px 0 0;
}

.kv-main-copy,
.kv-title-city,
.kv-title-concept {
  font-weight: 700;
  color: #27292b;
  line-height: 1.2;
  margin: 0;
}

.kv-sub-copy {
  margin: 16px 0 21px var(--28px);
  color: #27292b;

  font-size: var(--16px);
  font-style: normal;
  font-weight: 600;
  line-height: 180%; /* 28.8px */
  text-align: left;
}

.kv-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffea34 0%, #ffface 100%);
  color: #156fc6;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: var(--16px);
  border: 4px solid #ffffff;
  letter-spacing: 0.05em;
}

.kv-btn-main::after {
  content: "";
  width: 24px;
  height: 24px;
  background: #156fc6;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kv-btn-main::before {
  content: "▶";
  position: absolute;
  right: 20px;
  color: #ffffff;
  font-size: var(--10px);
  z-index: 1;
}

/* KVセクション */
.kv-section {
  text-align: center;
  padding: 20px 16px !important;
}

.kv-section p {
  font-size: var(--14px);
  color: #666;
  margin: 0;
}

/* 新しいKVエリアのタイトルレイアウト */
.kv-title-layout {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  line-height: 1.4;
  padding-left: var(--28px);
  margin-top: -97px;
}
.kv-title-layout img {
  width: 56%;
}

.kv-title-city {
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-align: left;
  color: #27292b;

  font-size: var(--27px);
  font-style: normal;
  font-weight: 600;
  line-height: 170%;
  margin-bottom: 0;
  letter-spacing: 0.3em; /* 文字間隔を広げる */
}
.kv-title-city .city_name {
  color: #156fc6;
}
.kv-title-line {
  background: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="2" height="146" viewBox="0 0 2 146" fill="none"><path d="M1 1L0.999994 145" stroke="%2327292B" stroke-width="0.5" stroke-linecap="square" stroke-dasharray="2 2"/></svg>');
  background-repeat: repeat-y;
  width: var(--15px);
  height: 230px;
  background-position: center;
}

.kv-title-concept {
  font-size: var(--24px);
  font-weight: 700;
  margin-top: 0;
}

/* タグスタイル */
.kv-tags {
  border-radius: 4px;
  border: 1px solid #156fc6;
  width: fit-content;
  padding: 5px;
  margin-left: var(--28px);
  color: #156fc6;

  font-size: var(--12px);
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
}

.kv-note {
  color: #27292b;

  font-size: var(--12px);
  font-style: normal;
  font-weight: 600;
  line-height: 180%; /* 21.6px */
  margin-top: 3px;
  margin-left: var(--28px);
  text-align: left;
  padding-top: 3px;
}

/* KV画像エリア */
.kv-image {
  position: relative;
  width: 100%;
  height: var(--350px);
  margin: 0 auto;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 560px) {
  .kv-image {
    margin-top: 16px;
    height: var(--320px);
  }
}

/* 円形画像 (左側の大きな画像) */
.circle-image {
  position: absolute;
  left: -8%;
  top: 0;
  width: var(--220px);
  height: var(--220px);
  z-index: 2;
}

.circle-image-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(144deg, #156fc6 20.83%, #c2e0ff 86.53%);
  z-index: 1;
}

.circle-image-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 50%;
  background: white;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5px;
}

.circle-image-container {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 正方形画像 (右上) */
.square-image {
  position: absolute;
  left: 56%;
  top: 8%;
  width: var(--110px);
  height: var(--110px);
  z-index: 1;
}

.square-image-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(137deg, #2dcbbc 15.8%, #a4eeee 92.11%);
  z-index: 1;
}

.square-image-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 13px);
  height: calc(100% - 13px);
  border-radius: 4px;
  background: white;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5px;
}

.square-image-container {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.square-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 長方形画像 (右下) */
.rectangle-image {
  position: absolute;
  left: 65%;
  bottom: 5%;
  width: var(--170px);
  height: var(--180px);
}
@media (min-width: 560px) {
  .rectangle-image {
    left: 69%;
    bottom: -5%;
  }
}
.rectangle-image-gradient {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 932.4px 932.4px 150px 150px;
  background: linear-gradient(135deg, #ffef64 0%, #ffface 100%);
}

.rectangle-image-inner {
  width: calc(100% - 16px);
  height: calc(100% - 18px);
  position: absolute;
  top: 9px;
  left: 9px;
  border-radius: 932.4px 932.4px 150px 150px;
  background-color: #ffffff;
}

.rectangle-image-container {
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  position: absolute;
  top: 6px;
  left: 6px;
  border-radius: 932.4px 932.4px 150px 150px;
  background-color: #fffdea;
  overflow: hidden;
}

.rectangle-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kv-ashirai {
  position: absolute;
  bottom: -21%;
  right: 10%;
  width: var(--85px);
}
.kv-ashirai img {
  width: 100%;
  object-fit: contain;
}

@media (min-width: 560px) {
  .kv-ashirai {
    bottom: -33%;
  }
}

/* 企業ロゴ一覧 */
#section-company-list .ashirai {
  width: 100%;
  position: relative;
  height: 0px;
}
#section-company-list .ashirai img {
  width: 42%;
  position: absolute;
  top: -49px;
  right: -8%;
}

#section-company-list.company-list {
  padding-top: 20px;
}
#section-company-list h2 {
  color: #27292b;

  font-size: var(--22px);
  font-style: normal;
  font-weight: 600;
  line-height: 170%; /* 37.4px */
  letter-spacing: 1.1px;
  padding: 42px 24px 0;
}
#section-company-list h2 .blue {
  color: #156fc6;
}
#section-company-list .company-logo-list {
  padding: 32px 24px 56px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

#section-company-list .company-logo-list .company-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border: 2px solid #e8f3ff;
  border-radius: 8px;
  height: 64px;
}

.kv-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 29px 0 0 0;
}
