/* 基本スタイル */
:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --white: #fff;
    --light-bg: #f3f4f6;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --radius: 1rem;
    --transition: all 0.3s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background: var(--white);
    font-size: 1rem;
    line-height: 1.7;
}

/* ヘッダー */
.header {
    width: 100%;
    height: 76px;
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0; left: 0; z-index: 1000;
    display: flex;
    align-items: center;
}
.nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}
.logo-image {
    height: 72px !important;
    width: auto;
    border-radius: 8px;
    margin-bottom: 0;
}
.logo-sub {
    display: none;
}
.nav-links {
    display: none;
    list-style: none;
    padding-left: 0;
}
.burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1100;
}
.burger .line {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    margin: 4px 0;
    border-radius: 2px;
    transition: var(--transition);
}
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    right: 0;
    width: 80vw;
    background: var(--white);
    box-shadow: var(--shadow);
    gap: 2rem;
    padding: 2rem 1.5rem;
    border-radius: 0 0 0 1.5rem;
    animation: fadeIn 0.3s;
}
.nav-link {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 1rem 0;
    width: 100%;
    text-align: left;
    transition: color 0.2s;
}
.nav-link:hover {
    color: var(--secondary-color);
}

/* ヒーロー */
.hero {
    padding: 7rem 1rem 2.5rem 1rem;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}
.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}
.hero-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.5rem auto;
}
.cta-button, .secondary-button {
    font-size: 1.1rem;
    padding: 1rem 0;
    width: 100%;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
}
.cta-button {
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
    display: block;
    text-align: center;
    min-width: 140px;
    width: auto;
    margin: 0 auto;
}
.secondary-button {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37,99,235,0.35);
    opacity: 0.95;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}
.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37,99,235,0.2);
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
}

/* セクション */
section {
    padding: 3rem 0 2rem 0;
    background: var(--white);
}
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}
.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.section-subtitle {
    font-size: 1rem;
    color: var(--light-text);
}

/* サービス・実績カード */
.service-card, .feature-item, .detail-item {
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 1.2rem 1rem;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    transition: var(--transition);
}
.service-card {
    background: linear-gradient(135deg, #f8fbff 60%, #e3edfa 100%);
    box-shadow: 0 6px 24px 0 rgba(37,99,235,0.13), 0 1.5px 6px 0 rgba(37,99,235,0.08);
    border-radius: 1.5rem;
    padding: 2rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    transition: box-shadow 0.35s cubic-bezier(.4,2,.6,1), transform 0.25s cubic-bezier(.4,2,.6,1);
    border: 1.5px solid #e0e7ef;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 1.5rem;
    pointer-events: none;
    box-shadow: 0 1.5px 6px 0 rgba(37,99,235,0.06) inset;
}
.service-card:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 16px 40px 0 rgba(37,99,235,0.18), 0 3px 12px 0 rgba(37,99,235,0.10);
    border-color: #b6d0fa;
    z-index: 2;
}
.image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.image-grid img, .work-detail-hero img, .hero-image img {
    border-radius: 0.7rem;
    height: 140px;
    width: 100%;
    object-fit: cover;
}

/* フッター */
.footer {
    background: linear-gradient(120deg, #eaf6fd 60%, #f0f7ff 100%);
    color: #1a237e;
    padding: 3rem 0 0;
    font-size: 1rem;
    box-shadow: 0 -2px 16px rgba(37,99,235,0.06);
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}
.footer-top {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 2.5rem;
}
.footer-bottom-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.footer-logo img {
    height: 38px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.footer-section {
    text-align: center;
}
.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    letter-spacing: 0.04em;
}
.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}
.footer-section a {
    text-decoration: none;
}
.social-links {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 1rem;
}
.social-link {
    color: #1a237e;
    font-size: 1.7rem;
    transition: color 0.2s, transform 0.2s;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
    padding: 0.4em 0.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-link:hover {
    color: #fff;
    background: var(--primary-color);
    transform: translateY(-4px) scale(1.12) rotate(-8deg);
    box-shadow: 0 6px 24px rgba(37,99,235,0.18);
}
.footer-bottom {
    margin-top: 2.5rem;
    padding: 1.2rem 0 0.5rem 0;
    text-align: center;
    border-top: 1px solid #dbeafe;
    font-size: 0.97rem;
    opacity: 0.8;
    letter-spacing: 0.04em;
}

/* レスポンシブ（PC用） */
@media (min-width: 900px) {
    .header {
        height: 112px;
        padding: 0 2rem;
    }
    .logo-image {
        height: 110px !important;
    }
    .logo-sub {
        display: block;
    }
    .nav-link::after {
        padding: 6rem 0 4rem 0;
    }
    .hero {
        padding: 7rem 0 4rem 0;
        min-height: 80vh;
    }
    .hero-buttons {
        gap: 1.5rem;
        max-width: none;
    }
    .cta-button {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        width: auto;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .section-header {
        margin-bottom: 4rem;
    }
    .service-card {
        padding: 2.5rem 2rem;
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .feature-item {
        padding: 2.5rem 2rem;
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .detail-item {
        padding: 2.5rem 2rem;
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .image-grid img {
        height: 250px;
    }
    .work-detail-hero img {
        height: 250px;
    }
    .hero-image img {
        height: 250px;
    }
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        justify-content: flex-start;
        padding: 0 3rem;
    }
    .footer-top {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }
    .footer-bottom-row {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 4rem;
    }
    .footer-section {
        text-align: left;
        min-width: 320px;
    }
    .footer-sns {
        text-align: right;
        min-width: 320px;
    }
    .footer-logo {
        font-size: 1.7rem;
    }
    .footer-bottom {
        margin-top: 3.2rem;
        font-size: 1.05rem;
    }
    .footer {
        padding: 4rem 0 0;
        font-size: 1rem;
    }
    .services {
        background: var(--white);
    }
    .about-content {
        background: var(--white);
    }
    .contact {
        background: var(--white);
    }
    .works-grid {
        background: var(--white);
    }
    .company-details {
        background: var(--white);
    }
    body {
        background: #fff;
    }
}

/* アニメーション */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}
.fade-in { animation: fadeIn 1s ease-out; }

/* サービスセクション */
.services {
    background: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-features i {
    color: var(--primary-color);
}

/* 実績セクション */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.work-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.work-image {
    position: relative;
    height: 300px;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-card:hover .work-image img {
    transform: scale(1.1);
}

.work-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.work-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.work-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    margin-top: 1rem;
    transition: var(--transition);
}

.work-link:hover {
    transform: translateX(5px);
}

/* 会社概要セクション */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text {
    margin-bottom: 4rem;
    position: relative;
    padding: 3rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.about-text h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.feature-item i {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-item:hover i {
    transform: scale(1.1);
}

.feature-item h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--light-text);
}

.company-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.detail-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.detail-item ul {
    list-style: none;
}

.detail-item li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.detail-item li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* お問い合わせセクション */
.contact {
    background: var(--white);
}

.contact-form {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-form iframe {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* レスポンシブデザイン */
@media (max-width: 900px) {
    .nav {
        padding: 0 1rem;
    }
    .nav-links {
        gap: 1.2rem;
    }
    .logo-image {
        height: 38px;
    }
    .logo-sub {
        font-size: 0.95rem;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        padding: 0 1.2rem;
    }
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
        margin-bottom: 2.2rem;
    }
    .footer-bottom-row {
        flex-direction: column;
        align-items: center;
        gap: 2.2rem;
    }
    .footer-section {
        text-align: center;
        min-width: unset;
        margin-bottom: 1.5rem;
    }
    .footer-sns {
        text-align: center;
        min-width: unset;
        margin-top: 1.5rem;
    }
    .footer-logo {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    .footer-bottom {
        margin-top: 2rem;
        font-size: 0.97rem;
    }
}

/* 代表メッセージ */
.message-section {
    margin-top: 4rem;
    padding: 4rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

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

.message-section h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.message-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.message-section p {
    font-size: 1.15rem;
    line-height: 2.2;
    text-align: center;
    white-space: pre-line;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.message-section p::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.message-section p::after {
    content: '"';
    position: absolute;
    bottom: -40px;
    right: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.message-section .signature {
    margin-top: 3rem;
    text-align: right;
    font-weight: 500;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .message-section {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }

    .message-section h3 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .message-section p {
        font-size: 1rem;
        line-height: 1.8;
        padding: 1.5rem;
    }

    .message-section p::before,
    .message-section p::after {
        font-size: 3rem;
    }
}

/* PC用（デフォルト） */
.work-detail-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
}
.image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 1rem;
}

/* スマホ用（画面幅768px以下） */
@media (max-width: 768px) {
    .work-detail-hero img {
        height: 180px;
    }
    .image-grid img {
        height: 120px;
    }
    .hero-image img {
        height: 160px;
    }
    .work-image {
        border-radius: 1.2rem;
        overflow: hidden;
    }
    .work-image img {
        border-radius: 1.2rem;
    }
    .work-overlay {
        opacity: 1 !important;
        pointer-events: auto;
        background: rgba(0,0,0,0.7);
        transition: none;
    }
} 