/* ========================================
   Base
======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #f3f3f3;
    color: #333;
    font-family:
        "Noto Sans JP",
        "Yu Gothic",
        "Hiragino Kaku Gothic ProN",
        Meiryo,
        sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ========================================
   Site
======================================== */

.site {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}


/* ========================================
   Header
======================================== */

.header {
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    background: #fff;
}

.logo {
    width: 245px;
}

.logo img {
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 11px;
    color: #4b5968;
}

.header-nav a {
    transition: .2s;
}

.header-nav a:hover {
    color: #12629a;
}


/* ========================================
   Hero
======================================== */

.hero {
    background: #eaf4fc;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.hero-text {
    width: 52%;
}

.hero-title {
    margin: 0 0 15px;
    color: #255b80;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: .03em;
}

.hero-text p {
    margin: 0 0 13px;
    font-size: 12px;
    line-height: 1.9;
}

.hero-image {
    width: 43%;
    text-align: center;
}

.hero-image img {
    width: 100%;
}


/* ========================================
   Banner
======================================== */

.banner-area {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 105px;
}

.banner {
    position: relative;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3px 2px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 1px 3px #333;
}


/* ========================================
   Section
======================================== */

.section {
    padding: 35px 40px 25px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 25px;
    color: #527087;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.section-title::before,
.section-title::after {
    content: "";
    height: 2px;
    flex: 1;
    background: #9cb7c8;
}

.section-title span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.section-title .icon {
    font-size: 19px;
}


/* ========================================
   Service Cards
======================================== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    background: #fff;
    border: 1px solid #d5dfe4;
    border-top: 5px solid var(--card-color);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    transition: .25s;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0,0,0,.16);
}

.card-image {
    width: 100%;
    aspect-ratio: 1.05 / 1;
    object-fit: contain;
    display: block;
}

.card-content {
    padding: 5px 9px 10px;
    text-align: center;
}

.card-name {
    margin: 0 0 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.card-description {
    min-height: 50px;
    margin: 0 0 8px;
    font-size: 8px;
    line-height: 1.5;
}

.card-button {
    display: block;
    padding: 5px 4px;
    border-radius: 3px;
    background: var(--card-color);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-align: center;
}


/* ========================================
   Card Colors
======================================== */

.blue {
    --card-color: #12639a;
}

.yellow {
    --card-color: #f4c400;
}

.pink {
    --card-color: #ed87ca;
}

.red {
    --card-color: #bd0000;
}

.green {
    --card-color: #008d88;
}

.gray {
    --card-color: #777;
}


/* ========================================
   Other Service
======================================== */

.other-service {
    padding-top: 15px;
}

.other-grid {
    display: grid;
    grid-template-columns: repeat(3, 200px);
    gap: 25px;
    justify-content: center;
    margin: 0 auto;
}

.other-card {
    position: relative;
    background: #fff;
    border: 1px solid #d5dfe4;
    border-top: 5px solid var(--card-color);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    transition: .25s;
}

.other-card:hover {
    transform: translateY(-3px);
}

.other-card img {
    width: 100%;
    display: block;
}

.other-card .card-content {
    padding: 7px 9px 10px;
}


/* Other service colors */

.esim {
    --card-color: #16acd1;
}

.suitcase {
    --card-color: #8cc4d5;
}

.balloon {
    --card-color: #dc7dcc;
}


/* ========================================
   Company
======================================== */

.company-section {
    margin-top: 10px;
    padding: 25px 40px 35px;
    background: #eaf4fc;
}

.company-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.company-logo {
    width: 55px;
}

.company-title-text {
    color: #526779;
    font-size: 14px;
    font-weight: bold;
}


/* ========================================
   Company Table
======================================== */

.company-table-wrap {
    background: #fff;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 10px;
}

.company-table th,
.company-table td {
    border: 1px solid #aaa;
    padding: 6px 8px;
    text-align: left;
    vertical-align: top;
}

.company-table th {
    width: 23%;
    background: #fafafa;
    font-weight: 600;
    white-space: nowrap;
}

.company-table td {
    line-height: 1.6;
}

.company-table .long-text {
    min-height: 400px;
}


/* ========================================
   Map
======================================== */

.map {
    margin-top: 15px;
}

.map iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: 0;
}


/* ========================================
   Footer
======================================== */

.footer {
    height: 32px;
    background: #32638a;
}


/* ========================================
   Responsive
======================================== */

@media screen and (max-width: 700px) {

    body {
        background: #fff;
    }

    .site {
        width: 100%;
    }

    .header {
        height: auto;
        padding: 15px 20px;
        flex-direction: column;
        gap: 12px;
    }

    .logo {
        width: 220px;
    }

    .header-nav {
        gap: 18px;
        font-size: 10px;
    }

    .hero {
        padding: 25px 20px;
        flex-direction: column;
    }

    .hero-text,
    .hero-image {
        width: 100%;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-image {
        max-width: 350px;
        margin: 0 auto;
    }

    .banner-area {
        height: auto;
        grid-template-columns: repeat(2, 1fr);
    }

    .banner {
        height: 90px;
    }

    .banner:last-child {
        grid-column: span 2;
    }

    .section {
        padding: 30px 20px 20px;
    }

    .service-grid {
    display: grid;
    grid-template-columns: repeat(4, 200px);
    gap: 25px;
    justify-content: center;
    margin: 0 auto;
}

    .other-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 450px;
    }

    .company-section {
        padding: 25px 20px 30px;
    }

    .company-table {
        font-size: 9px;
    }

    .company-table th {
        width: 25%;
    }

    .map iframe {
        height: 220px;
    }
}


/* ========================================
   Small Mobile
======================================== */

@media screen and (max-width: 400px) {

    .service-grid {
        gap: 8px;
    }

    .other-grid {
        gap: 10px;
    }

    .card-description {
        font-size: 7px;
    }

    .header-nav {
        gap: 10px;
    }
}