/* =========================
   共通・リセット
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #505050;
    overflow-x: hidden;
}

/* Adjust main content margin to account for header height */
main {
    margin-top: 70px;
}

/* =========================
   Intro Animation
========================= */
/* Intro Animation Styles */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #F9C851, #FFE006, #E8F6F3, #57BBBF);
    background-size: 300% 300%;
    background-position: 0% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: gradientFlow 23s ease infinite, fadeUpIntro 2.8s ease forwards;
}
  
.intro-text {
    color: white;
    font-size: 2rem;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInText 1s ease 0.5s forwards;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    max-width: 80%;
    text-align: center;
    position: relative;
    z-index: 1000;
    margin: 0 auto;
    overflow: hidden;
}

.intro-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
  
@keyframes fadeUpIntro {
    0% {
      transform: translateY(100%);
    }
    20% {
      transform: translateY(0%);
    }
    80% {
      transform: translateY(0%);
    }
    100% {
      transform: translateY(-100%);
    }
}
  
@keyframes fadeInText {
    to {
      opacity: 1;
    }
}


/* =========================
   ヘッダー
========================= */
header {
    width: 100%;
    height: 70px;
    background: #FFFFFF;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header.darkened {
    background-color: rgba(80, 80, 80, 0.95);
}

header.darkened .logo-text,
header.darkened .main-nav a,
header.darkened .hamburger-menu span {
    color: #FFFFFF;
}

header.darkened .hamburger-menu span {
    background-color: #FFFFFF;
}

/* ヘッダーコンテナ */
.header-container {
    width: 100%;
    max-width: 1440px;
    height: 70px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 0;
    z-index: 1001;
}

/* ロゴ */
.logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.logo-text {
    font-family: 'Dela Gothic One', sans-serif !important;
    color: #57BBBF;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-left: 10px;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: none;
}

/* メインナビゲーションコンテナ */
.main-nav-container {
    display: flex;
    align-items: center;
    gap: 15px; /* main-navとお問い合わせボタンの間隔を設定 */
}

/* メインナビゲーション */
.main-nav {
    display: flex;
    align-items: center;
    margin: 0;
}

.main-nav ul {
    display: flex;
    gap: 25px;
    margin: 0;
}

/* お問い合わせボタン */
.contact-button {
    margin: 0;
    padding: 0;
}

.contact-button a {
    display: flex;
    width: 170px;
    height: 53px;
    padding: 15px 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 130px;
    background: #57BBBF;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.contact-button a:hover {
    background: #4BA9AD;
}

.hamburger-menu {
    display: none;
}

/* =========================
   ハンバーガーメニュー
========================= */
.hamburger-menu {
    display: none;
    width: 30px;
    height: 40px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    z-index: 1002;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #505050;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ハンバーガーメニューのアニメーションを削除 */
.hamburger-menu.active span:nth-child(1),
.hamburger-menu.active span:nth-child(2),
.hamburger-menu.active span:nth-child(3) {
    transform: none;
    opacity: 1;
}

/* =========================
   メインナビゲーション
========================= */
.main-nav {
    display: block;
    background: #FFFFFF;
    z-index: 1000;
    position: relative;
    width: auto;
    margin: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #FFFFFF;
    width: auto;
    gap: 25px;
}

.main-nav ul li {
    margin: 0;
    color: #505050;
    display: block;
    width: auto;
    position: relative;
    text-align: center;
}

.main-nav a {
    color: #505050;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    text-align: center;
    position: relative;
    white-space: nowrap;
}

.main-nav a:hover {
    color: #57BBBF;
}

.main-nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #57BBBF;
    transition: width 0.3s ease;
    margin: 5px auto 0;
}

.main-nav a:hover::after {
    width: 100%;
}

/* モバイルナビゲーション */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #FFFFFF;
        z-index: 9999;
    }

    .main-nav.active {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .main-nav ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        margin: auto;
        background: #FFFFFF;
        display: flex !important;
        width: 100%;
    }

    .main-nav ul li {
        margin: 15px 0;
        text-align: center;
        width: 100%;
        position: relative;
        z-index: 10000;
        display: block !important;
    }

    .main-nav a {
        font-size: 18px;
        padding: 10px 0;
        width: 100%;
        text-align: center;
        color: #505050;
        position: relative;
        z-index: 10000;
        display: block !important;
    }

    .hamburger-menu {
        display: block !important;
        z-index: 2000;
    }
}

/* デスクトップ表示の設定 */
@media (min-width: 1025px) {
    .hamburger-menu {
        display: none !important;
    }

    .main-nav {
        display: block !important;
        width: auto;
        margin: 0;
    }

    .main-nav ul {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 25px;
        width: auto;
    }

    .contact-button {
        display: block;
        margin: 0;
    }

    .slide,
    .slide-arrow,
    .slideshow-controls,
    .slideshow-dot {
        display: none !important;
    }

    .about-thumbnails,
    .about-thumb {
        display: flex !important;
    }

    .about-thumbnails {
        flex-direction: row !important;
        gap: 51px !important;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .about-main-image {
        width: 500px;
        height: 500px;
        flex-shrink: 0;
        border-radius: 20px;
        margin-right: 50px;
        background-size: cover;
        background-position: center;
        object-fit: cover;
        display: block;
    }
}

/* モバイル対応の修正 */
@media (max-width: 768px) {
    .main-nav {
        padding: 60px 20px 20px;
    }

    .main-nav a {
        font-size: 20px;
    }
}

/* オーバーレイを削除 */
.nav-overlay {
    display: none !important;
}

/* =========================
   ヒーローセクション
========================= */
.hero {
    margin: 120px 0 80px 0;
    padding: 0 0 40px 0;
    position: relative;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-image: url('images/hero-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    transition-delay: 0.2s;
}

.hero-inner {
    max-width: 1440px;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-content {
    text-align: left;
    margin-bottom: 0;
    max-width: 600px;
}

.hero-content h1 {
    color: #57BBBF;
    text-shadow: 0px 4px 24px rgba(90, 90, 90, 0.25);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 20px;
}

.hero-title {
    display: block;
    color: #57BBBF;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    display: block;
    color: #57BBBF;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.hero-description {
    width: 559px;
    height: 65px;
    flex-shrink: 0;
    color: #505050;
    text-shadow: 0px 4px 24px rgba(90, 90, 90, 0.25);
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-top: 20px;
    text-align: left;
}

/* =========================
   Aboutセクション
========================= */
.about-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    height: 735px;
    flex-shrink: 0;
    background: #FFF;
    position: relative;
    padding-bottom: 80px;
    transition-delay: 0.4s;
}

.about-title {
    color: #57BBBF;
    text-align: center;
    font-family: Montserrat;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.about-subtitle {
    color: #505050;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.about-main {
    display: flex;
    align-items: stretch;
    gap: 40px;
    margin-top: 44px;
    margin-left: 150px;
    height: 500px;
}

.about-main-image {
    width: 500px;
    height: 500px;
    flex-shrink: 0;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    object-fit: cover;
    display: block;
    margin: 0;
}

.about-info-thumbs {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    gap: 32px;
}

.about-info {
    margin-bottom: 20px;
}

.about-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    height: 100%;
    justify-content: space-between;
}

.about-thumb {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 20px;
    object-fit: cover;
    background: lightgray 50% / cover no-repeat;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(87, 187, 191, 0.08);
}

.about-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(87, 187, 191, 0.18);
}

.about-info h4 {
    font-size: 30px;
    margin-bottom: 12px;
}

.about-info p:first-of-type {
    margin-bottom: 5px;
}

.about-info p:nth-of-type(2) {
    margin-top: 23px;
    margin-bottom: 24px;
}

.about-info p:nth-of-type(3) {
    margin-bottom: 34px;
}

.about-link {
    color: #57BBBF;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    border-radius: 8px;
    background: #FFFBF1;
    display: inline-flex;
    padding: 0px 13px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* =========================
   Worksセクション
========================= */
.works-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    height: auto;
    flex-shrink: 0;
    background: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition-delay: 0.6s;
}

.works-title {
    color: #57BBBF;
    text-align: center;
    font-family: Montserrat;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.works-subtitle {
    color: #505050;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 50px;
}

.works-list {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.work-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.work-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.work-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.work-client {
    align-self: stretch;
    color: #505050;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.work-desc {
    align-self: stretch;
    color: #505050;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.work-link {
    display: flex;
    padding: 0px 13px;
    margin-bottom: 80px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: #FFFBF1;
    color: #57BBBF;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    width: 125px;
    height: 30px;
    text-decoration: none;
}

/* =========================
   サービスセクション
========================= */
.services-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: auto;
    min-height: 100vh;
    flex-shrink: 0;
    background: #FFFBF1;
    padding: 0 5vw 100px 5vw;
    box-sizing: border-box;
    transition-delay: 0.8s;
}

.services-title {
    color: #57BBBF;
    text-align: center;
    font-family: Montserrat;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 0;
    padding-top: 80px;
}

.services-subtitle {
    color: #505050;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 50px;
}

.services-overview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px 70px;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin-bottom: 0;
}

/* サービスアイテム */
.service-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: min(100%, 535px);
    min-width: 260px;
    border-radius: 20px;
    border: 1px solid #57BBBF;
    background: #FFF;
    padding: 24px;
    gap: 24px;
    box-sizing: border-box;
    margin: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(87, 187, 191, 0.2);
}

.service-icon {
    width: 120px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

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

.service-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    gap: 10px;
}

.service-text h3 {
    color: #57BBBF;
    font-family: Inter;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    margin: 8px 0;
}

.service-text p {
    align-self: stretch;
    color: #505050;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    text-align: left;
    margin: 8px 0;
}

/* 料金表示 */
.price {
    color: #57BBBF;
    font-family: Inter;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    margin-top: 10px;
    text-align: center;
}

.price-main {
    color: #505050;
    font-family: Inter;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 39px;
}

.price-unit {
    color: #505050;
    font-family: Inter;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 39px;
}

.price-per {
    color: #505050;
    font-family: Inter;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 39px;
}

.price-percent {
    color: #505050;
    font-family: Inter;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 39px;
}

.price-per100 {
    color: #505050;
    font-family: Inter;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 39px;
}

.price-label {
    color: #505050;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 39px;
}

/* 詳細ボタン */
.detail-button {
    display: block;
    width: 100%;
    padding: 10px 20px;
    background-color: #57BBBF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.detail-button:hover {
    background-color: #4a9fa3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.detail-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* =========================
   お問い合わせセクション
========================= */
.contact-section {
    position: absolute;
    bottom: 40px;
    right: 0;
    width: 310px;
    height: 182px;
    flex-shrink: 0;
    text-align: center;
    padding: 0;
    background: #57BBBF;
    border-radius: 60px 0px 0px 60px;
    max-width: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-text {
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 30px;
}

.contact-button-secondary {
    display: flex;
    width: 220px;
    height: 53px;
    padding: 15px 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 130px;
    background: #FFF;
    color: #57BBBF;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-button-secondary:hover {
    background: #4BA9AD;
    transform: translateY(-2px);
}

.contact-form-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: auto;
    flex-shrink: 0;
    background: #57BBBF;
    padding: 0 5vw 100px 5vw;
    box-sizing: border-box;
    transition-delay: 1.0s;
}

.contact-form-section .contact-title {
    color: var(--main-text, #FFF);
    text-align: center;
    font-family: Montserrat;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 0;
    padding-top: 57px;
}

.contact-form-section .contact-subtitle {
    color: var(--main-text, #FFF);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 50px;
}

.contact-form-section .contact-form {
    width: 100%;
    max-width: 830px;
    height: auto;
    flex-shrink: 0;
    border-radius: 30px;
    background: var(--White, #FFF);
    display: flex;
    flex-direction: column;
    padding: 40px 5vw;
    box-sizing: border-box;
    gap: 20px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-section .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-form-section .form-group label {
    display: block;
    width: 100%;
    margin: 0;
    color: var(--main-label, #505050);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
}

.contact-form-section .form-group input,
.contact-form-section .form-group textarea {
    display: block;
    width: 100%;
    margin: 0;
    border-radius: 5px;
    border: 1px solid #E1E1E1;
    background: #F4F4F5;
    padding: 17px 0 17px 20px;
}

.contact-form-section .required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 22px;
    flex-shrink: 0;
    color: var(--White, #FFF);
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="34" height="22" viewBox="0 0 35 22" fill="none"><path d="M0.75 5C0.75 2.23858 2.98858 0 5.75 0H29.75C32.5114 0 34.75 2.23858 34.75 5V17C34.75 19.7614 32.5114 22 29.75 22H5.75C2.98858 22 0.75 19.7614 0.75 17V5Z" fill="%2357BBBF"/></svg>') no-repeat center/cover;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.contact-form-section .contact-form button {
    display: flex;
    width: 599px;
    height: 60px;
    padding: 10px 19px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    background: var(--main, #57BBBF);
    color: var(--White, #FFF);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border: none;
    cursor: pointer;
    margin: 20px auto 67px auto;
    transition: background 0.2s;
}

.contact-form-section .contact-form button:hover {
    background: #4BA9AD;
}

.contact-form-section .contact-form input::placeholder,
.contact-form-section .contact-form textarea::placeholder {
    color: #A8A8A8;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* =========================
   フッター
========================= */
footer {
    background-color: #505050;
    color: #FFFFFF;
    padding: 40px 0 20px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(87, 187, 191, 0.5), transparent);
}

.footer-container {
    max-width: 1440px;
    margin: 0px auto;
    padding: 0 40px;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-logo {
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    height: 35px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
}

.footer-logo .logo-image {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    object-fit: contain;
    opacity: 1 !important;
    filter: brightness(1.1);
}

.footer-logo .logo-text {
    color: #57BBBF;
    font-family: 'CP Font', sans-serif;
    font-size: 26px;
    font-weight: 400;
    margin-left: 10px;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-tagline {
    width: 280px;
    color: #FFF;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 3px;
}

.social-link {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.social-link i {
    color: #FFF;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    background: #57BBBF;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(87, 187, 191, 0.3);
}

.social-link:hover i {
    transform: scale(1.1);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav ul a {
    color: #FFF;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
    position: relative;
    padding-left: 0;
    white-space: nowrap;
}

.footer-nav ul a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #57BBBF;
    transition: width 0.3s ease;
}

.footer-nav ul a:hover {
    opacity: 1;
    color: #57BBBF;
    padding-left: 5px;
}

.footer-nav ul a:hover::before {
    width: 100%;
}

.footer-nav .contact-button a {
    display: flex;
    width: 180px;
    height: 42px;
    padding: 0 25px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    background: #57BBBF;
    color: #FFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.footer-nav .contact-button a:hover {
    background: transparent;
    border-color: #57BBBF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(87, 187, 191, 0.2);
}

.footer-copyright {
    color: #FFF;
    font-family: Inter, sans-serif;
    font-size: 11px;
    font-weight: 400;
    text-align: center;
    opacity: 0.6;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.02em;
    margin-top: 0;
}

/* モバイル対応の修正 */
@media (max-width: 768px) {
    footer {
        padding: 30px 0 15px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-content {
        gap: 25px;
        margin-bottom: 25px;
    }

    .footer-logo {
        height: 30px;
    }

    .footer-logo .logo-image {
        width: 30px;
        height: 30px;
    }

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

    .footer-tagline {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .social-links {
        gap: 10px;
        margin-top: 2px;
    }

    .social-link {
        width: 28px;
        height: 28px;
    }

    .social-link i {
        font-size: 14px;
    }

    .footer-nav {
        gap: 20px;
    }

    .footer-nav ul {
        gap: 20px;
    }

    .footer-nav ul a {
        font-size: 13px;
    }

    .footer-nav .contact-button a {
        width: 160px;
        height: 38px;
        font-size: 13px;
    }

    /* お問い合わせボタンを非表示 */
    .contact-button,
    .contact-button a {
        display: none !important;
    }
}

/* =========================
   モーダル
========================= */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: #FFFFFF;
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-button {
    position: absolute;
    right: 25px;
    top: 25px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #505050;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
}

.close-button:hover {
    color: #57BBBF;
    background: #e8e8e8;
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #57BBBF;
}

.modal-title {
    color: #57BBBF;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.02em;
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.service-features h3,
.service-process h3,
.service-faq h3 {
    color: #505050;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.service-features h3::before,
.service-process h3::before,
.service-faq h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: #57BBBF;
    border-radius: 2px;
}

.features-list,
.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.features-list li,
.process-list li {
    color: #505050;
    font-size: 16px;
    line-height: 1.8;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 10px;
    position: relative;
    padding-left: 45px;
    transition: all 0.3s ease;
}

.features-list li:hover,
.process-list li:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.features-list li::before {
    content: "✓";
    color: #57BBBF;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
}

.process-list li {
    counter-increment: step;
}

.process-list li::before {
    content: counter(step);
    color: #57BBBF;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    width: 24px;
    height: 24px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-list {
    margin-top: 20px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 15px 20px;
    background-color: #f8f8f8;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #57BBBF;
    transition: transform 0.3s ease;
}

.faq-question.active {
    background-color: #57BBBF;
    color: white;
}

.faq-question.active::after {
    content: '-';
    color: white;
}

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

.faq-answer.show {
    padding: 15px 20px;
    max-height: 1000px;
}

@media (max-width: 900px) {
    .modal-content {
        margin: 20px auto;
        padding: 25px;
    }

    .modal-title {
        font-size: 26px;
    }

    .service-features h3,
    .service-process h3,
    .service-faq h3 {
        font-size: 20px;
    }

    .close-button {
        right: 15px;
        top: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* =========================
   レスポンシブ対応
========================= */
@media (max-width: 900px) {
    .services-section {
        padding: 0 2vw;
    }
    .services-overview {
        gap: 30px 2vw;
        padding: 0;
    }
    .service-item {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 16px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20px auto;
        padding: 25px;
    }

    .modal-title {
        font-size: 26px;
    }

    .service-features h3,
    .service-process h3,
    .service-faq h3 {
        font-size: 20px;
    }

    .close-button {
        right: 15px;
        top: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    /* contact-sectionを非表示 */
    .contact-section {
        display: none;
    }

    /* ヘッダー部分の修正 */
    .header-container {
        padding: 0 20px;
    }

    .logo-text {
        font-size: 24px;
    }

    /* ヒーローセクションの修正 */
    .hero {
        margin: 60px 0 30px 0;
        min-height: 350px;
        background-size: cover;
    }

    .hero-inner {
        padding: 0 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .hero-title,
    .hero-subtitle {
        font-size: 24px;
    }

    .hero-description {
        width: 100%;
        height: auto;
        font-size: 13px;
        margin-top: 8px;
        line-height: 1.4;
    }

    /* Aboutセクションの修正 */
    .about-section {
        padding: 40px 10px;
        height: auto;
    }

    .about-main {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        height: auto;
        gap: 24px;
    }

    .about-main-image {
        width: 90vw;
        max-width: 340px;
        height: 220px;
        margin: 0 auto 16px auto;
    }

    .about-info-thumbs {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 24px;
    }

    .about-thumbnails {
        flex-direction: row;
        gap: 16px;
        align-items: center;
        justify-content: center;
        height: auto;
    }

    .about-thumb {
        width: 100px;
        height: 80px;
        border-radius: 10px;
    }

    /* Worksセクションの修正 */
    .works-section {
        padding: 40px 20px;
    }

    .works-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .work-card {
        width: 100%;
    }

    .work-image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    /* サービスセクションの修正 */
    .services-section {
        padding: 40px 20px;
    }

    .services-overview {
        gap: 20px;
    }

    .service-item {
        padding: 20px;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .service-text h3 {
        font-size: 24px;
        margin: 0 0 12px 0;
    }

    .service-text p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* お問い合わせセクションの修正 */
    .contact-form-section {
        padding: 40px 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form-section .contact-form button {
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
        font-size: 16px;
    }

    /* お問い合わせボタンを非表示 */
    .contact-button,
    .contact-button a {
        display: none !important;
    }
}

/* タブレットサイズの修正 */
@media (max-width: 1024px) {
    .hamburger-menu {
        display: block !important;
        z-index: 2000;
    }
    .about-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .about-main-image {
        order: 3;
        width: 90vw;
        max-width: 340px;
        height: 220px;
        margin: 0 auto;
    }

    .about-info {
        order: 1;
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .about-thumbnails {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 100%;
    }

    .about-thumb {
        width: 100px;
        height: 80px;
        border-radius: 10px;
    }
}

/* =========================
   ハンバーガーメニュー
========================= */
.hamburger-menu {
    display: none;
    width: 30px;
    height: 40px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    z-index: 1002;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #505050;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ハンバーガーメニューのアニメーションを削除 */
.hamburger-menu.active span:nth-child(1),
.hamburger-menu.active span:nth-child(2),
.hamburger-menu.active span:nth-child(3) {
    transform: none;
    opacity: 1;
}

/* ヘッダーの暗転時のハンバーガーメニュー */
header.darkened .hamburger-menu span {
    background-color: #505050;
}

/* =========================
   セクションのフェードインアニメーション
========================= */
.section-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* 各セクションの遅延時間を設定 */
.hero {
    transition-delay: 0.2s;
}

.about-section {
    transition-delay: 0.4s;
}

.works-section {
    transition-delay: 0.6s;
}

.services-section {
    transition-delay: 0.8s;
}

.contact-form-section {
    transition-delay: 1.0s;
}

/* 画像モーダル */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-image-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.image-modal.active .modal-image {
    opacity: 1;
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #57BBBF;
    transform: scale(1.1);
}

.clickable-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.clickable-image:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .image-modal {
        padding: 20px;
    }
    
    .modal-close {
        top: -30px;
        right: 0;
        font-size: 24px;
    }
}

@media (max-width: 1024px) {
    .about-main-image {
        order: 1;
    }
    .about-info {
        order: 2;
    }
    .about-thumbnails {
        order: 3;
    }
}

/* トップへ戻るボタン */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:hover {
    background-color: #555;
    transform: translateY(-3px);
}

.scroll-to-top.visible {
    display: flex;
}
