/*
Theme Name: Inpext Creation Theme
Theme URI: https://inpextcreation.jp
Author: Jumpei
Description: Custom theme for Inpext Creation
Version: 1.0
*/

/* リセット & ベーススタイル */
* {
    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.8;
    color: #333;
    background-color: #fff;
    position: relative;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.hero-title,
.section-title,
.page-title,
.service-card h3,
.news-title,
.work-card-content h3 {
    font-family: 'Zen Old Mincho', serif;
}

/* スクロールアニメーション */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* 幾何学的背景アニメーション */
.geometric-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #fff;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.shape.circle {
    border-radius: 50%;
    border: 2px solid #459abf;
}

.shape.square {
    border: 2px solid #459abf;
    transform: rotate(45deg);
}

.shape.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 87px solid #459abf;
}

/* 各図形の配置とアニメーション */
.shape:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    animation: float 20s infinite ease-in-out;
}

.shape:nth-child(2) {
    top: 60%;
    left: 80%;
    width: 150px;
    height: 150px;
    animation: float 25s infinite ease-in-out 2s;
}

.shape:nth-child(3) {
    top: 30%;
    right: 15%;
    width: 80px;
    height: 80px;
    animation: float 18s infinite ease-in-out 4s;
}

.shape:nth-child(4) {
    bottom: 20%;
    left: 20%;
    width: 120px;
    height: 120px;
    animation: float 22s infinite ease-in-out 1s;
}

.shape:nth-child(5) {
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    animation: float 30s infinite ease-in-out 3s;
}

.shape:nth-child(6) {
    bottom: 10%;
    right: 25%;
    animation: float 28s infinite ease-in-out 5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(40px, 10px) rotate(270deg);
    }
}

a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #459abf;
}

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

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

/* ヘッダー */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(69, 154, 191, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 20px;
}

.logo a {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #459abf;
    text-transform: uppercase;
    display: block;
    /* ロゴ画像の場合のレイアウト調整 */
    line-height: 1;
    /* テキストロゴの高さ調整 */
}

.logo img,
.custom-logo-link img {
    max-height: 50px;
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list>li {
    position: relative;
}

.nav-list a {
    color: #333;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
}

.nav-list a:hover {
    color: #459abf;
}

/* サブメニュー（ドロップダウン） */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -1rem;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 2px solid #459abf;
    padding: 0.5rem 0;
    z-index: 1000;
    list-style: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.nav-list li:hover>.sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.sub-menu li {
    width: 100%;
}

.sub-menu a {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(69, 154, 191, 0.1);
    color: #555;
}

.sub-menu li:last-child a {
    border-bottom: none;
}

.sub-menu a:hover {
    background-color: rgba(69, 154, 191, 0.05);
    color: #459abf;
    padding-left: 1.8rem;
    /* ホバー時の動き */
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #459abf;
    transition: all 0.3s;
}

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

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

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

/* ヒーローセクション */
.hero {
    background: transparent;
    color: #333;
    padding: 12rem 20px 6rem;
    text-align: center;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/pc-img.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(1.1);
    z-index: 0;
}

@media screen and (max-width: 768px) {
    .hero-background {
        background-image: url('img/sp-img.png');
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(69, 154, 191, 0.1) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(69, 154, 191, 0.03) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #666;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.8);
}

/* ハッシュタグスクロール */
.hashtag-scroll {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    background: rgba(69, 154, 191, 0.05);
    border-top: 1px solid rgba(69, 154, 191, 0.2);
    border-bottom: 1px solid rgba(69, 154, 191, 0.2);
}

.hashtag-track {
    display: flex;
    gap: 2rem;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
}

.hashtag-track:hover {
    animation-play-state: paused;
}

.hashtag-item {
    font-size: 0.9rem;
    color: rgba(69, 154, 191, 0.7);
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.hashtag-item:hover {
    color: #459abf;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* セクション */
.section {
    padding: 6rem 0;
    background-color: transparent;
    position: relative;
}

.section.bg-gray {
    background-color: rgba(69, 154, 191, 0.02);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    color: #333;
    display: table;
    /* 中央揃えのためにtable表示 */
    margin: 0 auto 4rem;
    /* 上下左右のマージンで中央寄せ */
    z-index: 1;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 80%;
    background-color: rgba(227, 151, 52, 0.2);
    /* サブカラーの透過 */
    border-radius: 50%;
    /* 楕円形 */
    z-index: -1;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #333;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 0;
    font-weight: 300;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #fff;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn-primary {
    background-color: #459abf;
    color: #000;
    border: 1px solid #459abf;
}

.btn-primary:hover {
    background-color: transparent;
    color: #459abf;
}

.btn-secondary {
    background-color: transparent;
    color: #459abf;
    border: 1px solid rgba(69, 154, 191, 0.5);
}

.btn-secondary:hover {
    background-color: rgba(69, 154, 191, 0.1);
    border-color: #459abf;
}

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

/* 特設ページボタンラッパー */
.btn-special-wrapper {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

/* 特設ページボタン */
.btn-special {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #459abf 0%, #20b2aa 100%);
    color: #fff;
    padding: 1.5rem 4rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(69, 154, 191, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-width: 300px;
    z-index: 2;
}

/* バブルアニメーション */
.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bubbles span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #459abf;
    border-radius: 50%;
    opacity: 0;
    animation: bubble-burst 2.5s ease-out infinite;
}

.bubbles span:nth-child(1) {
    animation-delay: 0s;
    --x: 180px;
    --y: -100px;
    width: 15px;
    height: 15px;
}

.bubbles span:nth-child(2) {
    animation-delay: 0.1s;
    --x: -160px;
    --y: -90px;
    width: 10px;
    height: 10px;
}

.bubbles span:nth-child(3) {
    animation-delay: 0.2s;
    --x: 200px;
    --y: 60px;
    width: 20px;
    height: 20px;
}

.bubbles span:nth-child(4) {
    animation-delay: 0.4s;
    --x: -190px;
    --y: 70px;
    width: 12px;
    height: 12px;
}

.bubbles span:nth-child(5) {
    animation-delay: 0.3s;
    --x: 220px;
    --y: -50px;
    width: 8px;
    height: 8px;
}

.bubbles span:nth-child(6) {
    animation-delay: 0.5s;
    --x: -210px;
    --y: -40px;
    width: 18px;
    height: 18px;
}

.bubbles span:nth-child(7) {
    animation-delay: 0.6s;
    --x: 150px;
    --y: 110px;
    width: 14px;
    height: 14px;
}

.bubbles span:nth-child(8) {
    animation-delay: 0.7s;
    --x: -150px;
    --y: 100px;
    width: 10px;
    height: 10px;
}

.bubbles span:nth-child(9) {
    animation-delay: 0.8s;
    --x: 0px;
    --y: -130px;
    width: 16px;
    height: 16px;
}

.bubbles span:nth-child(10) {
    animation-delay: 0.9s;
    --x: 0px;
    --y: 130px;
    width: 12px;
    height: 12px;
}

@keyframes bubble-burst {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }

    100% {
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1);
        opacity: 0;
    }
}

.btn-special:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(69, 154, 191, 0.6);
    color: #fff;
}

.btn-special::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-special:hover::after {
    opacity: 1;
}

.btn-special-sub {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.btn-special-main {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.btn-special-arrow {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.btn-special:hover .btn-special-arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .btn-special {
        padding: 1.2rem 2rem;
        width: 100%;
        border-radius: 12px;
    }

    .btn-special-main {
        font-size: 1.2rem;
    }
}

/* サービスカード（タグクラウド風） */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background-color: #fff;
    padding: 1.5rem;
    border: 1px solid rgba(69, 154, 191, 0.3);
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    background-color: rgba(69, 154, 191, 0.05);
    border-color: #459abf;
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(69, 154, 191, 0.2);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #333;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* サービス詳細 */
.service-detail {
    background-color: #fff;
    padding: 3rem;
    border: 1px solid rgba(69, 154, 191, 0.2);
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: none;
}

.service-detail.active {
    display: block;
}

/* サービスタグ */
.service-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.service-tag {
    padding: 1rem 2rem;
    border: 2px solid rgba(69, 154, 191, 0.3);
    background-color: #fff;
    color: #333;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-tag:hover {
    background-color: rgba(69, 154, 191, 0.1);
    border-color: #459abf;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(69, 154, 191, 0.2);
}

.service-tag.active {
    background-color: #459abf;
    color: #fff;
    border-color: #459abf;
    box-shadow: 0 4px 15px rgba(69, 154, 191, 0.3);
}

/* 料金セクション */
.pricing-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(69, 154, 191, 0.2);
}

.pricing-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #333;
}

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

.pricing-card {
    background-color: #fff;
    border: 2px solid rgba(69, 154, 191, 0.2);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    border-color: #459abf;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(69, 154, 191, 0.2);
}

.pricing-card.featured {
    border-color: #459abf;
    background: linear-gradient(135deg, rgba(69, 154, 191, 0.05) 0%, #fff 100%);
    box-shadow: 0 4px 20px rgba(69, 154, 191, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #459abf;
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.pricing-header h4 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #333;
    margin-bottom: 1.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 400;
    color: #459abf;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.pricing-price span {
    font-size: 1rem;
    color: #666;
    font-weight: 300;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(69, 154, 191, 0.1);
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #459abf;
    font-weight: 600;
    font-size: 1.1rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.service-detail-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-detail h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #333;
}

.service-detail p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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



.service-detail ul li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    border-bottom: 1px solid rgba(69, 154, 191, 0.1);
}

.service-detail ul li:before {
    content: "#";
    position: absolute;
    left: 0;
    color: #459abf;
    font-weight: 300;
}

/* お知らせ */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-item {
    background-color: #fff;
    border: 1px solid rgba(69, 154, 191, 0.2);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-radius: 4px;
}

.news-item:hover {
    box-shadow: 0 6px 20px rgba(69, 154, 191, 0.2);
    transform: translateY(-4px);
    border-color: #459abf;
}

.news-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item:hover img {
    transforms: scale(1.05);
}

.news-date {
    display: inline-block;
    color: #999;
    font-size: 0.85rem;
    margin: 1rem 1.5rem 0.5rem;
    letter-spacing: 0.05em;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: #333;
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

.news-title a {
    color: #333;
    transition: color 0.3s;
}

.news-title a:hover {
    color: #459abf;
}

.news-excerpt {
    margin: 0 1.5rem 1.5rem;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* 記事詳細 */
.article {
    background-color: #fff;
    padding: 3rem;
    border: 1px solid rgba(69, 154, 191, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-date {
    display: block;
    color: #999;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #333;
}

.article-content {
    line-height: 2;
    color: #666;
}

/* 制作実績グリッド */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* 制作実績カルーセル（トップページ用） */
.works-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.works-carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.works-carousel-track::-webkit-scrollbar {
    display: none;
}

.works-carousel .work-card {
    min-width: calc(100% - 120px);
    max-width: calc(100% - 120px);
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    color: #459abf;
    border: 2px solid #459abf;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(69, 154, 191, 0.3);
}

.carousel-btn:hover {
    background-color: #459abf;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(69, 154, 191, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.work-card {
    background-color: #fff;
    border: 1px solid rgba(69, 154, 191, 0.2);
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.work-card:hover {
    border-color: #459abf;
    background-color: rgba(69, 154, 191, 0.02);
    box-shadow: 0 4px 20px rgba(69, 154, 191, 0.15);
}

.work-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.work-card:hover img {
    filter: grayscale(0%);
}

.work-card-content {
    padding: 2rem;
}

.work-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    color: #333;
    letter-spacing: 0.02em;
}

.work-client {
    color: #459abf !important;
    font-size: 0.85rem !important;
    margin-bottom: 0.8rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em;
}

.work-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.work-tags {
    color: #459abf;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* 制作実績詳細 */
.work-detail {
    background-color: #fff;
    padding: 3rem;
    border: 1px solid rgba(69, 154, 191, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.work-detail-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #333;
}

.work-detail-image {
    width: 100%;
    margin-bottom: 3rem;
    filter: grayscale(10%);
}

.work-detail-info {
    margin-bottom: 3rem;
}

.work-detail-row {
    display: flex;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(69, 154, 191, 0.1);
}

.work-detail-label {
    font-weight: 300;
    min-width: 150px;
    color: #999;
}

.work-detail-value {
    color: #333;
}

.work-detail-description h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #333;
}

.work-detail-description p {
    line-height: 2;
    color: #666;
}

/* 会社概要テーブル */
.company-table {
    width: 100%;
    background-color: #fff;
    border: 1px solid rgba(69, 154, 191, 0.2);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.company-table tr {
    border-bottom: 1px solid rgba(69, 154, 191, 0.1);
}

.company-table tr:last-child {
    border-bottom: none;
}

.company-table th {
    background-color: rgba(69, 154, 191, 0.05);
    padding: 1.5rem;
    text-align: left;
    font-weight: 300;
    width: 200px;
    vertical-align: top;
    color: #666;
    letter-spacing: 0.05em;
}

.company-table td {
    padding: 1.5rem;
    vertical-align: top;
    color: #333;
}

/* お問い合わせフォーム */
.contact-info {
    background-color: rgba(69, 154, 191, 0.05);
    padding: 2rem;
    border: 1px solid rgba(69, 154, 191, 0.2);
    margin-bottom: 3rem;
    text-align: center;
    color: #666;
}

.contact-form {
    background-color: #fff;
    padding: 3rem;
    border: 1px solid rgba(69, 154, 191, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 300;
    color: #666;
    letter-spacing: 0.05em;
}

.required {
    color: #459abf;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(69, 154, 191, 0.3);
    background-color: #fff;
    color: #333;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #459abf;
    background-color: rgba(69, 154, 191, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ccc;
}

/* フッター */
.footer {
    background-color: #f8f9fa;
    color: #666;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(69, 154, 191, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #459abf;
}

.footer-section p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(69, 154, 191, 0.1);
    color: #999;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .header .container {
        padding: 1rem 20px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(69, 154, 191, 0.3);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(69, 154, 191, 0.1);
    }

    .hero {
        padding: 8rem 20px 6rem;
    }

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

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

    .section {
        padding: 4rem 0;
    }

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

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

    .services-grid {
        gap: 0.8rem;
    }

    .service-card {
        padding: 0.8rem 1.5rem;
    }

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

    .works-carousel {
        padding: 0 50px;
    }

    .works-carousel .work-card {
        min-width: calc(100% - 100px);
        max-width: calc(100% - 100px);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .company-table th {
        width: 100px;
        font-size: 0.85rem;
        padding: 1rem;
    }

    .company-table td {
        font-size: 0.85rem;
        padding: 1rem;
    }

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

    .work-detail-label {
        margin-bottom: 0.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .service-detail {
        padding: 2rem;
    }
}

/* WordPress Menu Support */
.nav-list {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-list li {
    margin: 0;
}

/* Ensure mobile menu works correctly */
@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        text-align: center;
    }
}

/* WordPress Core Alignment Styles */
.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    margin-top: 0.5em;
}

/* Pagination */
.pagination {
    margin-top: 4rem;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    margin: 0 0.3rem;
    border: 1px solid rgba(69, 154, 191, 0.3);
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: #459abf;
    color: #fff;
    border-color: #459abf;
}

.pagination .dots {
    border: none;
}

/* Instagramセクション */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* PCサイズでは最大6カラムにする例 */
@media (min-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.instagram-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-icon {
    font-size: 1.5rem;
    color: #fff;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-item:hover .instagram-icon {
    transform: translateY(0);
}

/* フッターバナー */
.footer-banners {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.footer-banner {
    display: block;
    padding: 0;
    border: none;
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.footer-banner:hover {
    background-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.footer-banner:hover img {
    transform: scale(1.02);
}