/* ------------------------------------
   Front Page Styles
------------------------------------ */

/* ---- Reset ---- */
.fp-hero p,
.fp-news h2,
.fp-business h2,
.fp-about h2,
.fp-recruit h2,
.fp-voice h2,
.fp-column h2 {
    margin-top: 0;
}
.fp-about figure {
    margin: 0;
}
.fp-voice blockquote {
    margin: 0;
    padding: 0;
    border: none;
    font-style: normal;
}
.fp-column-item-wrap {
    display: contents;
}

/* ---- Hero Section ---- */
.fp-hero {
    position: relative;
    background: #a8d4ec center / cover no-repeat;
    color: #fff;
    padding: 0;
    overflow: hidden;
    min-height: 540px;
    display: flex;
    align-items: center;
}
.fp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        160deg,
        rgba(30, 80, 130, 0.55) 0%,
        rgba(50, 110, 160, 0.80) 40%,
        rgba(40, 95, 145, 0.50) 100%
    );
    z-index: 0;
}

.fp-hero-deco {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    height: 100%;
}
.fp-hero-deco--lt {
    width: 180px;
    left: 3%;
    top: 0;
}
.fp-hero-deco--rt {
    width: 180px;
    right: 3%;
    top: 0;
}
.fp-hero .container {
    position: relative;
    z-index: 1;
    padding-top: 140px;
    padding-bottom: 160px;
}
.fp-hero-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.fp-hero-catch {
    font-size: 28px;
    font-weight: 700;
    line-height: 2;
    text-align: center;
    margin: 0 0 24px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.06em;
}
.fp-hero-sub {
    font-size: 14px;
    line-height: 2;
    text-align: center;
    margin: 0 0 32px;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.fp-hero-btn {
    display: inline-block;
    color: #fff;
    border: 1.5px solid #fff;
    padding: 10px 36px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.fp-hero-btn:hover,
.fp-hero-btn:visited {
    color: #fff;
}
.fp-hero-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}
.fp-hero-bottom-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
}

/* ---- Section Common ---- */
.fp-section {
    padding: 60px 0;
}
.fp-section-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: #333;
}
.fp-section-title-en {
    font-size: 14px;
    text-align: center;
    color: #006DB0;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}
.fp-section-desc {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 40px;
    line-height: 1.8;
}
.fp-center {
    text-align: center;
}
.fp-btn {
    display: inline-block;
    background: #006DB0;
    color: #fff;
    padding: 10px 32px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s;
    margin-top: 24px;
}
.fp-btn:hover,
.fp-btn:visited {
    color: #fff;
    opacity: 0.8;
}

/* ---- News Section ---- */
.fp-news {
    padding: 60px 0;
    background: #fff;
}
.fp-news-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 24px;
}
.fp-news-tab {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 2px 8px;
    border-bottom: 2px solid transparent;
    font-size: 13px;
    font-family: inherit;
    transition: color 0.3s, border-color 0.3s;
}
.fp-news-tab:hover,
.fp-news-tab.active {
    color: #006DB0;
    border-bottom-color: #006DB0;
}
.fp-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fp-news-list li {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    align-items: flex-start;
}
.fp-news-list li:last-child {
    border-bottom: none;
}
.fp-news-date {
    color: #999;
    white-space: nowrap;
    min-width: 90px;
}
.fp-news-cat {
    display: inline-block;
    background: #006DB0;
    color: #fff;
    font-size: 11px;
    padding: 1px 10px;
    border-radius: 2px;
    white-space: nowrap;
}
.fp-news-text {
    flex: 1;
}
.fp-news-text a {
    color: #333;
    text-decoration: none;
}
.fp-news-text a:hover {
    color: #006DB0;
}

/* ---- Business Section ---- */
.fp-business {
    background: #f5f5f5;
    padding: 60px 0;
}
.fp-business-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 36px;
}
.fp-business-card {
    display: block;
    width: calc((100% - 48px) / 3);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s, transform 0.3s;
}
.fp-business-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    color: inherit;
}
.fp-business-card:visited {
    color: inherit;
}
.fp-business-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.fp-business-card-body {
    padding: 20px 20px 24px;
}
.fp-business-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.5;
}
.fp-business-card-text {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
}

/* ---- About Section ---- */
.fp-about {
    background: #f5f5f5;
    padding: 60px 0;
}
.fp-about--white {
    background: #fff;
}
.fp-about-photo {
    text-align: center;
    margin-bottom: 32px;
}
.fp-about-photo img {
    width: 100%;
    max-width: 700px;
    border-radius: 8px;
    object-fit: cover;
}
.fp-about-desc {
    max-width: 700px;
    margin: 0 auto 32px;
    font-size: 14px;
    line-height: 2;
    color: #555;
}
.fp-about-boxes {
    display: flex;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.fp-about-boxes--3col {
    max-width: 100%;
}
.fp-about-box {
    flex: 1;
    min-width: 200px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s, transform 0.3s;
}
.fp-about-box:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    color: inherit;
}
.fp-about-box:visited {
    color: inherit;
}
.fp-about-box-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.fp-about-box-title {
    font-size: 15px;
    font-weight: 700;
    color: #006DB0;
    margin: 16px 0 8px;
}
.fp-about-box-text {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    padding: 0 16px 20px;
}

/* ---- Recruit Section ---- */
.fp-recruit {
    background: #fff;
    padding: 60px 0;
}
.fp-recruit-subtitle {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}
.fp-recruit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.fp-recruit-card {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    padding: 0;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s, transform 0.3s;
}
.fp-recruit-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    color: inherit;
}
.fp-recruit-card:visited {
    color: inherit;
}
.fp-recruit-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.fp-recruit-card-body {
    padding: 16px;
}
.fp-recruit-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #006DB0;
    margin-bottom: 8px;
}
.fp-recruit-card-job {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin-bottom: 12px;
}
.fp-recruit-card-meta {
    margin: 0;
    padding: 0;
}
.fp-recruit-card-meta-row {
    display: flex;
    gap: 8px;
    font-size: 12px;
    line-height: 1.6;
    padding: 4px 0;
    border-top: 1px solid #eee;
}
.fp-recruit-card-meta-row dt {
    color: #999;
    white-space: nowrap;
    min-width: 60px;
    font-weight: 400;
}
.fp-recruit-card-meta-row dd {
    color: #333;
    margin: 0;
}

/* ---- Staff Voice Section ---- */
.fp-voice {
    background: #f5f5f5;
    padding: 60px 0;
}
.fp-voice-slider {
    display: flex;
    align-items: center;
    gap: 12px;
}
.fp-voice-no-slider {
    gap: 0;
}
.fp-voice-window {
    flex: 1;
    overflow: hidden;
}
.fp-voice-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}
.fp-voice-card {
    flex: 0 0 calc((100% - 40px) / 3);
    background: #fff;
    border-radius: 10px;
    padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}
.fp-voice-text {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
    flex: 1;
}
.fp-voice-role {
    font-size: 16px;
    font-weight: 700;
    color: #006DB0;
    margin-top: 14px;
    text-align: center;
}
.fp-voice-prev,
.fp-voice-next {
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #ddd;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, color 0.3s;
    font-family: inherit;
    line-height: 1;
}
.fp-voice-prev:hover,
.fp-voice-next:hover {
    border-color: #006DB0;
    color: #006DB0;
}

/* ---- Column & SNS Section ---- */
.fp-column {
    background: #fff;
    padding: 60px 0;
}
.fp-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.fp-column-item {
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: box-shadow 0.3s;
}
.fp-column-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: #333;
}
.fp-column-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.fp-column-item-body {
    padding: 12px 16px;
}
.fp-column-item-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}
.fp-column-item-date {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* ---- SNS Links ---- */
.fp-sns-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}
.fp-sns-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #006DB0;
    color: #fff;
    font-size: 20px;
    transition: opacity 0.3s;
    text-decoration: none;
}
.fp-sns-links a:hover,
.fp-sns-links a:visited {
    color: #fff;
    opacity: 0.8;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .fp-hero {
        min-height: 420px;
    }
    .fp-hero .container {
        padding-top: 100px;
        padding-bottom: 110px;
    }
    .fp-hero-catch {
        font-size: 18px;
        line-height: 1.9;
    }
    .fp-hero-sub {
        font-size: 13px;
    }
    .fp-hero-deco {
        display: none;
    }
    .fp-hero-bottom-wave {
        height: 60px;
    }
    .fp-section,
    .fp-news {
        padding: 40px 0;
    }
    .fp-news-list li {
        flex-direction: column;
        gap: 4px;
    }
    .fp-business-card {
        width: 100%;
        max-width: 360px;
    }
    .fp-recruit-cards {
        grid-template-columns: 1fr;
    }
    .fp-column-grid {
        grid-template-columns: 1fr;
    }
    .fp-voice-card {
        flex: 0 0 100%;
    }
    .fp-about-boxes {
        flex-direction: column;
    }
}
