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

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #363427;
    background-color: #F1ECEB;
    overflow-x: hidden;
}

/* 見出しのフォントサイズとウェイト */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

/* 45px */
h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* 36px */
h3 {
    font-size: 1.5rem;
}

/* 27px */
h4 {
    font-size: 1.25rem;
}

/* 22.5px */
h5 {
    font-size: 1.125rem;
}

/* 20.25px */

/* ヘッダー */
header {
    background-color: rgba(241, 236, 235, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #627962;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #363427;
    letter-spacing: 0.1em;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav a {
    text-decoration: none;
    color: #363427;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #627962;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #627962;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* メインコンテンツ */
main {
    margin-top: 80px;
}

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

/* ヒーローセクション */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(241, 236, 235, 0.8) 0%, rgba(57, 56, 56, 0.8) 100%); */
    z-index: 2;
}

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

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

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

.indicator.active {
    background-color: #627962;
    border-color: #627962;
    transform: scale(1.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.hero-title {
    font-size: 2.5rem;
    /* h1のサイズを使用 */
    font-weight: 700;
    color: #E8E0DE;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    text-shadow: 2px 2px 0 #363427, -2px -2px 0 #363427, 2px -2px 0 #363427, -2px 2px 0 #363427;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

.section-title {
    font-size: 2rem;
    /* h2のサイズを使用 */
    font-weight: 700;
    color: #363427;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: #627962;
}

/* 実績セクション */
.works {
    background-color: #F1ECEB;
}

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

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.work-item {
    transition: all 0.3s ease;
    overflow: hidden;
}

.work-item a {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.work-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

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

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(98, 121, 98, 0.2);
}

/* 特徴セクション */
.features {
    background-color: #F1ECEB;
}

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

.features-intro {
    margin-bottom: 2rem;
}

.features-intro p {
    font-size: 1.2rem;
    color: #627962;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.feature-item {
    background-color: #E8E0DE;
    border: 2px solid #627962;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(98, 121, 98, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(98, 121, 98, 0.2);
    border-color: #627962;
}


.feature-content {
    text-align: left;
}

.feature-item h3 {
    font-size: 1.5rem;
    /* h3のサイズを使用 */
    font-weight: 700;
    color: #363427;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-align: center;
}

.feature-item p {
    font-size: 1rem;
    color: #627962;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-item ul {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.feature-item li {
    padding: 0 0;
    color: #363427;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #627962;
    font-weight: bold;
}

/* サービスセクション */
.services {
    background-color: #F1ECEB;
}

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

.services-intro {
    margin-bottom: 2rem;
}

.services-intro p {
    font-size: 1.2rem;
    color: #627962;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.service-item {
    background-color: #E8E0DE;
    border: 2px solid #627962;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(98, 121, 98, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(98, 121, 98, 0.2);
    border-color: #627962;
}


.service-item h3 {
    font-size: 1.5rem;
    /* h3のサイズを使用 */
    font-weight: 700;
    color: #363427;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.service-item>p {
    font-size: 1rem;
    color: #627962;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-item ul {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.service-item li {
    padding: 0 0;
    color: #363427;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #627962;
    font-weight: bold;
}

/* ワークフローセクション */
.workflow {
    background-color: #F1ECEB;
}

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

.workflow-intro {
    margin-bottom: 4rem;
}

.workflow-intro p {
    font-size: 1.2rem;
    color: #627962;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.workflow-step {
    background-color: #E8E0DE;
    border: 2px solid #627962;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 600px;
    transition: all 0.3s ease;
}

.workflow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(98, 121, 98, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #627962;
    color: #F1ECEB;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}


.workflow-step h3 {
    font-size: 1.5rem;
    /* h3のサイズを使用 */
    font-weight: 700;
    color: #363427;
    letter-spacing: 0.05em;
}

.workflow-step>p {
    font-size: 0.95rem;
    color: #627962;
    line-height: 1.6;
}

.workflow-step ul {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.workflow-step li {
    padding: 0 0;
    color: #363427;
    font-size: 0.85rem;
    position: relative;
    padding-left: 1.2rem;
}

.workflow-step li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #627962;
    font-weight: bold;
    font-size: 0.8rem;
}

.workflow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    opacity: 0.7;
}

.workflow-arrow svg {
    transition: transform 0.3s ease;
    transform: rotate(90deg);
}

.workflow-arrow:hover svg {
    transform: rotate(90deg) scale(1.2);
}

/* 価格セクション */
.price {
    padding: 5rem 0;
}

.price-content {
    max-width: 1200px;
    margin: 0 auto;
}

.price-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.price-intro p {
    font-size: 1.1rem;
    color: #627962;
    line-height: 1.6;
}

.price-table-container {
    margin-bottom: 3rem;
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #F1ECEB;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(98, 121, 98, 0.1);
}

.price-table thead {
    background-color: #627962;
}

.price-table th {
    padding: 1.5rem 1rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    color: #F1ECEB;
    letter-spacing: 0.05em;
}

.price-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #E8E0DE;
    font-size: 0.95rem;
    color: #363427;
    line-height: 1.6;
}

.price-table tbody tr:hover {
    background-color: #E8E0DE;
    transition: background-color 0.3s ease;
}

.price-table .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #627962;
    text-align: center;
}

.price-note {
    text-align: center;
    background-color: #E8E0DE;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #627962;
}

.price-note p {
    font-size: 1rem;
    color: #363427;
    line-height: 1.6;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

    .price-table th,
    .price-table td {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }

    .price-table .price {
        font-size: 1.25rem;
    }

    .price-intro p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    .price-table th,
    .price-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    .price-table .price {
        font-size: 1.1rem;
    }
}

/* 自己紹介セクション */
.about {
    background-color: #F1ECEB;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-profile {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #627962;
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1;
}

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

.about-text p {
    font-size: 1.1rem;
    color: #363427;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text .highlight {
    background-color: #E8E0DE;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #627962;
    font-weight: 500;
    margin-top: 2rem;
    color: #363427;
}

.about-text .highlight dl {
    margin: 0;
}

.about-text .highlight dt {
    display: inline-block;
    font-weight: 700;
    color: #627962;
    margin-right: 1rem;
    min-width: 60px;
    vertical-align: top;
}

.about-text .highlight dd {
    display: inline-block;
    margin: 0 0 0.5rem 0;
    padding-left: 0;
    width: calc(100% - 80px);
    vertical-align: top;
}


/* 連絡先セクション */
.contact {
    background-color: #F1ECEB;
    text-align: center;
}

.contact-content p {
    font-size: 1.1rem;
    color: #363427;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


.contact-button {
    display: inline-block;
    background-color: #363427;
    color: #F1ECEB;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border: 2px solid #363427;
}

.contact-button:hover {
    background-color: transparent;
    color: #363427;
}

/* フッター */
footer {
    background-color: #F1ECEB;
    color: #627962;
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid #627962;
}

footer p {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2rem;
    }

    nav ul {
        gap: 2rem;
    }

    .hero-title {
        font-size: 1.75rem;
        /* h2のサイズに調整 */
    }


    .about-content {
        gap: 3rem;
    }

    .about-profile {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .profile-image img {
        width: 150px;
        height: 150px;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .feature-item {
        padding: 1.5rem;
    }

    .service-item {
        padding: 1.5rem;
    }

    .workflow-steps {
        gap: 2rem;
    }

    .workflow-step {
        padding: 1.5rem;
    }


    .section-title {
        font-size: 1.375rem;
        /* h3のサイズに調整 */
    }

    section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 1.375rem;
        /* h3のサイズに調整 */
    }

    .section-title {
        font-size: 1.125rem;
        /* h4のサイズに調整 */
    }


    .about-text p {
        font-size: 1rem;
    }

    .profile-image img {
        width: 120px;
        height: 120px;
    }
}