/* 基本変数 */
:root {
    --primary-color: #2d5db0;
    --secondary-color: #f5f7fa;
    --accent-color: #4a7ac7;
    --text-color: #333;
    --light-text: #666;
    --max-width: 1200px;
    --header-height: 80px;
    --section-padding: 2rem;
    --card-border-radius: 15px;
    --transition-base: all 0.3s ease;
}

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

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

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

/* 共通コンテナ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* セクション共通 */
section {
    padding: var(--section-padding) 0;
}

section:nth-child(even) {
    background-color: var(--secondary-color);
}

/* セクションタイトル */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* ボタン */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    transition: var(--transition-base);
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 15px rgba(45, 93, 176, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 93, 176, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

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

.header__logo {
    display: block;
    text-decoration: none;
}

.header__logo-img {
    width: 180px;
    height: auto;
    display: block;
}

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

.header__nav a {
    font-weight: bold;
    transition: color 0.3s ease;
}

.header__nav a:hover {
    color: var(--primary-color);
}

.sp-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.sp-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-color);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* トップビジュアル */
.top-visual {
    padding: calc(var(--header-height) + 4rem) 0 4rem;
    background-color: var(--secondary-color);
    text-align: center;
}

.top-visual__title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.top-visual__text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* サービス内容 */
.services {
    padding: 5rem 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: var(--max-width);
    padding: 0 2rem;
}

.service-card {
    padding: 2.5rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #4a7ac7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 206px;
    height: 179px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.service-card__icon-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.service-card__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.service-card:hover .service-card__icon {
    transform: scale(1.1);
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.4;
}

.service-card__text {
    margin-bottom: 2rem;
    color: var(--light-text);
    line-height: 1.8;
    flex-grow: 1;
    font-size: 0.95rem;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin-top: auto;
}

.service-card__link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-card__link:hover {
    transform: translateX(5px);
}

.service-card__link:hover::after {
    transform: translateX(3px);
}

/* 開発実績 */
.works {
    padding: 5rem 0;
    background-color: var(--secondary-color);
}

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

.work-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

.work-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-card:hover .work-card__image img {
    transform: scale(1.05);
}

.work-card__title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 1rem;
    line-height: 1.4;
}

.work-card__text {
    margin: 0 1rem 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.work-card__links {
    display: flex;
    gap: 1rem;
    margin: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.works__btn {
    text-align: center;
    margin-top: 3rem;
}

/* 会社概要 */
.company {
    padding: 5rem 0;
    background-color: var(--secondary-color);
}

.company__content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: var(--card-border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.company-info {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
}

.company-info dt {
    font-weight: bold;
    padding: 0.5rem;
    background-color: var(--secondary-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.company-info dd {
    padding: 0.5rem;
    line-height: 1.8;
}

.company-info ul {
    list-style: none;
    padding-left: 0;
}

.company-info li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.company-info li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.company-info small {
    display: block;
    margin-top: 0.5rem;
    color: var(--light-text);
}

.company__btn {
    text-align: center;
}

/* お問い合わせ */
.contact {
    padding: 5rem 0;
    background-color: var(--secondary-color);
    text-align: center;
}

.contact__text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* フッター */
.footer {
    background-color: #333;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer__logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer__address {
    font-style: normal;
    line-height: 1.8;
}

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

.footer__nav-column h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer__nav-column ul {
    list-style: none;
}

.footer__nav-column li {
    margin-bottom: 0.5rem;
}

.footer__nav-column a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer__nav-column a:hover {
    color: white;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    color: #ccc;
    font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    .top-visual__title {
        font-size: 2rem;
    }

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

@media (max-width: 768px) {
    .header__nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .header__nav.active {
        display: block;
    }

    .header__nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .sp-menu-btn {
        display: block;
    }

    .company__content {
        padding: 2rem;
    }

    .company-info {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .company-info dt {
        margin-top: 1.5rem;
    }

    .company-info dt:first-child {
        margin-top: 0;
    }

    :root {
        --section-padding: 4rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .service-card {
        padding: 2rem;
    }

    .service-card__title {
        font-size: 1.3rem;
    }

    .service-card__text {
        font-size: 0.9rem;
    }

    .works__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .work-card__image {
        height: 180px;
    }

    .service-card__icon {
        width: 200px;
        height: 200px;
        padding: 6px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }

    .top-visual__title {
        font-size: 1.8rem;
    }

    .top-visual__text {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
    }

    .strength-card__icon {
        width: 200px;
        height: 120px;
        margin: 0 auto 0.6rem;
        justify-content: flex-end;
    }

    .strength-card__icon img {
        max-width: 85%;
        max-height: 85%;
    }
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: calc(var(--header-height) + 4rem) 0 4rem;
    color: white;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.hero__text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 1;
    color: white;
}

.hero__tech {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.hero__tech span {
    color: white;
    font-weight: bold;
}

.hero__tech-icon {
    width: 48px;
    height: 48px;
}

.hero__image {
    position: relative;
    z-index: 1;
}

.hero__img {
    width: 100%;
    height: auto;
    /*border-radius: 1rem;*/
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);*/
}

@media (max-width: 768px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__tech {
        justify-content: center;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__text {
        font-size: 1.2rem;
    }
}

/* サービス詳細ページのスタイル */
.service-detail {
    padding-top: var(--header-height);
}

.service-detail__hero {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin-bottom: 3rem;
}

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

.service-detail__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail__title {
    color: white;
    font-size: 2.5rem;
    text-align: center;
}

.service-detail__content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 4rem;
}

.service-detail__section {
    background: white;
    border-radius: var(--card-border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 2rem;
}

.service-detail__section-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.service-detail__section-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.service-detail__section-image:hover img {
    transform: scale(1.05);
}

.service-detail__section h2 {
    font-size: 1.8rem;
    color: #1a73e8;
    margin-bottom: 20px;
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 10px;
}

.service-detail__section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.service-detail__section ul {
    list-style: none;
    padding: 0;
}

.service-detail__section ul li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-detail__section ul li::before {
    content: "•";
    color: #1a73e8;
    position: absolute;
    left: 0;
}

.service-detail__cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    border-top: 1px solid #eee;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
}

.service-detail__cta p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .service-detail {
        padding: 100px 0 40px;
    }

    .service-detail__hero {
        height: 200px;
    }

    .service-detail__title {
        font-size: 2rem;
    }

    .service-detail__content {
        padding: 0 15px 3rem;
    }

    .service-detail__section h2 {
        font-size: 1.5rem;
    }

    .service-detail__section-with-image {
        grid-template-columns: 1fr;
    }
}

/* 開発実績ページのスタイル */
.works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.work-detail-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.work-detail-card__image {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.work-detail-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-detail-card:hover .work-detail-card__image img {
    transform: scale(1.05);
}

.work-detail-card__content {
    padding: 2rem;
}

.work-detail-card__content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.work-detail-card__content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.work-detail-card__features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.work-detail-card__features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.work-detail-card__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.work-detail-card__links {
    display: flex;
    gap: 1rem;
}

.work-detail-card__links .btn {
    min-width: 120px;
}

@media (max-width: 992px) {
    .work-detail-card {
        grid-template-columns: 1fr;
    }

    .work-detail-card__image {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .works-grid {
        gap: 1.5rem;
    }

    .work-detail-card__content {
        padding: 1.5rem;
    }

    .work-detail-card__content h3 {
        font-size: 1.3rem;
    }

    .work-detail-card__links {
        flex-direction: column;
    }

    .work-detail-card__links .btn {
        width: 100%;
    }
}

/* お問い合わせフォーム */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(45, 93, 176, 0.1);
}

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

.required {
    color: #e74c3c;
    margin-left: 0.2rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-text {
    font-size: 0.9rem;
    color: var(--text-color);
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit .btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 0 1rem;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
    }

    .form-submit .btn {
        width: 100%;
    }
}

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

.strengths__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: var(--max-width);
    padding: 0 2rem;
}

@media (min-width: 992px) {
    .strengths__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .strengths__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .strengths__grid {
        grid-template-columns: 1fr;
    }
}

.strength-card {
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.strength-card:hover::before {
    opacity: 1;
}

.strength-card__icon {
    width: 310px;
    height: 210px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.strength-card:hover .strength-card__icon {
    transform: scale(1.1);
}

.strength-card__icon img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    display: block;
    margin: auto;
}

.strength-card__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.4;
}

.strength-card__text {
    margin-bottom: 2rem;
    color: var(--light-text);
    line-height: 1.8;
    flex-grow: 1;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .strength-card {
        padding: 2rem;
    }

    .strength-card__title {
        font-size: 1.3rem;
    }

    .strength-card__text {
        font-size: 0.9rem;
    }

    .strength-card__icon {
        width: 200px;
        height: 112.5px;
        margin: 0 auto 0.8rem;
        justify-content: center;
    }

    .strength-card__icon img {
        max-width: 90%;
        max-height: 90%;
    }
}

/* アニメーション制作サンプル */
.animation-samples {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.animation-sample {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: var(--card-border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.animation-sample h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Twitter埋め込み用のスタイル */
.twitter-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

.twitter-container iframe {
    width: 100% !important;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9のアスペクト比 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gif-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sample-gif__img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 992px) {
    .animation-samples {
        grid-template-columns: 1fr 1fr;
    }
}

/* プライバシーポリシー */
.privacy-policy {
    padding: calc(var(--header-height) + 2rem) 0 3rem;
    background-color: var(--secondary-color);
}

.privacy-policy__content {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: var(--card-border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.privacy-policy__intro {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 2;
    color: var(--text-color);
    padding: 0 1rem;
}

.privacy-policy__section {
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.privacy-policy__section:last-child {
    margin-bottom: 0;
}

.privacy-policy__section h2 {
    font-size: 1.4rem;
    margin: 0 -1rem 1.5rem;
    padding: 0.5rem 1.5rem;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    border-radius: 4px;
}

.privacy-policy__section p {
    margin-bottom: 1.2rem;
    line-height: 2;
    font-size: 1.05rem;
}

.privacy-policy__section ul,
.privacy-policy__section ol {
    margin: 1.2rem 0;
    padding-left: 2.5rem;
    padding-right: 1rem;
}

.privacy-policy__section li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.privacy-policy__contact {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.privacy-policy__contact p {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.privacy-policy__contact p:last-child {
    margin-bottom: 0;
}

.privacy-policy__contact strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.privacy-policy__footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: right;
}

.privacy-policy__footer p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--light-text);
}

.privacy-policy__footer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .privacy-policy__content {
        margin: 0 1.5rem;
        padding: 2rem;
    }

    .privacy-policy__intro {
        font-size: 1rem;
        padding: 0;
        line-height: 1.8;
    }

    .privacy-policy__section {
        padding: 0;
    }

    .privacy-policy__section h2 {
        font-size: 1.3rem;
        margin: 0 0 1.2rem;
        padding: 0.5rem 1rem;
    }

    .privacy-policy__section p,
    .privacy-policy__section li {
        font-size: 1rem;
        line-height: 1.8;
    }

    .privacy-policy__contact {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .privacy-policy__content {
        margin: 0 1rem;
        padding: 1.5rem;
    }

    .privacy-policy__section h2 {
        font-size: 1.2rem;
        margin: 0 0 1rem;
    }

    .privacy-policy__section ul,
    .privacy-policy__section ol {
        padding-left: 1.8rem;
    }

    .privacy-policy__contact {
        padding: 1.2rem;
    }
}