@charset "UTF-8";

.front-hero-section {
    display: flex;
    flex-wrap: wrap;
    min-height: 100dvh;
    box-sizing: border-box;
    align-items: stretch; /* 子を親の高さに揃える */
}

.front-hero-col {
    flex: 1 1 50%;
	height: 100%;
    position: relative;
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: auto; /* 高さは親に揃う */
}
.front-hero-col:first-child .front-hero-card {
    margin-right: 20px;
}
.front-hero-col:last-child .front-hero-card {
    margin-left: 20px;
}

.front-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.front-hero-card {
    position: absolute;
	top: 50%;
    transform: translateY(-55%);
	transition: transform 0.3s ease;
    width: 78%;
    max-width: 540px;
    min-width: 260px;
    height: auto;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, calc(46px / 1440px * 100vw), 46px) 20px clamp(26px, calc(34px / 1440px * 100vw), 34px);
    border: none;
    text-align: center;
    margin: 0 auto;
    box-sizing: border-box;
    z-index: 2;
}

.front-hero-logo {
    height: clamp(30px, 4.5vw, 70px);
    width: auto;
    margin-bottom: 8px;
}

.front-hero-desc {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(12px, calc(15px / 1440px * 100vw), 15px);
    line-height: 18px;
    color: #484848;
    margin-bottom: clamp(16px, calc(27px / 1440px * 100vw), 27px);
}

.front-hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(160px, 22vw, 236px);
    max-width: 100%;
    height: clamp(42px, 5.6vw, 60px);
    background: linear-gradient(180deg, #95ACD4 0%, #364D74 100%);
    border: 1px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-radius: clamp(21px, 2.8vw, 30px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(12px, 1.45vw, 16px);
    color: #fff !important;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: box-shadow 0.2s;
    margin: 0;
    padding: 0;
    z-index: 3;
    opacity: 1;
}

.front-hero-btn.pink {
    background: linear-gradient(180deg, #FACCE0 0%, #FC8EBD 100%);
    border: 1px solid #FFFFFF;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    border-radius: clamp(21px, 2.8vw, 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(12px, 1.45vw, 16px);
    color: #fff;
    text-align: center;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: box-shadow 0.2s;
    margin: 0;
    padding: 0;
    z-index: 3;
    box-sizing: border-box;
}

.front-hero-offices {
    width: 100%;
    margin-top: clamp(20px, calc(30px / 1440px * 100vw), 30px);
}

.front-hero-offices__title {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin-bottom: clamp(16px, calc(22px / 1440px * 100vw), 22px);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(12px, calc(16px / 1440px * 100vw), 16px);
    line-height: 1.4;
    color: #222;
}

.front-hero-offices__title::before,
.front-hero-offices__title::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: rgba(170, 184, 202, 0.5);
}

.front-hero-offices__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, calc(12px / 1440px * 100vw), 12px) clamp(6px, calc(10px / 1440px * 100vw), 12px) ;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.front-hero-offices__list li {
    flex: 0 0 auto;
    min-width: clamp(60px, calc(80px / 1440px * 100vw), 80px);
    padding: 8px 16px;
    box-sizing: border-box;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(10px, calc(14px / 1440px * 100vw), 14px);
    line-height: 1.45;
    text-align: center;
    white-space: nowrap;
}

.front-hero-offices--starq .front-hero-offices__list li {
    color: #506C95;
    background: rgba(246, 250, 255, 0.82);
    border-color: #D4DEEE;
}

.front-hero-offices--gaia .front-hero-offices__list li {
    color: #FC5C99;
    background: rgba(255, 248, 251, 0.82);
    border-color: #FAC5DA;
}

@media (max-width: 1220px) and (min-width: 769px) {
    .front-hero-section {
        align-items: flex-start;
    }
    .front-hero-col {
        align-self: flex-start;
        height: auto;
    }
    .front-hero-bg {
        display: block;
        height: auto;
    }
    .front-hero-bg img {
        display: block;
    }
    .front-hero-card {
        top: 55%;
        width: 80%;
    }
}

@media (max-width: 768px) {
    .front-hero-section {
        display: flex !important;
        flex-direction: column !important;
        width: 100vw !important;
        max-width: 100vw !important;
		height: 100%;
    }
    .front-hero-col {
        width: 100vw !important;
        min-width: 0 !important;
        overflow: hidden;
        box-sizing: border-box;
    }
    .front-hero-card {
        width: 83vw !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        padding: 20px 10px;
    }
    .front-hero-bg {
        display: block;
        height: auto !important;
    }
    .front-hero-bg img {
        display: block;
    }
  
   
    .front-hero-offices__list {
        gap: 10px 8px;
    }
    .front-hero-offices__list li {
        min-width: 72px;
        padding: 7px 12px;
        font-size: 13px;
    }
}
@media (max-width: 520px) {
     .front-hero-offices {
        margin-top: 16px;
    }
    .front-hero-offices__title {
        gap: 12px;
        margin-bottom: 10px;
        font-size: clamp(12px, calc(14px / 768px * 100vw), 14px);
    }
    .front-hero-offices__list {
        gap: 4px 5px;
    }
    .front-hero-offices__list li {
        font-size: clamp(9px, calc(12px / 520px * 100vw), 12px);
        min-width: 0;
        padding: 4px 12px;
    }
}
