/* Base */
:root {
    --color-primary: #00b7ee;
    --color-secondary: #043491;
    --gradient-main: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    --color-text: #333;
    --color-white: #fff;
    --color-gray: #f5f4eb;
    --color-dark: #1a1a1a;
    --font-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    --section-spacing: 100px;
}

body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--color-text);
    font-feature-settings: "palt";
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.header__logo {
    margin: 0;
}

.header__logo a {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

.header__logo a:hover {
    opacity: 0.7;
}

.header__nav ul {
    display: flex;
    gap: 40px;
}

.header__nav a {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    padding: 5px 0;
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.header__nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header__menu-btn {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    border: none;
    background: none;
}

.header__menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.header__menu-btn span:nth-child(1) { top: 6px; }
.header__menu-btn span:nth-child(2) { top: 14px; }
.header__menu-btn span:nth-child(3) { top: 22px; }

.header__menu-btn.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header__menu-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.header__menu-btn.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Main Content */
main {
    padding-top: var(--header-height);
}

/* Section */
.section {
    padding: var(--section-spacing) 0;
    margin-bottom: 40px;
}

.section--gray {
    background-color: var(--color-gray);
}

.section--primary {
    background: var(--gradient-main);
    color: var(--color-white);
}

.section--dark {
    background: var(--color-dark);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.section--dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
}

.section__title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
}

.section__title--white {
    color: var(--color-white);
}

.section--dark .section__title {
    color: var(--color-white);
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.section--dark p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Hero */
.hero {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero img {
    width: 100%;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 30px;
}

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

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Card */
.card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 40px;
}

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

.card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.card__content {
    padding: 20px;
    text-align: center;
}

.card__content img {
    text-align: center;
    margin: 5% auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Media Object */
.media {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 0;
    transition: transform 0.3s ease;
}

.media:hover {
    transform: translateY(-5px);
}

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

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

.media__content {
    padding: 40px;
}

.media__content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.media--reverse {
    grid-template-columns: 55% 45%;
    direction: rtl;
}

.media--reverse .media__content {
    direction: ltr;
}

@media (max-width: 768px) {
    .media,
    .media--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .media__image {
        height: 240px;
    }

    .media__content {
        padding: 30px 20px;
    }

    .media__content h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
}

.footer__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__info {
    padding-right: 40px;
}

.footer__logo {
    margin-bottom: 25px;
}

.footer__logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer__logo a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-main);
}

.footer__address {
    font-style: normal;
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.8;
    padding-left: 2px;
}

.footer__nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    opacity: 0.8;
    position: relative;
    padding-left: 20px;
}

.footer__nav a::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.footer__nav a:hover {
    opacity: 1;
    padding-left: 25px;
}

.footer__nav a:hover::before {
    transform: translateY(-50%) translateX(5px);
}

.footer__bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    text-align: center;
}

.footer__copyright {
    font-size: 13px;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 0;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer__info {
        padding-right: 0;
    }

    .footer__logo a::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer__nav ul {
        align-items: center;
    }

    .footer__nav a {
        padding-left: 0;
    }

    .footer__nav a::before {
        display: none;
    }

    .footer__nav a:hover {
        padding-left: 0;
        opacity: 0.7;
    }
}

/* Button */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-main);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--color-secondary);
    opacity: 0.9;
    transform: translateY(-2px);
}
.text-center {
    text-align: center;
}
/* Text Color */
.text-black {
    color: #333;
}

/* Text Highlight */
.highlight {
    background: linear-gradient(transparent 60%, rgba(0, 183, 238, 0.2) 60%);
    font-weight: 700;
}

.highlight--white {
    background: linear-gradient(transparent 60%, rgba(255, 255, 255, 0.2) 60%);
}

/* List Style */
.list {
    padding: 0;
    margin: 0;
}

.list li {
    position: relative;
    padding: 20px 20px 20px 45px;
    margin-bottom: 10px;
    list-style: none;
    font-size: 16px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.list li:last-child {
    margin-bottom: 0;
}

.list li::before {
    content: "✓";
    position: absolute;
    left: 20px;
    color: var(--color-white);
    font-weight: bold;
    font-size: 18px;
}

.list li:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Pricing */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
}

.pricing__item {
    background: var(--color-white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
}

.pricing__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.pricing__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text);
    position: relative;
    padding-bottom: 15px;
}

.pricing__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--gradient-main);
}

.pricing__price {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 20px 0 10px;
}

.pricing__note {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

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

.pricing__features li {
    padding: 15px;
    border-top: 1px solid #eee;
    font-size: 15px;
    line-height: 1.6;
}

/* Company Info Section */
.map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    position: relative;
}

.map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
    z-index: 1;
}

.map iframe {
    display: block;
    transition: filter 0.3s ease;
}

.map:hover iframe {
    filter: brightness(1.05);
}

.company-info {
    text-align: center;
    padding: 30px;
    margin: 40px auto;
    max-width: 600px;
}

.company-info p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
        --section-spacing: 80px;
    }

    .section__title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .header__nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 20px;
    }

    .header__nav.is-active {
        display: block;
    }

    .header__nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .header__menu-btn {
        display: block;
        margin-right: -10px;
    }

    .grid--2,
    .grid--3 {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
        padding: 0 15px;
    }

    .footer {
        padding: 50px 0 0;
    }

    .footer__social ul {
        gap: 12px;
        justify-content: center;
    }

    .footer__social img {
        width: 35px;
        height: 35px;
        padding: 6px;
    }

    .footer__nav ul {
        align-items: center;
    }

    .footer__social ul {
        justify-content: center;
    }

    /* Dark Section Responsive */
    .section--dark p {
        font-size: 14px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    /* Pricing Section Responsive */
    .pricing {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .pricing__item {
        padding: 30px 20px;
    }

    .pricing__title {
        font-size: 20px;
    }

    .pricing__price {
        font-size: 28px;
    }

    .pricing__note {
        font-size: 13px;
    }

    .pricing__features li {
        font-size: 14px;
        padding: 12px;
    }

    /* Company Info Section Responsive */
    .map {
        margin: 0 15px 30px;
    }

    .map iframe {
        height: 300px;
    }

    .company-info {
        padding: 20px 15px;
        margin: 30px auto;
    }

    .company-info p {
        font-size: 14px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .section__title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .card__title {
        font-size: 18px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .pricing__title {
        font-size: 18px;
    }

    .pricing__price {
        font-size: 24px;
    }

    .map iframe {
        height: 250px;
    }
}