/* style.css */
/* Base, layout, header, hero, and footer styles for AV SQUARE. */

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background:
        linear-gradient(180deg, #FFFFFF 0%, #FFF5F8 280px, #FFF5F8 100%);
    color: #333333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: #FF6BAA;
    text-decoration: none;
}

a:hover {
    color: #FF8FA3;
    text-decoration: none;
}

.container {
    max-width: 1200px;
}

.site-header {
    background: #FFFFFF;
    box-shadow: 0 2px 16px rgba(255, 107, 170, 0.16);
}

.site-header-main {
    padding: 20px 0;
}

.brand-logo,
.brand-logo:hover {
    color: #333333;
    display: inline-flex;
    align-items: flex-end;
    flex-wrap: wrap;
    text-decoration: none;
}

.brand-logo-main {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    margin-right: 16px;
}

.brand-logo-main span {
    color: #FF6BAA;
}

.brand-logo-sub {
    color: #555555;
    font-size: 13px;
    line-height: 1.4;
    padding-bottom: 3px;
}

.header-search .input-group {
    box-shadow: 0 6px 18px rgba(255, 107, 170, 0.12);
    max-width: 430px;
    width: 100%;
}

.header-search .form-control,
.hero-search .form-control {
    border-color: #F1D6E2;
    border-right: 0;
    color: #333333;
    min-height: 46px;
}

.header-search .form-control:focus,
.hero-search .form-control:focus {
    border-color: #FFB6D5;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 170, 0.18);
}

.global-nav {
    background: linear-gradient(90deg, #FF6BAA 0%, #FF8FA3 58%, #FF6BAA 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    padding: 0;
}

.global-nav .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.65);
    margin: 8px 0;
    padding: 8px 10px;
}

.navbar-toggler-line {
    background: #FFFFFF;
    display: block;
    height: 2px;
    margin: 4px 0;
    width: 22px;
}

.global-nav .nav-link {
    color: #FFFFFF;
    font-weight: 700;
    padding: 15px 16px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.global-nav .nav-item.active .nav-link,
.global-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
}

.global-nav .nav-link:hover {
    transform: translateY(-1px);
}

.top-page {
    flex: 1 0 auto;
}

.hero-section {
    background:
        radial-gradient(circle at 10% 22%, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0.96) 5px, transparent 6px),
        radial-gradient(circle at 28% 78%, rgba(255, 255, 255, 0.72) 0, rgba(255, 255, 255, 0.72) 9px, transparent 10px),
        radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.82) 0, rgba(255, 255, 255, 0.82) 7px, transparent 8px),
        linear-gradient(115deg, #FFD7E7 0%, #FFF5F8 45%, #FFE5EE 68%, #FFD2DF 100%);
    border-bottom: 1px solid #F1D6E2;
    box-shadow: inset 0 -18px 28px rgba(255, 107, 170, 0.06);
    min-height: 200px;
    padding: 30px 0;
}

.hero-label {
    background: #FFFFFF;
    border: 1px solid #F1D6E2;
    border-radius: 999px;
    color: #FF6BAA;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    padding: 5px 12px;
}

.hero-section h1 {
    color: #333333;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
}

.hero-copy {
    color: #444444;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.hero-search {
    max-width: 640px;
}

.hero-search .input-group {
    box-shadow: 0 14px 34px rgba(255, 107, 170, 0.18);
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-visual-card {
    align-items: center;
    background:
        radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.82) 0, rgba(255, 255, 255, 0.82) 18%, transparent 19%),
        radial-gradient(ellipse at 50% 86%, rgba(255, 255, 255, 0.58) 0, rgba(255, 255, 255, 0.58) 33%, transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.35), rgba(255, 182, 213, 0.52)),
        linear-gradient(135deg, #FFB6D5, #FF8FA3);
    border: 10px solid rgba(255, 255, 255, 0.65);
    border-radius: 8px;
    box-shadow: 0 22px 44px rgba(255, 107, 170, 0.3);
    color: #FFFFFF;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    height: 150px;
    justify-content: center;
    width: 240px;
}

.top-content {
    padding-bottom: 34px;
    padding-top: 24px;
}

.page-content {
    padding-bottom: 34px;
    padding-top: 24px;
}

.page-heading-panel {
    background:
        radial-gradient(circle at 88% 24%, rgba(255, 255, 255, 0.82) 0, rgba(255, 255, 255, 0.82) 7px, transparent 8px),
        linear-gradient(115deg, #FFD7E7 0%, #FFF5F8 54%, #FFE5EE 100%);
    border: 1px solid #F1D6E2;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(255, 107, 170, 0.1);
    margin-bottom: 18px;
    padding: 24px;
}

.page-label {
    color: #FF6BAA;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-heading-panel h1 {
    color: #333333;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.page-heading-panel p:last-child {
    color: #555555;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}

.site-footer {
    background: linear-gradient(180deg, #FFF5F8 0%, #FFE4EE 100%);
    border-top: 1px solid #F1D6E2;
    color: #333333;
    margin-top: auto;
    padding-top: 34px;
}

.footer-brand,
.footer-brand:hover {
    color: #333333;
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-brand > span {
    display: block;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.footer-brand > span span {
    color: #FF6BAA;
}

.footer-brand small {
    color: #555555;
    display: block;
    font-size: 12px;
    margin-top: 8px;
}

.footer-description {
    color: #555555;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
}

.site-footer h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #555555;
    font-size: 14px;
}

.footer-links a:hover {
    color: #FF6BAA;
}

.footer-copy {
    background: #FF6BAA;
    color: #FFFFFF;
    font-size: 13px;
    margin-top: 26px;
    padding: 10px 0;
    text-align: center;
}

@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 991.98px) {
    .brand-logo {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand-logo-main {
        margin-bottom: 6px;
        margin-right: 0;
    }

    .header-search .input-group {
        max-width: none;
    }

    .global-nav .nav-link {
        text-align: left;
    }

    .hero-section {
        min-height: 180px;
        padding: 28px 0;
    }
}

@media (max-width: 768px) {
    body {
        background: #FFF5F8;
    }

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-header-main {
        padding: 10px 0 8px;
    }

    .site-header-main .row {
        margin-left: -8px;
        margin-right: -8px;
    }

    .site-header-main [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }

    .site-header-main .mb-3 {
        margin-bottom: 8px !important;
    }

    .brand-logo-main {
        font-size: 25px;
        margin-bottom: 2px;
    }

    .brand-logo-sub {
        font-size: 11px;
        padding-bottom: 0;
    }

    .header-search {
        width: 100%;
    }

    .header-search .input-group {
        box-shadow: 0 4px 12px rgba(255, 107, 170, 0.12);
        display: flex;
        flex-wrap: nowrap;
        max-width: none;
        width: 100%;
    }

    .header-search .form-control {
        flex: 1 1 auto;
        font-size: 13px;
        min-height: 38px;
        min-width: 0;
    }

    .header-search .btn {
        font-size: 13px;
        min-height: 38px;
        padding-left: 14px;
        padding-right: 14px;
        white-space: nowrap;
    }

    .global-nav {
        overflow: hidden;
    }

    .global-nav .container {
        display: block;
        padding-left: 0;
        padding-right: 0;
    }

    .global-nav .navbar-toggler {
        display: none;
    }

    .global-nav .navbar-collapse {
        display: block !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .global-nav .navbar-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        min-width: max-content;
        width: max-content !important;
    }

    .global-nav .nav-item {
        flex: 0 0 auto;
    }

    .global-nav .nav-link {
        font-size: 13px;
        padding: 10px 14px;
        white-space: nowrap;
    }

    .global-nav .nav-link:hover {
        transform: none;
    }

    .hero-section {
        min-height: 72px;
        padding: 7px 0;
    }

    .hero-label {
        font-size: 11px;
        margin-bottom: 3px;
        padding: 3px 9px;
    }

    .hero-section h1 {
        font-size: 17px;
        line-height: 1.25;
        margin-bottom: 2px;
    }

    .hero-copy {
        display: -webkit-box;
        font-size: 10px;
        line-height: 1.35;
        margin-bottom: 0;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }

    .hero-visual,
    .hero-search {
        display: none;
    }

    .top-content {
        padding-bottom: 18px;
        padding-top: 8px;
    }

    .page-content {
        padding-bottom: 18px;
        padding-top: 10px;
    }

    .page-heading-panel {
        display: none;
    }

    .page-label {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .page-heading-panel h1 {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .page-heading-panel p:last-child {
        font-size: 12px;
        line-height: 1.55;
    }

    .site-footer {
        background: #FFE4EE;
        padding-top: 20px;
        text-align: center;
    }

    .site-footer .row {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .site-footer [class*="col-"] {
        max-width: none;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .footer-brand,
    .footer-brand:hover {
        margin-bottom: 8px;
    }

    .footer-brand > span {
        font-size: 24px;
    }

    .footer-brand small {
        font-size: 11px;
        margin-top: 5px;
    }

    .footer-description {
        font-size: 13px;
        line-height: 1.6;
        margin: 0 auto 16px;
        max-width: 330px;
    }

    .site-footer h2 {
        display: none;
    }

    .footer-primary-block {
        margin-bottom: 0 !important;
    }

    .footer-primary-links {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0 0 14px;
    }

    .footer-primary-links li {
        margin-bottom: 0;
    }

    .footer-primary-links a {
        background: #FFFFFF;
        border: 1px solid #F1D6E2;
        border-radius: 6px;
        color: #FF6BAA;
        display: block;
        font-size: 13px;
        font-weight: 700;
        padding: 9px 8px;
    }

    .footer-secondary-links {
        border-top: 1px solid #F1D6E2;
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
        justify-content: center;
        margin-top: 4px;
        padding-top: 12px;
    }

    .footer-secondary-links li {
        margin-bottom: 0;
    }

    .footer-secondary-links a {
        color: #777777;
        font-size: 11px;
        line-height: 1.4;
    }

    .footer-mobile-hidden {
        display: none;
    }

    .footer-copy {
        font-size: 12px;
        margin-top: 14px;
        padding: 9px 8px;
    }
}

@media (max-width: 575.98px) {
    .brand-logo-main {
        font-size: 24px;
    }

    .hero-section h1 {
        font-size: 18px;
    }

    .hero-search .input-group {
        display: block;
    }

    .hero-search .form-control,
    .hero-search .input-group-append,
    .hero-search .btn {
        display: block;
        width: 100%;
    }

    .hero-search .btn {
        margin-top: 10px;
    }
}
