@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');


/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: "Noto Sans JP", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);

  -webkit-font-smoothing: antialiased; /* Macで滑らかに */
  -moz-osx-font-smoothing: grayscale;  /* Firefox用 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.6) 0%, rgba(59, 130, 246, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-color);
    border: 2px solid var(--bg-color);
}

.btn-secondary:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* セクション共通 */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

/* 事業内容セクション */
.services {
    padding: 10rem 0;
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--bg-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    overflow: hidden;
}

.service-icon img {
    width: auto;
    height: 80%;
    object-fit: cover;
}

.service-svg {
    width: 80px;
    height: 80px;
    color: var(--secondary-color);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* 強みセクション */
.strengths {
    padding: 10rem 0;
}

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

.strength-item {
    text-align: center;
    padding: 2rem;
}

.strength-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    opacity: 0.3;
}

.strength-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.strength-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* お問い合わせセクション */
.contact {
    padding: 10rem 0;
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
}

.contact-item-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form-wrapper {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.btn-submit {
    width: 100%;
}

/* フッター */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-address,
.footer-text {
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-links-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 0.5rem;
}

.footer-links-list a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links-list a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* 会社概要ページ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
}

.company-info {
    padding: 5rem 0;
}

.info-table {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-color);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table th {
    background-color: var(--bg-light);
    font-weight: 700;
    color: var(--primary-color);
    width: 30%;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.business-content {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.business-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.business-item {
    display: flex;
    gap: 2rem;
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.business-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.business-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.business-content-text {
    flex: 1;
}

.business-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.business-item-description {
    color: var(--text-light);
    line-height: 1.8;
}

.philosophy {
    padding: 5rem 0;
}

.philosophy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--secondary-color);
}

.philosophy-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.philosophy-text {
    color: var(--text-light);
    line-height: 1.8;
}

.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* レスポンシブデザイン - タブレット */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

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

    .philosophy-content {
        grid-template-columns: 1fr;
    }
}

/* レスポンシブデザイン - タブレット（小） */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* ヘッダー */
    .header-content {
        padding: 0.75rem 0;
    }

    .logo {
        font-size: 1.25rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--bg-color);
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-list.active {
        left: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    /* ヒーローセクション */
    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    /* セクション */
    .services,
    .strengths,
    .contact,
    .company-info,
    .business-content,
    .philosophy {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* 事業内容 */
    .services-grid,
    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        height: 180px;
        margin-bottom: 1rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    /* 強み */
    .strength-item {
        padding: 1.5rem;
    }

    .strength-number {
        font-size: 2.5rem;
    }

    .strength-title {
        font-size: 1.125rem;
    }

    /* お問い合わせ */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-form {
        gap: 1.25rem;
    }

    /* フッター */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* 会社概要ページ */
    .page-header {
        padding: 3rem 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
        padding: 1rem;
    }

    .info-table th {
        background-color: var(--primary-color);
        color: white;
        border-bottom: none;
        padding-bottom: 0.75rem;
    }

    .info-table td {
        padding-top: 0.75rem;
    }

    .business-item {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .business-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .business-item-title {
        font-size: 1.125rem;
    }

    .philosophy-card {
        padding: 1.5rem;
    }

    .philosophy-title {
        font-size: 1.25rem;
    }

    .cta {
        padding: 3rem 0;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-text {
        font-size: 1rem;
    }
}

/* レスポンシブデザイン - モバイル */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* ヘッダー */
    .logo {
        font-size: 1.125rem;
    }

    /* ヒーローセクション */
    .hero {
        min-height: 400px;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    /* セクション */
    .services,
    .strengths,
    .contact,
    .company-info,
    .business-content,
    .philosophy {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    /* 事業内容 */
    .service-card {
        padding: 1.25rem;
    }

    .service-icon {
        height: 150px;
    }

    .service-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .service-description {
        font-size: 0.9375rem;
    }

    /* 強み */
    .strength-item {
        padding: 1.25rem;
    }

    .strength-number {
        font-size: 2rem;
    }

    .strength-title {
        font-size: 1rem;
    }

    .strength-description {
        font-size: 0.9375rem;
    }

    /* お問い合わせ */
    .contact-item {
        padding: 1.25rem;
    }

    .contact-item-title {
        font-size: 1rem;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
    }

    .form-group label {
        font-size: 0.9375rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.9375rem;
    }

    /* フッター */
    .footer-logo {
        font-size: 1.25rem;
    }

    .footer-links-title {
        font-size: 1rem;
    }

    .footer-address,
    .footer-text,
    .footer-links-list a {
        font-size: 0.9375rem;
    }

    /* 会社概要ページ */
    .page-header {
        padding: 2.5rem 0;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 0.9375rem;
    }

    .info-table th,
    .info-table td {
        padding: 0.875rem;
        font-size: 0.9375rem;
    }

    .business-item {
        padding: 1.25rem;
    }

    .business-number {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }

    .business-item-title {
        font-size: 1rem;
    }

    .business-item-description {
        font-size: 0.9375rem;
    }

    .philosophy-card {
        padding: 1.25rem;
    }

    .philosophy-title {
        font-size: 1.125rem;
    }

    .philosophy-text {
        font-size: 0.9375rem;
    }

    .cta {
        padding: 2.5rem 0;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-text {
        font-size: 0.9375rem;
    }
}

/* 極小デバイス */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .page-title {
        font-size: 1.5rem;
    }
}
