/* ===================================
   株式会社あいサポート
   style.css Ver0.4
=================================== */

/* ---------- Reset ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif;
    color:#333;
    background:#ffffff;
    line-height:1.8;
}

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/* ---------- Container ---------- */

.container{
    width:90%;
    max-width:1200px;
    margin:0 auto;
}

/* ---------- Header ---------- */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:80px;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    z-index:999;
}

.header-inner{
    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo-area{
    display:flex;
    align-items:center;
    gap:18px;
}

.logo-area img{
    width:70px;
}

.logo-area h1{
    font-size:18px;
    color:#0b4ea2;
}

.logo-area p{
    font-size:14px;
    color:#666;
}

/* ---------- Navigation ---------- */

nav ul{
    display:flex;
    gap:28px;
}

nav a{
    color:#333;
    font-weight:bold;
    transition:.3s;
    white-space:nowrap;
}

nav a:hover{
    color:#0b4ea2;
}

/* ---------- Main ---------- */

main{
    margin-top:80px;
}

/* ---------- Hero ---------- */

.hero{
    background:#f7f9fc;
    padding:80px 0;
}

.hero-inner{
    display:flex;
    align-items:center;
    gap:60px;
}

.hero-content{
    flex:1;
}

.hero-content h2{
    font-size:48px;
    line-height:1.4;
    color:#0b4ea2;
    margin-bottom:25px;
    letter-spacing:0.03em;
}

.hero-content span{
    color:#222;
}

.hero-content p{
    font-size:18px;
    color:#555;
    margin-bottom:35px;
}

.hero-image{
    flex:1;
}

.hero-image img{
    width:100%;
    border-radius:18px;
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

/* ---------- Button ---------- */

.hero-buttons{
    display:flex;
    gap:20px;
}

.btn{
    display:inline-block;
    padding:15px 30px;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;
}

.btn-primary{
    background:#0b4ea2;
    color:#fff;
}

.btn-primary:hover{
    background:#083a7a;
}

.btn-secondary{
    border:2px solid #0b4ea2;
    color:#0b4ea2;
}

.btn-secondary:hover{
    background:#0b4ea2;
    color:#fff;
}

/* ==========================
   Services
========================== */

.services{
    padding:100px 0;
    background:#ffffff;
}

.section-title{
    text-align:center;
    font-size:36px;
    color:#0b4ea2;
    margin-bottom:60px;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.service-card{
    background:#fff;
    padding:35px;
    border-radius:16px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.service-icon{
    font-size:42px;
    margin-bottom:20px;
}

.service-card h3{
    color:#0b4ea2;
    margin-bottom:15px;
    font-size:24px;
}

.service-card p{
    color:#666;
    line-height:1.8;
}
/* ==========================
   Reason
========================== */

.reason{
    padding:100px 0;
    background:#f7f9fc;
}

.reason-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.reason-card{
    background:#fff;
    padding:35px;
    border-radius:16px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.reason-card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.reason-icon{
    font-size:48px;
    margin-bottom:20px;
}

.reason-card h3{
    color:#0b4ea2;
    margin-bottom:15px;
    font-size:22px;
}

.reason-card p{
    color:#666;
    line-height:1.8;
}
/* ==========================
   CTA
========================== */

.cta{
    background:#0b4ea2;
    color:#fff;
    text-align:center;
    padding:80px 0;
}

.cta h2{
    font-size:36px;
    margin-bottom:20px;
}

.cta p{
    font-size:18px;
    margin-bottom:35px;
}

.cta .btn{
    background:#fff;
    color:#0b4ea2;
}

/* ==========================
   Footer
========================== */

footer{
    background:#1f2937;
    color:#fff;
    text-align:center;
    padding:50px 0;
}

.footer-inner img{
    width:80px;
    margin:0 auto 20px;
}

.footer-inner p{
    margin-bottom:20px;
    line-height:1.8;
}

.footer-inner small{
    color:#bbb;
}
/* ==========================
   Company Page
========================== */

.page-title{
    background:#f7f9fc;
    padding:80px 0;
    text-align:center;
}

.page-title h2{
    font-size:42px;
    color:#0b4ea2;
}

.page-title p{
    color:#777;
    font-weight:bold;
}

.company-section{
    padding:90px 0;
}

.company-lead{
    text-align:center;
    font-size:22px;
    line-height:2;
    margin-bottom:70px;
    color:#333;
}

.company-text{
    max-width:900px;
    margin:0 auto 25px;
    line-height:2;
    color:#555;
}

.company-sign{
    max-width:900px;
    margin:30px auto 70px;
    text-align:right;
    font-weight:bold;
}

.company-table{
    width:100%;
    max-width:900px;
    margin:0 auto 70px;
    border-collapse:collapse;
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.company-table th,
.company-table td{
    border:1px solid #ddd;
    padding:20px;
    text-align:left;
}

.company-table th{
    width:30%;
    background:#0b4ea2;
    color:#fff;
}
/* ==========================
   FAQ Page
========================== */

.faq-list{
    max-width:950px;
    margin:0 auto;
}

.faq-item{
    background:#fff;
    padding:30px;
    border-radius:16px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    margin-bottom:25px;
}

.faq-item h3{
    color:#0b4ea2;
    font-size:21px;
    margin-bottom:15px;
}

.faq-item p{
    color:#555;
    line-height:2;
}
/* ==========================
   Contact Page
========================== */

.contact-wrap{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:start;
}

.contact-info h3,
.contact-form h3,
.contact-box h3{
    color:#0b4ea2;
    font-size:24px;
    margin-bottom:25px;
}

.contact-table{
    margin-bottom:40px;
}

.contact-table a{
    color:#0b4ea2;
    font-weight:bold;
}

.contact-box{
    background:#f7f9fc;
    padding:30px;
    border-radius:16px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.contact-box ul{
    list-style:disc;
    padding-left:25px;
}

.contact-box li{
    margin-bottom:10px;
    color:#555;
}

.contact-form{
    background:#fff;
    padding:35px;
    border-radius:16px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.form-note{
    background:#f7f9fc;
    padding:18px;
    border-radius:10px;
    color:#555;
    margin-bottom:25px;
    line-height:1.8;
}

.contact-form form{
    display:flex;
    flex-direction:column;
}

.contact-form label{
    font-weight:bold;
    color:#333;
    margin-bottom:8px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:14px;
    border:1px solid #ccc;
    border-radius:8px;
    margin-bottom:20px;
    font-size:16px;
    font-family:inherit;
}

.contact-form textarea{
    height:160px;
    resize:vertical;
}

.contact-form button{
    border:none;
    cursor:pointer;
    font-size:16px;
}
/* ==========================
   Privacy Page
========================== */

.privacy-content{
    max-width:950px;
    margin:0 auto;
}

.privacy-item{
    background:#fff;
    padding:30px;
    border-radius:16px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    margin-bottom:25px;
}

.privacy-item h3{
    color:#0b4ea2;
    font-size:22px;
    margin-bottom:15px;
}

.privacy-item p{
    color:#555;
    line-height:2;
    margin-bottom:15px;
}

.privacy-item ul{
    list-style:disc;
    padding-left:25px;
    color:#555;
    line-height:2;
}

.privacy-item a{
    color:#0b4ea2;
    font-weight:bold;
}
/* ==========================
   Navigation Active
========================== */

nav a.active{
    color:#0b4ea2;
    border-bottom:3px solid #0b4ea2;
    padding-bottom:6px;
}
/* ==========================
   Footer Links
========================== */

.footer-links{
    margin-bottom:15px;
}

.footer-links a{
    color:#fff;
    font-weight:bold;
    text-decoration:underline;
}

.footer-links a:hover{
    color:#cfe3ff;
}
/* ==========================
   Responsive Design
   スマホ・タブレット対応
========================== */

@media screen and (max-width: 900px){

    header{
        height:auto;
        position:relative;
    }

    .header-inner{
        height:auto;
        flex-direction:column;
        gap:20px;
        padding:20px 0;
    }

    .logo-area{
        justify-content:center;
        text-align:center;
    }

    .logo-area img{
        width:60px;
    }

    .logo-area h1{
        font-size:18px;
    }

    .logo-area p{
        font-size:13px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:18px;
    }

    nav a{
        font-size:14px;
    }

    main{
        margin-top:0;
    }

    .hero{
        padding:60px 0;
    }

    .hero-inner{
        flex-direction:column;
        gap:40px;
        text-align:center;
    }

    .hero-content h2{
        font-size:36px;
    }

    .hero-content p{
        font-size:16px;
    }

    .hero-buttons{
        justify-content:center;
        flex-wrap:wrap;
    }

    .service-grid{
        grid-template-columns:1fr;
    }

    .reason-grid{
        grid-template-columns:1fr;
    }

    .contact-wrap{
        grid-template-columns:1fr;
    }

    .company-table th,
    .company-table td{
        display:block;
        width:100%;
    }

    .company-table th{
        border-bottom:none;
    }

    .page-title{
        padding:60px 0;
    }

    .page-title h2{
        font-size:34px;
    }

    .section-title{
        font-size:30px;
    }

    .company-lead{
        font-size:18px;
    }

}


@media screen and (max-width: 600px){

    .container{
        width:92%;
    }

    .logo-area{
        flex-direction:column;
        gap:10px;
    }

    nav ul{
        gap:12px;
    }

    nav a{
        font-size:13px;
    }

    nav a.active{
        padding-bottom:3px;
        border-bottom:2px solid #0b4ea2;
    }

    .hero-content h2{
        font-size:30px;
    }

    .hero-content p{
        font-size:15px;
    }

    .btn{
        width:100%;
        text-align:center;
        padding:14px 20px;
    }

    .service-card,
    .reason-card,
    .faq-item,
    .privacy-item,
    .contact-form,
    .contact-box{
        padding:25px;
    }

    .service-card h3,
    .reason-card h3{
        font-size:21px;
    }

    .cta h2{
        font-size:28px;
    }

    .cta p{
        font-size:16px;
    }

    footer{
        padding:40px 0;
    }

    .logo-area img{
        width:50px;
    }

    .logo-area h1{
        font-size:17px;
    }

    .logo-area p{
        font-size:12px;
    }

    .header-inner{
        gap:15px;
        padding:16px 0;
    }

    .hero-slider{
    height:260px;
    }
}
/* ==========================
   Google Map
========================== */

.map-box{
    max-width:950px;
    margin:0 auto 70px;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    background:#fff;
}

.map-box iframe{
    display:block;
    width:100%;
}
/* ==========================
   Hero Slideshow Simple
========================== */

.hero-slider-simple{
    position:relative;
    width:100%;
    height:360px;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.15);
    background:#f7f9fc;
}

.hero-slider-simple img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    border-radius:0;
    box-shadow:none;
    transition:opacity .8s ease;
}

.slider-dots{
    position:absolute;
    left:50%;
    bottom:18px;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
    z-index:5;
}

.slider-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:rgba(255,255,255,.65);
    border:1px solid rgba(255,255,255,.9);
    transition:.3s;
}

.slider-dot.active{
    width:28px;
    border-radius:999px;
    background:#0b4ea2;
}

@media screen and (max-width:600px){
    .hero-slider-simple{
        height:260px;
    }

    .slider-dots{
        bottom:12px;
    }
}
/* ==========================
   Occupation Visual
========================== */

.occupation-visual{
    max-width:1000px;
    margin:0 auto 70px;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.occupation-visual img{
    width:100%;
    height:auto;
    display:block;
}

.logo-area{
    color:inherit;
}

.logo-area:hover{
    opacity:.85;
}
/* ==========================
   PDF Download Button
========================== */

.pdf-download{
    text-align:center;
    margin:50px 0 70px;
}
/* ==========================
   Service Page Card Layout
========================== */

.service-page-grid .service-card{
    display:grid;
    grid-template-columns:55px 1fr;
    gap:10px 18px;
    align-items:center;
}

.service-page-grid .service-icon{
    font-size:38px;
    margin-bottom:0;
}

.service-page-grid .service-card h3{
    margin-bottom:0;
}

.service-page-grid .service-card p{
    grid-column:1 / 3;
    margin-top:10px;
}
/* ==========================
   Home Service Card Layout
========================== */

.home-service-grid .service-card{
    display:grid;
    grid-template-columns:55px 1fr;
    gap:10px 18px;
    align-items:center;
}

.home-service-grid .service-icon{
    font-size:38px;
    margin-bottom:0;
}

.home-service-grid .service-card h3{
    margin-bottom:0;
}

.home-service-grid .service-card p{
    grid-column:1 / 3;
    margin-top:10px;
}
/* ==========================
   Occupation Page Card Layout
========================== */

.occupation-page-grid .service-card{
    display:grid;
    grid-template-columns:55px 1fr;
    gap:10px 18px;
    align-items:center;
}

.occupation-page-grid .service-icon{
    font-size:38px;
    margin-bottom:0;
}

.occupation-page-grid .service-card h3{
    margin-bottom:0;
}

.occupation-page-grid .service-card p{
    grid-column:1 / 3;
    margin-top:10px;
}
/* ==========================
   Comparison Page
========================== */

.comparison-note{
    max-width:900px;
    margin:0 auto 60px;
    padding:20px 25px;
    background:#f7f9fc;
    border-left:5px solid #0b4ea2;
    border-radius:10px;
}

.comparison-note p{
    color:#555;
    line-height:1.8;
}

.comparison-table-wrap{
    width:100%;
    overflow-x:auto;
    margin:0 auto 45px;
}

.comparison-table{
    width:100%;
    min-width:980px;
    border-collapse:collapse;
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.comparison-table th,
.comparison-table td{
    border:1px solid #ddd;
    padding:18px;
    text-align:left;
    vertical-align:top;
    line-height:1.8;
    font-size:15px;
}

.comparison-table th{
    background:#0b4ea2;
    color:#fff;
    font-weight:bold;
    white-space:nowrap;
}

.comparison-table tr:nth-child(even) td{
    background:#f7f9fc;
}

.comparison-table td{
    color:#555;
}

.comparison-summary-row th{
    background:#083a7a;
}

.comparison-summary-row td{
    background:#eef5ff !important;
    font-weight:bold;
    color:#333;
}

.comparison-flow{
    max-width:950px;
    margin:0 auto 90px;
}

.comparison-flow-item{
    display:flex;
    gap:25px;
    background:#fff;
    padding:28px;
    border-radius:16px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    margin-bottom:25px;
}

.comparison-flow-item span{
    min-width:58px;
    height:58px;
    border-radius:50%;
    background:#0b4ea2;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    font-size:20px;
}

.comparison-flow-item h3{
    color:#0b4ea2;
    font-size:22px;
    margin-bottom:8px;
}

.comparison-flow-item p{
    color:#666;
    line-height:1.8;
}

.comparison-consult-box{
    max-width:950px;
    margin:0 auto;
    padding:45px;
    background:#f7f9fc;
    border-radius:20px;
    text-align:center;
}

.comparison-consult-box h2{
    color:#0b4ea2;
    font-size:30px;
    margin-bottom:20px;
}

.comparison-consult-box p{
    color:#555;
    line-height:2;
    margin-bottom:30px;
    text-align:left;
}

.comparison-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

/* スマホ対応 */
@media screen and (max-width:768px){

    .comparison-table{
        min-width:900px;
    }

    .comparison-flow-item{
        flex-direction:column;
        gap:15px;
    }

    .comparison-consult-box{
        padding:30px 22px;
    }

    .comparison-consult-box h2{
        font-size:24px;
    }

    .comparison-buttons{
        flex-direction:column;
    }

    .comparison-buttons .btn{
        width:100%;
        text-align:center;
    }
}