* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ヘッダー */
header {
    padding: 20px 0;
    position: fixed; /* absolute から fixed に変更 */
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 160px;
    height: 160px;
    margin-right: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #333;
}

/* デスクトップナビゲーション - 常に非表示 */
nav.desktop-nav {
    display: none;
}

/* ハンバーガーメニュー - 常に表示 */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* メニューが開いているときのハンバーガーアイコン */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

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

/* スマホ用ナビゲーション */
nav.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
    padding-top: 30px;
}

nav.mobile-nav.active {
    right: 0;
}

nav.mobile-nav ul {
    flex-direction: column;
    padding: 0 20px;
    list-style: none;
}

nav.mobile-nav ul li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

nav.mobile-nav ul li:last-child {
    border-bottom: none;
}

nav.mobile-nav ul li a {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

nav.mobile-nav ul li a:hover {
    color: #b8a17a;
}

/* オーバーレイ */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}




/* モバイルナビゲーションヘッダー */
.mobile-nav-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1001;
}

/* 閉じるボタン */
.close-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 22px;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: #f8f8f8;
}

.close-button:hover {
    color: #b8a17a;
    background-color: #f0f0f0;
    transform: rotate(90deg);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .mobile-nav-header {
        padding: 15px;
    }
    
    .close-button {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}





/* モバイルナビゲーションのSNSセクション */
.mobile-nav-social {
    padding: 30px 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}

.mobile-nav-social h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.mobile-nav-social .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mobile-nav-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.mobile-nav-social .social-link:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.mobile-nav-social .social-link.instagram:hover {
    background-color: #E4405F;
}

.mobile-nav-social .social-link.tiktok:hover {
    background-color: #000000;
}

.mobile-nav-social .social-link.line:hover {
    background-color: #00B900;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .mobile-nav-social {
        padding: 25px 15px;
    }
    
    .mobile-nav-social .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}




















/* ヒーロースライダー */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

/* スライダーコントロール */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* スライダードット */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .slider-controls {
        padding: 0 10px;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
}









































/* タイピングセクション */
.typing-section {
    padding-top: 300px;
    background-color: #fff;
    text-align: center;
}

.typing-content {
    max-width: 800px;
    margin: 0 auto;
}

.typing-text {
    font-size: 60px;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typing-text::after {
    content: "|";
    animation: blink 1s infinite;
    color: #b8a17a;
    margin-left: 5px;
}

.typing-text.typing-complete::after {
    display: none;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .typing-section {
        padding: 100px 0;
    }
    
    .typing-text {
        font-size: 20px;
        min-height: 100px;
    }
}

@media (max-width: 480px) {
    .typing-text {
        font-size: 20px;
        min-height: 80px;
    }
}







/* セクション共通 */
section {
    padding: 120px 0;
}

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

.section-header h2 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #333;
}

.section-header p {
    font-size: 16px;
    color: #777;
    letter-spacing: 2px;
}











/* コンセプトセクション */
.concept-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.concept-text {
    flex: 1;
}

.concept-text h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.concept-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.concept-image {
    flex: 1;
}

.image-placeholder {
    height: 400px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border: 1px solid #eee;
}

/* フェードインアップアニメーション */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* コンセプトセクションの要素に遅延を追加 */
.concept-text.fade-in-up {
    transition-delay: 0.4s;
}

.concept-image.fade-in-up {
    transition-delay: 1s;
}




@media (max-width: 768px) {
.concept-text p {
  font-size: 0.9rem;
}
}





























/* 特徴セクション */
.features {
    padding: 120px 0;
   
}

.features-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-image {
    flex: 1;
}

.feature-real-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.feature-text {
    flex: 1;
  
}

.feature-text h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.feature-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.feature-list {
    margin: 30px 0;
    list-style: none;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #b8a17a;
    font-weight: bold;
}

.feature-list li:last-child {
    border-bottom: none;
}





/* スライドインアニメーション */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* 特徴セクションのアニメーション遅延 */
.feature-image.slide-in-left {
    transition-delay: 0.3s;
}

.feature-text.slide-in-right {
    transition-delay: 0.5s;
}

.reverse-content .feature-text.slide-in-left {
    transition-delay: 0.3s;
}

.reverse-content .feature-image.slide-in-right {
    transition-delay: 0.5s;
}


/* レスポンシブデザイン */
@media (max-width: 992px) {
    .features-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .feature-image,
    .feature-text {
        order: 0;
        flex: none;
        width: 100%;
    }
    
    
    /* モバイルでは上下からスライドイン */
    .slide-in-left,
    .slide-in-right {
        transform: translateY(50px);
    }
    
    .slide-in-left.active,
    .slide-in-right.active {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .features {
        padding: 80px 0;
    }
    
    .feature-text h3 {
        font-size: 24px;
    }
    
    .feature-list li {
        font-size: 15px;
        padding: 10px 0;
    }
    
  
}







/* 特徴セクション 逆バージョン */




.reverse-content .feature-text {
    order: 1;
    text-align: left;
}

.reverse-content .feature-image {
    order: 2;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .reverse-content {
        flex-direction: column;
    }
    
    .reverse-content .feature-text,
    .reverse-content .feature-image {
        order: 0;
        text-align: center;
    }
}
























/* ギャラリーセクション */
.gallery {
    padding: 120px 0;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
   
    overflow: hidden;
   
    transition: all 0.4s ease;
}


.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.4s ease;
}



.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 30px 20px 20px;
    color: white;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

/* ギャラリーアイテムのアニメーション遅延 */
.gallery-item:nth-child(1) {
    transition-delay: 0.2s;
}

.gallery-item:nth-child(2) {
    transition-delay: 0.4s;
}

.gallery-item:nth-child(3) {
    transition-delay: 0.6s;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .gallery-item:nth-child(3) {
        transition-delay: 0.4s;
    }
}

@media (max-width: 768px) {
    .gallery {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .gallery-img {
        height: 400px;
    }
    
    .gallery-overlay {
        padding: 20px 15px 15px;
    }
    
    .gallery-overlay h3 {
        font-size: 16px;
    }
    
    /* モバイルでは全て同じ遅延 */
    .gallery-item {
        transition-delay: 0.3s !important;
    }
}










.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.4s ease;
}


.gallery-caption {
    padding: 40px 20px;
    background: white;
    text-align: center;
}

.gallery-caption h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.3;
}

.gallery-caption p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 横並びギャラリーのスタイル */
.horizontal-gallery-container .gallery-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.horizontal-gallery-container .gallery-img {
    height: 250px;
}

.horizontal-gallery-container .gallery-caption {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 15px;
}

.horizontal-gallery-container .gallery-caption h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.horizontal-gallery-container .gallery-caption p {
    font-size: 14px;
}

/* スライドインアニメーション */
.slide-from-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}

.slide-from-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* 各アイテムに遅延を設定 */
.horizontal-gallery-container .gallery-item:nth-child(1).slide-from-right {
    transition-delay: 0.2s;
}

.horizontal-gallery-container .gallery-item:nth-child(2).slide-from-right {
    transition-delay: 0.4s;
}

.horizontal-gallery-container .gallery-item:nth-child(3).slide-from-right {
    transition-delay: 0.6s;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .gallery-caption {
        padding: 20px 15px;
    }
    

    .gallery-caption p {
        font-size: 14px;
    }
    
    .horizontal-gallery-container .gallery-caption {
        padding: 15px 12px;
    }
    
    .horizontal-gallery-container .gallery-caption h3 {
        font-size: 20px;
    }
    
    .horizontal-gallery-container .gallery-caption p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        margin-bottom: 20px;
    }
    
    .gallery-img {
        height: 350px;
    }
    
    .gallery-caption {
        padding: 20px 15px;
    }
    
    
    
    .gallery-caption p {
        font-size: 14px;
    }
    
    .horizontal-gallery-container .gallery-img {
        height: 200px;
    }
    
    .horizontal-gallery-container .gallery-caption {
        padding: 15px 10px;
    }
    
    .horizontal-gallery-container .gallery-caption h3 {
        font-size: 16px;
    }
    
    .horizontal-gallery-container .gallery-caption p {
        font-size: 13px;
    }
    
    /* モバイルでは全て同じ遅延 */
    .horizontal-gallery-container .gallery-item {
        transition-delay: 0.3s !important;
    }
}

@media (max-width: 480px) {
    .gallery-img {
        height: 350px;
    }
    
    .gallery-caption {
        padding: 15px 12px;
    }
    
    .gallery-caption h3 {
        font-size: 25px;
    }
    
    .gallery-caption p {
        font-size: 13px;
    }
    
    .horizontal-gallery-container .gallery-img {
        height: 180px;
    }
    
    .horizontal-gallery-container .gallery-caption h3 {
        font-size: 25px;
    }
    
    .horizontal-gallery-container .gallery-caption p {
        font-size: 12px;
    }
}









/* 固定背景セクション */
.fixed-bg-section {
    position: relative;
    height: 600px;
    background-image: url('image/DSC02509.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 背景画像を固定 */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgb(0, 0, 0);
}



.fixed-bg-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.fixed-bg-title {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fixed-bg-text {
    font-size: 18px;
    margin-bottom: 35px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.3s;
}

.fixed-bg-button {
    display: inline-block;
    padding: 16px 45px;
    background-color: transparent;
    color: rgb(0, 0, 0);
    border: 2px solid rgb(0, 0, 0);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.6s;
}

.fixed-bg-button:hover {
    background-color: white;
    color: #333;
}

/* アクティブ時のアニメーション */
.fixed-bg-title.active,
.fixed-bg-text.active,
.fixed-bg-button.active {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .fixed-bg-section {
        height: 500px;
    }
    
    .fixed-bg-title {
        font-size: 36px;
    }
    
    .fixed-bg-text {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .fixed-bg-section {
        height: 450px;
        background-attachment: scroll; /* モバイルではスクロールに変更 */
    }
    
    .fixed-bg-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .fixed-bg-text {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .fixed-bg-button {
        padding: 14px 35px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .fixed-bg-section {
        height: 400px;
    }
    
    .fixed-bg-title {
        font-size: 28px;
    }
    
    .fixed-bg-text {
        font-size: 15px;
    }
    
    .fixed-bg-button {
        padding: 12px 30px;
        font-size: 14px;
    }
}



























/* 作品例セクション */
.works {
    background-color: #f9f9f9;
}

.works-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 40px;
}

.work-item {
    background: white;
   
}



.work-image .image-placeholder {
    height: 250px;
}

.work-info {
    padding: 30px;
}

.work-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.work-info p {
    color: #666;
    font-size: 15px;
}

/* 制作工程セクション */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step {
    flex: 0 0 18%;
    text-align: center;
    margin-bottom: 30px;
}

.step-number {
    font-size: 24px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #f5f5f5;
    margin: 0 auto 20px;
    color: #b8a17a;
}

.step h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.step p {
    color: #666;
    font-size: 14px;
}

/* お問い合わせセクション */
.contact {
    background-color: #f9f9f9;
}

.contact-content {
    display: flex;
    gap: 80px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    margin-bottom: 20px;
    color: #555;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    margin-bottom: 10px;
    color: #666;
}

.contact-form {
    flex: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    transition: border-color 0.3s;
}

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

.submit-button {
    padding: 15px 40px;
    background-color: #333;
    color: white;
    border: none;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #555;
}

/* フッター */
footer {
    padding: 60px 0;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
   padding-top: 40px;
}

.footer-logo-image {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-logo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
}

footer p {
    margin-bottom: 15px;
    color: #ccc;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #b8a17a;
}

.copyright {
    margin-top: 30px;
    font-size: 14px;
    color: #999;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .concept-content,
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .works-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        justify-content: center;
    }
    
    .step {
        flex: 0 0 30%;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    header {
        padding: 20px 0;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .works-gallery {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex: 0 0 45%;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 32px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .step {
        flex: 0 0 100%;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .logo-image {
        width: 100px;
        height: 100px;
    }
}




















/* 2x2 画像グリッドセクション */
.image-grid-section {
    padding: 80px 0;
    background-color: #fff;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0; /* ギャップを0にして重ねられるように */
    height: 600px;
    position: relative;
}

.grid-item {
    position: relative;
    overflow: hidden;
  
    transition: all 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
   
    z-index: 2; /* ホバー時に前面に表示 */
}

/* 左上 - 正方形 */
.grid-item.top-left {
    grid-row: 1;
    grid-column: 1;
    width: 200px; /* 正方形の幅 */
    height: 200px; /* 正方形の高さ */
    justify-self: center; /* 左寄せ */
    align-self: start; /* 上寄せ */
    z-index: 1;
}

/* 右上 - 通常サイズ（左下と重なる） */
.grid-item.top-right {
    grid-row: 1; /* 2行分をカバー */
    grid-column: 2;
    width: calc(100% - 20px); /* 左側にはみ出させる */
    margin-left: -50px; /* 左側にはみ出し */
    margin-bottom: -30px;
    z-index: 1;
}

/* 左下 - 通常サイズ（右上と重なる） */
.grid-item.bottom-left {
    grid-row: 2;
    grid-column: 1;
    width: calc(100% - 5px); /* 右側にはみ出させる */
    margin-right: -80px; /* 右側にはみ出し */
    margin-top: -70px;
    z-index: 1;
}

/* 右下 - 正方形 */
.grid-item.bottom-right {
    grid-row: 2;
    grid-column: 2;
    width: 300px; /* 正方形の幅 */
    height: 300px; /* 正方形の高さ */
    justify-self: center; /* 右寄せ */
    align-self: end; /* 下寄せ */
    z-index: 1;
}

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

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

.grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 25px 20px 20px;
    color: white;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.grid-item:hover .grid-overlay {
    transform: translateY(0);
    opacity: 1;
}

.grid-overlay h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .grid-container {
        height: 500px;
    }
    
    .grid-item.top-left,
    .grid-item.bottom-right {
        width: 250px;
        height: 250px;
    }
    
    .grid-item.top-right {
        margin-left: -30px;
        width: calc(100% - 30px);
    }
    
    .grid-item.bottom-left {
        margin-right: -30px;
        width: calc(100% - 30px);
    }
}

@media (max-width: 768px) {
    .image-grid-section {
        padding: 60px 0;
    }
    








/* 左上 - 正方形 */
.grid-item.top-left {
    grid-row: 1;
    grid-column: 1;
    width: 100px; /* 正方形の幅 */
    height: 100px; /* 正方形の高さ */
    justify-self: left; /* 左寄せ */
    align-self: start; /* 上寄せ */
    z-index: 1;
}

/* 右上 - 通常サイズ（左下と重なる） */
.grid-item.top-right {
    grid-row: 1; /* 2行分をカバー */
    grid-column: 2;
   width: 200px; /* 正方形の幅 */
    height: 150px; /* 正方形の高さ */
    margin-left: -50px; /* 左側にはみ出し */
    margin-bottom: -30px;
    z-index: 1;
}

/* 左下 - 通常サイズ（右上と重なる） */
.grid-item.bottom-left {
    grid-row: 2;
    grid-column: 1;
    width: 200px; /* 正方形の幅 */
    height: 150px; /* 正方形の高さ */
    margin-right: -80px; /* 右側にはみ出し */
    margin-top: -70px;
    z-index: 1;
}

/* 右下 - 正方形 */
.grid-item.bottom-right {
    grid-row: 2;
    grid-column: 2;
    width: 100px; /* 正方形の幅 */
    height: 100px; /* 正方形の高さ */
    justify-self: center; /* 右寄せ */
    align-self: self-start; /* 下寄せ */
    z-index: 1;
}
















   
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-rows: repeat(4, 200px);
    }
    
 
    
    .grid-overlay {
        padding: 15px 10px 10px;
    }
    
    .grid-overlay h3 {
        font-size: 16px;
    }
}




/* 2x2 グリッド画像のスクロールアニメーション */
.grid-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.5s ease-out;
}

/* 各グリッドアイテムのアニメーション遅延 */
.grid-item.top-right {
    transition-delay: 0.2s;
}

.grid-item.bottom-left {
    transition-delay: 0.8s;
}

.grid-item.bottom-right {
    transition-delay: 1s;
}

.grid-item.top-left {
    transition-delay: 1.5s;
}

/* アクティブ状態 */
.grid-item.active {
    opacity: 1;
    transform: translateY(0);
}





























/* 画像スライダーセクション */
.image-slider-section {
    padding: 80px 0;
  
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
}

.slider-track {
    display: flex;
    animation: slide 30s linear infinite;
    width: max-content;
}

.slider-item {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
   
    overflow: hidden;
   
    transition: transform 0.3s ease;
}

.slider-item:hover {
    transform: scale(1.05);
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 6)); /* 6枚分移動（重複分を考慮） */
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .image-slider-section {
        padding: 60px 0;
    }
    
    .slider-item {
        width: 250px;
        height: 180px;
        margin: 0 10px;
    }
    
    @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 6));
        }
    }
}

@media (max-width: 480px) {
    .slider-item {
        width: 200px;
        height: 150px;
        margin: 0 8px;
    }
    
    @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 6));
        }
    }
}




















/* 横並び3画像ギャラリーセクション */


.horizontal-gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
   
}

.horizontal-gallery .gallery-item {
    position: relative;
    overflow: hidden;
   
    transition: all 0.4s ease;
}

.horizontal-gallery .gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.horizontal-gallery .gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.horizontal-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    color: white;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.horizontal-gallery .gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item-overlay h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

/* 右からスライドインアニメーション */
.slide-from-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}

.slide-from-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* 各アイテムに遅延を設定 */
.horizontal-gallery .gallery-item:nth-child(1).slide-from-right {
    transition-delay: 0.2s;
}

.horizontal-gallery .gallery-item:nth-child(2).slide-from-right {
    transition-delay: 0.4s;
}

.horizontal-gallery .gallery-item:nth-child(3).slide-from-right {
    transition-delay: 0.6s;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .horizontal-gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .horizontal-gallery .gallery-item:nth-child(3) {
        transition-delay: 0.4s;
    }
}

@media (max-width: 768px) {
    .horizontal-gallery {
        padding: 80px 0;
    }
    
    .horizontal-gallery-container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .horizontal-gallery .gallery-item img {
        height: 250px;
    }
    
    .gallery-item-overlay {
        padding: 20px 15px 15px;
    }
    
    .gallery-item-overlay h3 {
        font-size: 16px;
    }
    
    /* モバイルでは全て同じ遅延 */
    .horizontal-gallery .gallery-item {
        transition-delay: 0.3s !important;
    }
}



















    
   
 





/* コンセプトテキストセクション */
.concept-text-section {
    padding: 100px 0;
    background-color: #fff;
}

.concept-text-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.text-line {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.text-line.animate {
    opacity: 1;
    transform: translateY(0);
}

.word {
    display: inline-block;
    font-size: 24px;
    line-height: 1.6;
    color: #333;
    opacity: 0;
    transform: translateY(15px);
    transition: all 1.2s ease-out;
    margin-right: 8px;
}

.word.animate {
    opacity: 1;
    transform: translateY(0);
    color: rgba(51, 51, 51, 1);
}

/* テキストラインのアニメーション遅延 */
.text-line:nth-child(1) { transition-delay: 0.2s; }
.text-line:nth-child(2) { transition-delay: 0.6s; }
.text-line:nth-child(3) { transition-delay: 1.0s; }
.text-line:nth-child(4) { transition-delay: 1.4s; }
.text-line:nth-child(5) { transition-delay: 1.8s; }
.text-line:nth-child(6) { transition-delay: 2.2s; }
.text-line:nth-child(7) { transition-delay: 2.6s; }

/* 単語のアニメーション遅延 */
.text-line:nth-child(1) .word:nth-child(1) { transition-delay: 0.3s; }
.text-line:nth-child(1) .word:nth-child(2) { transition-delay: 0.5s; }
.text-line:nth-child(2) .word:nth-child(1) { transition-delay: 0.7s; }
.text-line:nth-child(3) .word:nth-child(1) { transition-delay: 1.1s; }
.text-line:nth-child(4) .word:nth-child(1) { transition-delay: 1.5s; }
.text-line:nth-child(4) .word:nth-child(2) { transition-delay: 1.7s; }
.text-line:nth-child(5) .word:nth-child(1) { transition-delay: 1.9s; }
.text-line:nth-child(6) .word:nth-child(1) { transition-delay: 2.3s; }
.text-line:nth-child(7) .word:nth-child(1) { transition-delay: 2.7s; }

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .concept-text-section {
        padding: 200px 0;
    }
    
    .word {
        font-size: 18px;
    }
    
    .text-line {
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .word {
        font-size: 14px;
    }
    
    .text-line {
        margin-bottom: 20px;
    }
}






















/* フローティングお問い合わせボタン */
.floating-contact-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background-color: #000000; /* LINEの緑色 */
    color: white;
    text-decoration: none;
    
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(59, 59, 59, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.contact-btn:hover {
    background-color: #009900;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 185, 0, 0.4);
}

.contact-btn:active {
    transform: translateY(0);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .floating-contact-button {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }
    
    .contact-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .floating-contact-button {
        bottom: 15px;
        right: 15px;
        left: 15px;
    }
    
    .contact-btn {
        padding: 12px 18px;
        font-size: 12px;
    }
}



















.price-info {
    margin-top: 2rem;
    padding: 1.5rem;
  
    border-radius: 8px;
}

.price-info h4 {
    font-size: 1.5rem;
}


.price-plans {
    margin: 1rem 0;
}

.price-plan {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
}

.plan-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.plan-name {
    flex: 1;
}

.plan-price {
    font-weight: bold;
    color: #000000;
    font-size: 1.5rem;
}

.option-info {
    margin-top: 1.5rem;
}

.option-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #000000;

}


@media (max-width: 480px) {
 .option-item {
    margin-bottom: 1rem;
  font-size: 0.8rem;

}
}































/* Q&Aセクション */
.qa-content {
    padding: 100px 0;
   
}

.qa-category {
    max-width: 800px;
    margin: 0 auto;
}

.qa-category-title {
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.qa-category-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #b8a17a;
}

/* FAQアイテム */
.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    font-size: 18px;
    color: #333;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f8f8;
}

.faq-question span {
    color: #b8a17a;
    font-weight: 600;
    margin-right: 15px;
    min-width: 30px;
}

.faq-question i {
    color: #b8a17a;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.faq-answer ul {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer li {
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
    position: relative;
}

.faq-answer li::before {
    content: "•";
    color: #b8a17a;
    font-weight: bold;
    margin-right: 10px;
}

.faq-answer strong {
    color: #333;
    font-weight: 600;
}

.faq-answer b {
    color: #b8a17a;
    font-weight: 600;
}

/* Q&Aナビゲーション（必要に応じて使用） */
.qa-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.qa-nav-link {
    padding: 12px 25px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.qa-nav-link:hover,
.qa-nav-link.active {
    background-color: #b8a17a;
    color: white;
    border-color: #b8a17a;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .qa-content {
        padding: 60px 0;
    }
    
    .qa-category-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .faq-question span {
        margin-right: 10px;
        min-width: 25px;
    }
}

@media (max-width: 480px) {
    .qa-category-title {
        font-size: 24px;
    }
    
    .faq-question {
        padding: 18px 15px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 18px;
    }
    
    .faq-question span {
        font-size: 14px;
        min-width: 20px;
    }
    
    .qa-navigation {
        gap: 10px;
    }
    
    .qa-nav-link {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* アニメーション */
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}























/* フッター */
footer {
    background-color: #ffffff;
    padding: 40px 0 20px;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
     flex-direction: column;
}




.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 250px;
    flex-direction: column;
}


.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.footer-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.footer-social {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.footer-social h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.social-link.instagram:hover {
    background-color: #E4405F;
}

.social-link.tiktok:hover {
    background-color: #000000;
}

.social-link.line:hover {
    background-color: #00B900;
}

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

.footer-contact {
    margin-bottom: 10px;
}

.footer-contact p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-contact a {
    color: #666;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #000;
}

.copyright p {
    color: #999;
    font-size: 12px;
    margin: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-brand {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        min-width: 100%;
    }
    
    .social-links {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 30px 0 15px;
    }
    
    .footer-logo {
        width: 50px;
        height: 50px;
    }
    
    .footer-text h3 {
        font-size: 18px;
    }
    
    .footer-text p {
        font-size: 13px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .footer-contact p {
        font-size: 13px;
    }
    
    .copyright p {
        font-size: 11px;
    }
}

























/* モバイルでのみ改行を表示 */
.mobile-br {
    display: none;
}

/* スマホ表示時（768px以下）のみ改行を表示 */
@media (max-width: 768px) {
    .mobile-br {
        display: block;
    }
}
