/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

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

/* ヘッダー */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 36px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-list a {
    color: #333;
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
}

.nav-list a.active::after,
.nav-list a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #2563eb;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* ヒーローセクション */
.hero {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a202c;
}

.hero-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: #4a5568;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-white {
    background: #fff;
    color: #2563eb;
}

.btn-white:hover {
    background: #f9fafb;
    transform: translateY(-2px);
}

/* セクション共通 */
.services-section,
.features-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a202c;
}

.section-subtitle {
    font-size: 18px;
    color: #6b7280;
}

/* サービスグリッド */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 100%;
    height: 180px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

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

.service-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a202c;
}

.service-text {
    color: #6b7280;
    line-height: 1.6;
}

/* 強みセクション */
.features-section {
    background: #f9fafb;
}

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

.feature-item {
    text-align: center;
}

.feature-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.feature-item:hover .feature-image img {
    transform: scale(1.05);
}

.feature-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a202c;
}

.feature-text {
    color: #6b7280;
    line-height: 1.6;
}

/* CTAセクション */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* フッター */
.footer {
    background: #1a202c;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-address {
    font-style: normal;
    line-height: 1.8;
    color: #9ca3af;
}

.footer-nav-title {
    font-size: 18px;
    margin-bottom: 15px;
}

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

.footer-nav-list li {
    margin-bottom: 10px;
}

.footer-nav-list a {
    color: #9ca3af;
}

.footer-nav-list a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #374151;
    text-align: center;
}

.copyright {
    color: #9ca3af;
    font-size: 14px;
}

/* 会社概要ページ */
.page-header {
    margin-top: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #1a202c;
}

.about-content {
    padding: 80px 0;
}

.company-info {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.info-table th,
.info-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.info-table th {
    width: 30%;
    font-weight: 600;
    color: #4b5563;
    background: #f9fafb;
}

.info-table td {
    color: #1a202c;
}

/* お問い合わせページ */
.contact-form {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a202c;
}

.required {
    color: #ef4444;
    margin-left: 5px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
}

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

.form-button {
    width: 100%;
    padding: 15px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.form-button:hover {
    background: #1d4ed8;
}

/* ===== GiftTag™専用スタイル ===== */

/* GiftTagヒーローセクション */
.gifttag-hero {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    padding: 100px 0 80px;
    margin-top: 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 名刺風の背景装飾 */
.gifttag-hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 180px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    transform: rotate(15deg);
    z-index: 0;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.gifttag-hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 280px;
    height: 160px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transform: rotate(-10deg);
    z-index: 0;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
}

/* 追加の装飾要素 */
.gifttag-hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.gifttag-hero-decoration::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 20%;
    width: 250px;
    height: 150px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transform: translateY(-50%) rotate(25deg);
}

.gifttag-hero-decoration::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 15%;
    width: 200px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transform: rotate(-20deg);
}

.gifttag-hero .container {
    position: relative;
    z-index: 1;
}

/* GiftTagロゴ */
.gifttag-logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    background: white;
    padding: 15px 30px;
    border-radius: 50px;
}

.gifttag-logo img {
    width: 40px;
    height: 40px;
}

.gifttag-logo-text {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 機能セクション */
.feature-section {
    padding: 80px 0;
    background: #f9fafb;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.feature-number-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.feature-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: contain;
}

/* メリットセクション */
.merit-section {
    padding: 80px 0;
}

.merit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.merit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.merit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f3e8ff 0%, #fce7f3 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
}

.merit-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a202c;
}

.merit-text {
    color: #6b7280;
    line-height: 1.6;
}

/* スクリーンセクション */
.screen-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f3e8ff 0%, #fce7f3 100%);
}

.screen-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.screen-item {
    text-align: center;
}

.screen-item img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    margin-bottom: 20px;
    object-fit: contain;
}

/* GiftTag CTA */
.cta-gifttag {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.btn-gifttag {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #7c3aed;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s;
}

.btn-gifttag:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
    .merit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .merit-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-table th {
        width: 40%;
    }
    
    .feature-image {
        height: 150px;
    }
    
    /* GiftTag背景装飾をモバイルで調整 */
    .gifttag-hero::before,
    .gifttag-hero::after,
    .gifttag-hero-decoration::before,
    .gifttag-hero-decoration::after {
        display: none;
    }
}