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

html{
    font-size: 62.5%;
}

body {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* メインビジュアル */
.mv {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mv-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.mv-overlay {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 800px;
    padding: 60px 40px;
    /* background: rgba(255, 255, 255, 0.6); */
    border-radius: 14px;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); */
    background-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp .5s ease-out;
}

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

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

.mv-title {
    font-size: 3.2rem;
    font-weight: bold;
    color: #2391ff;
    margin-bottom: 20px;
    line-height: 1.4;
}

.mv-subtitle {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.mv-text {
    text-align: left;
    font-size: 1.6rem;
    color: #444;
    line-height: 1.7;
    text-align: center;
}

.mv-text p {
    margin-bottom: 15px;
}

.mv-text p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #2c3e50;
}

/* カードセクション */
.cards-section {
    background-color: #292929;
    padding: 60px 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}
.cards-section h2 {
    font-size: 3.2rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    font-family: "Noto Serif JP", serif;
}
.cards-grid {
    /* display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background-color: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
} */

.card-image {
    flex: 0 0 50%;
    position: relative;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card-image img {
    width: 50%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 画像がまだない場合のプレースホルダー */
/* .card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
    z-index: -1;
} */

.card-divider {
    width: 1px;
    background-color: #8b6f47;
    flex-shrink: 0;
}

.card-text {
    flex: 1;
    padding: 30px 25px;
    display: flex;
    align-items: center;
    font-size: 2.4rem;
    font-weight: 600;
    color: #333;
}
.card-text span {
    color: #333;
    font-size: 2.4rem;
    font-weight: 600;
    margin-right: 10px;
    display: block;
    font-family: "Noto Serif JP", serif;
    
}
.card-text p {
    font-size: 1.6rem;
    line-height: 2;
    color: #333;
    margin: 0;
}

/* 矢印セクション */
.arrow-section {
    background-color: #292929;
    padding: 60px 20px;
    text-align: center;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid #fff;
    margin: 0 auto 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.arrow-text {
    font-size: 2rem;
    color: #fff;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

/* メッセージセクション */
.message-section {
    background-color: #292929;
    padding: 0px 20px 200px;
    text-align: center;
    position: relative;
}

.message-text {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 400;
    line-height: 2;
    margin: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.message-brand {
    color: #2391ff;
    font-weight: 600;
}

.message-highlight {
    color: #2391ff;
    font-weight: 600;
    font-family: "Noto Serif JP", serif;
}

/* PC画像 */
.pc-img-container {
    position: absolute;
    bottom: -40%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 300px;
    /* max-width: 600px; */
    text-align: center;
}

.pc-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 特徴セクション */
.feature-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 200px 20px 100px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.feature-content {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 60px 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.feature-text {
    font-size: 2rem;
    color: #333;
    font-weight: 500;
    line-height: 2.2;
    margin: 0;
    padding-bottom: 20px;
}

.feature-highlight {
    color: #2391ff;
    font-weight: 600;
    font-size: 2.4rem;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.feature-accent {
    color: #2391ff;
    font-weight: 700;
    font-size: 2.6rem;
    font-family: "Noto Serif JP", serif;
}

.contact-mail-btn {
    display: inline-block;
    padding: 15px 20px;
    background: linear-gradient(135deg,#3885d34d,#b974ff33);
    color: #333;
    font-size: 2rem;
    font-weight: 600;
    box-shadow: 0 8px 32px #1f268726;
    text-decoration: none;
}
.contact-mail-btn:hover {
    opacity: 0.8;
}
/* レスポンシブ対応 */
@media (max-width: 968px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .cards-section h2 {
        font-size: 2.4rem;
    }
    .cards-section {
        padding: 40px 15px;
    }

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

    .card {
        flex-direction: column;
    }

    .card-image {
        flex: 0 0 auto;
        width: 100%;
        min-height: 200px;
    }

    .card-divider {
        width: 100%;
        height: 1px;
    }

    .card-text {
        padding: 20px;
    }
    .card-text span {
        font-size: 2rem;
    }
    .card-text p {
        font-size: 1.4rem;
    }

    .arrow-section {
        padding: 40px 15px;
    }

    .arrow-text {
        font-size: 1.6rem;
    }

    .message-section {
        padding: 50px 15px 150px;
    }

    .message-text {
        font-size: 1.8rem;
        line-height: 1.8;
    }

    .pc-img-container {
        width: 200px;
    }

    .feature-section {
        padding: 150px 15px 60px;
    }

    .feature-content {
        padding: 40px 30px;
    }

    .feature-text {
        font-size: 1.8rem;
        line-height: 2;
    }

    .feature-highlight {
        font-size: 2rem;
    }

    .feature-accent {
        font-size: 2rem;
    }

    .mv-overlay {
        width: 95%;
        padding: 40px 25px;
        transform: rotate(0deg);
    }

    .mv-title {
        font-size: 1.8rem;
    }

    .mv-subtitle {
        font-size: 1.1rem;
    }

    .mv-text {
        font-size: 0.9rem;
    }
}
.sp-only {
    display: none;
}
.pc-only {
    display: block;
}
@media (max-width: 480px) {
            .sp-only {
                display: block;
            }
            .pc-only {
                display: none;
            }
    .mv-overlay {
        padding: 30px 20px;
    }

    .mv-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .mv-subtitle {
        font-size: 1.4rem;
    }

    .mv-text {
        font-size: 1.4rem;
    }

    .arrow-text {
        font-size: 1.4rem;
    }

    .message-section {
        padding: 00px 15px 80px;
    }

    .message-text {
        font-size: 1.5rem;
        line-height: 1.8;
    }

    .pc-img-container {
        width: 150px;
    }

    .feature-section {
        padding: 100px 15px 50px;
    }

    .feature-content {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .feature-text {
        font-size: 1.5rem;
        line-height: 1.9;
    }

    .feature-highlight {
        font-size: 1.7rem;
        display: block;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .feature-accent {
        font-size: 1.7rem;
    }

    /* .card-text p {
        font-size: 1rem;
    } */
}
