@charset "UTF-8";

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #192E52;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

section[id] {
    scroll-margin-top: 4rem;
}

.disp-sp {
    display: none;
}

@media (max-width: 768px) {
    .disp-sp {
        display: block;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

h1,h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    color: #192E52;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #192E52;
}

.wrapper {
    max-width: 850px;
    margin: 20px auto;
    padding: 80px 24px;
}

.section-wrapper {
    max-width: 850px;
    margin: 0 auto;
    padding: 120px 24px;
}

@media (max-width: 768px) {

    .wrapper {
        padding: 40px 24px;
    }

    .section-wrapper {
        padding: 60px 24px;
    }
}

/* ヘッダー */

header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    height: 84px;
    font-weight: normal;
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ヘッダーナビゲーション */

.site-logo-text_s {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: #192E52;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: #192E52;
}

.nav-list a:hover {
    font-weight: 600;
}

.btn-pink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 10px;
    background: #ef6b9a;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.btn-pink:hover {
    font-weight: 600;
}

@media (max-width: 768px) {

    header {
        height: 7rem;
    }

    .header-inner {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 8px 24px;
    }

    .header-logo {
        margin-bottom: 4px;
    }

    .header-nav {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .nav-list {
        display: flex;
        gap: 16px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .nav-list a {
        font-size: 14px;
    }

    .nav-contact {
        font-size: 14px;
        padding: 6px 12px;
    }

    .btn-pink {
        padding: 4px 20px;
    }
}

/* トップ */

#top {
    margin-top: 1.8rem;
    text-align: center;
}

#top p {
    margin-top: 1rem;
    line-height: 1.8;
}

.top-slider {
    width: 100%;
}

.slider-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.slider-item {
    flex-shrink: 0;
    margin-right: 24px;
    border-radius: 24px;
}

.slider-item img {
    display: block;
    height: 360px;
    width: auto;
    transition: transform 0.4s ease;
    will-change: transform;
}

.slider-item:hover img {
    transform: scale(1.05);
}

.top-content-title {
    border-bottom: 1px solid #ef6b9a;
    display: inline-block;
    padding-bottom: 8px;
}

@media (max-width: 768px) {
    .top-slider {
        overflow: hidden;
    }

}

/* サービス|ネイビー */


.nyv-section {
    background-color: #2B4066;
    color: #F1F1F1;
}

.nyv-contents-text {
    color: #F1F1F1;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    margin-top: 0.8rem;
}

.nyv-section h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.8;
    color: #F1F1F1;
}

.nyv-contents-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    color: #F1F1F1;
    margin: 0.8rem 0;
}

.gray-section {
    background-color: #C2C5CC;
    color: #192E52;
}

.gray-contents-text {
    color: #192E52;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    margin-top: 0.8rem;
}

.gray-section h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.8;
    color: #192E52;
}

.gray-contents-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    color: #192E52;
    margin: 0.8rem 0;
}

@media (max-width: 768px) {
    .nyv-contents-text {
        line-height: 1.4;
    }

}

/* サービス|カード */

.contents-card-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-top: 3rem;
}

.contents-card {
    all: unset;
    display: block;
    background-color: #fff;
    border-radius: 10px;
    padding: 1rem;
}

.contents-card-title {
    color: #2B4066;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0.8rem 0;
}

.contents-card-text {
    color: #2B4066;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 0.4rem;
}

@media (max-width: 768px) {

    .contents-card-box {
        display: block;
    }

    .contents-card {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }

    .contents-card is-active {
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    }

    .contents-card-box.js-service-cards {
        position: relative;
        padding: 24px 0 80px;
    }

    .contents-card-box.js-service-cards .contents-card {
        position: sticky;
        top: 120px;
        margin: 0 auto;
        border-radius: 16px;
        background: #fff;
        padding: 16px;
        text-align: left;
        transform: scale(.92);
        transition: transform .25s, filter .25s;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
        filter: grayscale(1) brightness(.92);
    }

    .contents-card-box.js-service-cards .contents-card.is-active {
        transform: scale(1);
        filter: none;
        z-index: 1000;
    }

    .contents-card-box.js-service-cards .contents-card+.contents-card {
        margin-top: 22px;
    }
}


/* 会社概要 */

.company-list {
    margin-top: 40px;
}

.company-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 32px;
    padding: 16px 0;
}

.company-item dt {
    font-weight: 600;
}

.company-item dd {
    margin: 0;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .company-item {
        display: block;
    }
}

/* お問合せ */

.contact-form {
    display: grid;
    gap: 24px;
    margin-top: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 20px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: none;
    background: #fff;
    font-size: 14px;
}

.form-row textarea {
    resize: vertical;
}

.form-row label {
    font-weight: 600;
}

.form-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
}

.form-error-message {
    background: #fee;
    border: 1px solid #e74c3c;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
    color: #c0392b;
    font-size: 14px;
}

.form-actions {
    margin-top: 24px;
    text-align: center;
}

.btn-submit {
    background: #ef6b9a;
    color: #fff;
    border: none;
    padding: 0.8rem 6rem;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}

.btn-submit:hover {
    opacity: 0.9;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* フッター */

.site-footer {
    background: #2f3f62;
    /* スクショの濃紺寄り */
    color: #F1F1F1;
    border-top: 1px solid #ef6b9a;
}

.footer-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 24px 10px;
}

footer .site-logo-text {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
}

footer .site-logo-text_s {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    color: inherit;
    text-decoration: none;
}

.footer-brand img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 6px;
    /* 角は好みで */
}

.footer-nav-list {
    margin: 0;
    padding: 0;
    list-style: disc;
    list-style-position: inside;
    display: grid;
    gap: 0.8rem;
    font-size: 14px;
}

.footer-nav-list a {
    color: #F1F1F1;
    text-decoration: none;
}

.footer-nav-list a:hover {
    opacity: 0.85;
}

.footer-copy {
    margin-top: 56px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: #F1F1F1;
}

@media (max-width: 768px) {
    .footer-wrapper {
        padding: 40px 24px 10px;
    }

    .footer-top {
        display: block;
    }

    .footer-brand {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .footer-nav-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .footer-copy {
        margin-top: 2rem;
    }

    footer .site-logo-text {
        font-size: 20px;
    }
    
    footer .site-logo-text_s {
        font-size: 18px;
    }
}

/*thanks*/
#contact-thanks {
    margin-top: 120px;
    text-align: center;
}

#contact-thanks h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    color: #192E52;
    margin-bottom: 2rem;
}

.confirm-box {
    margin-bottom: 2rem;
}

.back-margin {
    margin-top: 2rem;
}

.thanks-input {
    margin-top: 0.8rem;
    font-size: 14px;
    line-height: 1.5;
    color: #192E52;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    background-color: #edf1f8;
}

#contact-thanks .form-row {
    margin-top: 1rem;
}

.mail-note{
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.85;
}

@media (max-width: 768px) {

    #contact-thanks {
        margin-top: 10px;
    }

    .thanks-input {
        margin-top: 0;
    }

    #contact-thanks p {
        text-align: left;
    }
}

/*privacy*/
.privacy {
    margin-top: 120px;
}

.privacy h1 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    color: #192E52;
}

#privacy h2 {
    margin-top: 2rem;
    font-size: 20px;
}