/* 民泊運営ページ専用スタイル */

/* Hero Section */
.minpaku-hero {
    position: relative;
    height: 120vh;
    background:url('../images/minshuku/1.png') ;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.minpaku-hero-content {
    text-align: center;
    color: #ffffff;
    margin-bottom: 0;
}

.minpaku-hero-content h1 {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.8;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.minpaku-hero-images {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.hero-img-item {
    width: 300px;
    overflow: hidden;
    padding: 0.5rem;
    background-color: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.hero-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 民泊運営 Section */
.minpaku-operation {
    padding: 250px 10% 100px;
    background-color: #ffffff;
}

.minpaku-operation-inner {
    display: flex;
    justify-content: space-between;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.minpaku-operation-text {
    flex: 0 0 45%;
    max-width: 500px;
}

.minpaku-subtitle {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
    line-height: 1.8;
}

.minpaku-operation-text h2 {
    font-size: 3.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
   
    letter-spacing: 0.15em;
}

.minpaku-lead {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 20px;
}

.minpaku-lead::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, #ffcc99 33.33%, #ffe9d4 33.33%, #ffe9d4 100%);
}

.minpaku-desc {
    font-size: 0.9rem;
    line-height: 2;
    color: #666;
    margin-bottom: 40px;
    margin-top: 30px;
}

.btn-contact {
    display: inline-block;
    padding: 6px 50px;
    background-color: #ffcc99;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: background-color 0.3s;
    border: none;
}

.btn-contact:hover {
    background-color: #ffbc79;
}

.minpaku-operation-images {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.operation-img-main {
    width: 100%;
    max-width: 420px;
}

.operation-img-main img {
    width: 100%;
    height: auto;
    display: block;
}

.operation-img-sub {
    width: 70%;
    max-width: 320px;
    margin-right: 0;
}

.operation-img-sub img {
    width: 100%;
    height: auto;
    display: block;
}

/* PROMISE Section */
.promise-section {
    padding: 100px 10%;
    text-align: center;
    background-color: #f7f7f7;
}

.promise-header {
    margin-bottom: 30px;
}

.promise-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #330000;
    letter-spacing: 0.2em;
    margin-bottom: 5px;
}

.promise-subtitle {
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 0.1em;
}

/* 伪元素 的下方 添加line*/
.promise-subtitle::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: #ffcc99;
    margin: 10px auto 0;
}

.promise-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
   
}

.promise-desc {
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 2;
    color: #666;
}

/* Service Grid Section */
.service-grid-section {
    padding: 50px 10% 50px;
    background-color: #ffffff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    position: relative;
    overflow: visible;
    aspect-ratio: 4/3;
}

.service-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-item:hover .service-img img {
    transform: scale(1.05);
}

.service-item:hover .service-num {
    color: #ffcc99;
}



.service-label-card {
    position: absolute;
    bottom: 0px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.658);
    z-index: 2;
    width:130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-num {
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 2.5rem;
    font-weight: 600;
    color: rgba(100, 100, 100, 0.7);
    z-index: 3;
    line-height: 1;
    transition: color 0.3s;
}

.service-label {
    color: #333;
    margin: 0;
    transition: color 0.3s;
}

.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Features Section */
.features-section {
    position: relative;
    padding: 0px 10%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.features-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.features-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 1200px;
}

.features-content h3 {
    font-size: 1.5rem;
    color: #fff;
 
    font-weight: 400;
    letter-spacing: 0.1em;
}
.en-sub{
       margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 40px 20px;
    text-align: center;
    border-radius: 4px;
    color: #fff;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.6;
    color: #e9e9e9;
}

/* Responsive */
@media (max-width: 1024px) {
    .minpaku-operation-inner {
        flex-direction: column;
        gap: 50px;
    }
    
    .minpaku-operation-text,
    .minpaku-operation-images {
        flex: 1;
        max-width: 100%;
    }
    
    .minpaku-operation-images {
        align-items: center;
    }
    
    .operation-img-main,
    .operation-img-sub {
        max-width: 100%;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-label-card {
        padding: 12px 20px 12px 30px;
        min-width: 120px;
    }
    
    .service-num {
        font-size: 2rem;
        top: -15px;
        left: 8px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .minpaku-hero {
        height: 100vh;
        min-height: 600px;
    }

    .minpaku-hero-content h1 {
        font-size: 1.4rem;
        letter-spacing: 0.08em;
        line-height: 1.6;
        padding: 0 10px;
    }

    .minpaku-hero-images {
        flex-direction: row;
        align-items: flex-end;
        transform: translate(-50%, 20%);
        gap: 10px;
        width: 90%;
        max-width: 350px;
    }

    .hero-img-item {
        width: 33%;
        height: 120px;
        padding: 3px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    }

    /* 民泊運営 Section Mobile */
    .minpaku-operation {
        padding: 180px 5% 60px;
    }

    .minpaku-operation-inner {
        flex-direction: column;
        gap: 40px;
    }

    .minpaku-operation-text {
        flex: 1;
        max-width: 100%;
        text-align: center;
    }

    .minpaku-subtitle {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .minpaku-operation-text h2 {
        font-size: 2rem;
        letter-spacing: 0.1em;
        margin-bottom: 15px;
    }

    .minpaku-lead {
        font-size: 0.95rem;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .minpaku-lead::after {
        width: 40%;
        left: 50%;
        transform: translateX(-50%);
    }

    .minpaku-desc {
        font-size: 0.85rem;
        line-height: 1.8;
        margin-bottom: 30px;
        margin-top: 20px;
    }

    .btn-contact {
        padding: 8px 40px;
        font-size: 0.85rem;
    }

    .minpaku-operation-images {
        flex: 1;
        align-items: center;
        width: 100%;
    }

    .operation-img-main {
        max-width: 100%;
        width: 100%;
    }

    .operation-img-sub {
        width: 80%;
        max-width: 280px;
    }

    /* PROMISE Section Mobile */
    .promise-section {
        padding: 50px 5%;
    }

    .promise-header h2 {
        font-size: 1.5rem;
        letter-spacing: 0.15em;
    }

    .promise-subtitle {
        font-size: 0.75rem;
    }

    .promise-title {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .promise-desc {
        font-size: 0.85rem;
        line-height: 1.8;
    }

    /* Service Grid Section Mobile */
    .service-grid-section {
        padding: 40px 5% 50px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }

    .service-item {
        aspect-ratio: 16/9;
    }

    .service-label-card {
        width: 100px;
        height: 100px;
        bottom: 10px;
        left: 10px;
    }

    .service-num {
        font-size: 1.6rem;
        top: -15px;
        left: 5px;
    }

    .service-label {
        font-size: 0.8rem;
        padding-top: 5px;
    }

    /* Features Section Mobile */
    .features-section {
        padding: 50px 5%;
        min-height: auto;
    }

    .features-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .en-sub {
        margin-bottom: 30px;
        font-size: 0.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .feature-card h4 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

/* 更小屏幕的优化 */
@media (max-width: 480px) {
    .minpaku-hero-content h1 {
        font-size: 1.2rem;
        letter-spacing: 0.05em;
    }

    .minpaku-hero-images {
        width: 95%;
        gap: 8px;
    }

    .hero-img-item {
        height: 100px;
        padding: 2px;
    }

    .minpaku-operation-text h2 {
        font-size: 1.6rem;
    }

    .minpaku-lead {
        font-size: 0.9rem;
    }

    .minpaku-desc {
        font-size: 0.8rem;
    }

    .promise-header h2 {
        font-size: 1.3rem;
    }

    .promise-title {
        font-size: 0.9rem;
    }

    .promise-desc {
        font-size: 0.8rem;
    }

    .service-label-card {
        width: 90px;
        height: 90px;
    }

    .service-num {
        font-size: 1.4rem;
    }

    .service-label {
        font-size: 0.75rem;
    }

    .features-content h3 {
        font-size: 1.1rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-card h4 {
        font-size: 0.9rem;
    }

    .feature-card p {
        font-size: 0.75rem;
    }
}
