/**
 * Top Page Styles
 * トップページ専用スタイル
 */

/* ========================================
 * トップページ共通スタイル
 * ======================================== */

.-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hero to Concerns: Wave that cuts through hero image */
.fv-section-transition--diagonal {
    height: 120px;
    background: transparent;
    margin-top: -120px;
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.fv-section-transition--diagonal svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 -3px 6px rgba(0, 0, 0, 0.08));
}

/* SP時は非表示 */
@media (max-width: 599px) {
    .fv-section-transition--diagonal {
        display: none;
    }
}

.swiper-pagination {
    bottom: 120px !important;
}

@media (max-width: 599px) {
    .swiper-pagination {
        bottom: 10px !important;
    }
}

h2:not(.-not-deco)::before {
    content: '' !important;
    position: absolute !important;
    top: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 30px !important;
    height: 3px !important;
    background: #c9a959 !important;
}

h2:not(.-not-deco)::after {
    content: '' !important;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a959, transparent);
}

.section-transition--arrow {
    height: 80px;
    background: #faf8f5;
}
.section-transition {
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    margin-bottom: -1px;
}

.section-transition svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.-title::before,
.-title::after {
    content: '';
    width: 40px;
    height: 1px;
    background: #c9a959;
    display: inline-block;
}

.-category-parts-wrapper {
  height: 100px;
  background: #ffffff;
  position: relative;
}

.-category-parts {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 30px;
  height: 30px;
  background: #c9a959;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(201, 169, 89, 0.4);
}
.-category-parts-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 50%, #faf8f5 50%);
}
.-category-parts-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(-135deg, transparent 50%, #faf8f5 50%);
}
.-flow {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 169, 89, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(26, 58, 92, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 20%, rgba(201, 169, 89, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 30% 80%, rgba(45, 90, 135, 0.06) 0%, transparent 45%);
}
.-greeting {
  background: linear-gradient(135deg, #2d4a6c 0%, #1a3a5c 100%);
  color: #fff;
  position: relative;
}

.-greeting::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.-greeting::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 89, 0.15) 0%, transparent 60%);
  border-radius: 50%;
}
/* ========================================
 * サービスアイコン演出
 * ======================================== */
.icon-container.has-icon-background-color {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 61, 67, 0.25);
}
.icon-container.has-icon-background-color:hover {
    transform: rotate(0deg) scaleX(1.08) scaleY(1.08) !important;
    box-shadow: 0 8px 25px rgba(197, 61, 67, 0.35);
}

.-line {
  position: relative;
}
.-line::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 30px;
    right: 30px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #06c755, transparent);
    border-radius: 3px;
}