/* ==========================================================================
 下層ページ 
==========================================================================*/

/****** H1タイトル共通 ******/

.page-title {
    position: relative;
    background-color: #444444;
    padding: 60px 20px;
    text-align: center;
    margin-top: calc(clamp(4rem, 5vw, 6rem) + 4.5rem);
    margin-bottom:8rem;
    overflow: visible;
}

.page-title h1 {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin: 0;
    padding: 0;
}

.page-title .subtitle {
    color: white;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    font-weight: normal;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 48px;
    background-image: url('../images/subttl_polygon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* iPad */
@media screen and (min-width: 64rem) and (max-width: 90rem) {
    .page-title {
        margin-top: calc(clamp(4rem, 5vw, 6rem) + 5rem);
    }
}

/* タブレット */
@media screen and (max-width: 63.9375rem) {
    .page-title {
        margin-top: calc(clamp(4rem, 5vw, 6rem) + 3rem);
        margin-bottom:30px;
        padding: 40px 15px;
    }
    
    .page-title h1 {
        font-size: 2.5rem;
    }
    
    .page-title .subtitle {
        font-size: 0.75rem;
    }
    
    .page-title::after {
        bottom: -25px;
        border-left-width: 25px;
        border-right-width: 25px;
        border-top-width: 15px;
    }
}

/* スマートフォン */
@media screen and (max-width: 47.9375rem){
    .page-title {
        margin-top: clamp(4rem, 5vw, 6rem);
        margin-bottom:22px;
        padding: 30px 10px;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .page-title .subtitle {
        font-size: 0.7rem;
    }
    
    .page-title::after {
        bottom: -20px;
        border-left-width: 20px;
        border-right-width: 20px;
        border-top-width: 12px;
        width: 25%;
        height: 25%;
    }
}


/* ==========================================================================
    下層ページ：メインコンテンツ 
========================================================================== */

.sub_maincont {
    overflow: hidden;
    position: relative;
    background: #fff;
    padding-top: clamp(4rem, 5vw, 6rem);
}


/******************************
    aboutページ
******************************/

    .about_wrapper {
        position: relative;
        max-width: 1200px;
        margin:0 auto 12rem;
    }
    
    .about_title {
        color: #444444;
        font-size: 2.5rem;
        font-weight: bold;
        margin: 0 0 30px 0;
        letter-spacing: 0.05em;
    }
    
    .about_content {
        margin-bottom:10rem;
    }

/********** PROFILE **********/

    .cont_profile{
        background-color: white;
        border: 3px solid #444444;
        position: relative;
        padding:4rem;
    }
    
    .about_text {
        width:100%;
        color: #444444;
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 40px;
    }
    
    .about_profile {
        width: 60%;
        color: #444444;
    }
    
    .about_profile_name {
        font-size: 1.5rem;
        font-weight: bold;
        margin: 0 0 10px 0;
    }
    .about_profile_name span{
        color: #888888;
        margin-left:0.5rem;
        font-size: 0.8rem;
    }
    
    .about_profile_sub {
        font-size: 0.875rem;
        line-height: 1.8;
        margin: 0 0 15px 0;
    }
            
    .about_image {
        position: absolute;
        right: 30px;
        bottom: -30px;
        width: 300px;
        height: auto;
    }
    
    .about_image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    /* iPad (1024px～) */
    @media screen and (min-width: 64rem) and (max-width: 90rem) {
        .sub_maincont {
            padding: 0 clamp(2rem, 4vw, 4rem);
        }
        
    .cont_profile{
        padding:4rem;
    }
        
    .about_image {
        width: 250px;
        right: 20px;
        bottom: -25px;
        }
    }
    
    /* タブレット (768px～1023px) */
    @media screen and (max-width: 63.9375rem) {
        .sub_maincont {
            padding: 4.5rem clamp(2rem, 4vw, 4rem);
        }
        
        .cont_profile{
            font-size: 2rem;
            margin-bottom:5rem;
            padding: 3.2rem;
        }
        .about_profile{width: 55%;}
        .about_text{width:100%;}
        .skill-category {
            padding-left: 0;
            border-bottom: 2px solid #444;
            padding-bottom: 8px;
        }
        .skill-category::before {
            display: none;
        }
        .skill-name {
            width: 120px;
            padding: 1rem;
            font-size: 0.9rem;
        }
        .skill-description {
            padding: 1rem;
            font-size: 0.9rem;
        }
    }
    
    /* スマートフォン (～767px) */
    @media screen and (max-width: 47.9375rem) {
        .sub_maincont {
            padding: 3rem clamp(2rem, 4vw, 4rem);
        }
        
        .about_content {
            margin-bottom: 5rem;
        }
        
        .about_title {
            font-size: 1.8rem;
            text-align: center;
        }
        
        .about_text {
            width:100%;
            font-size: 0.875rem;
            margin-bottom: 30px;
        }
        .about_profile{
        width: 100%;
        }
        
        .about_profile_name {
            font-size: 1.3rem;
        }
        
        .about_profile_sub {
            font-size: 0.8rem;
        }
                    
        .about_image {
            width: 180px;
            right: 10px;
            bottom: -15px;
        }
        .cont_profile{padding:2.2rem 2.2rem 8rem;}
    }

/********** SKILL ***********/

    .cont_skill{padding:2rem 0;}
    .skill-table {
        width: 100%;
        border-collapse: collapse;
        background: #fff;
        border: 1px solid #ddd;
        margin:0 0 6rem;
    }
    .skill-table:last-child{
    margin:0;
    }
    .skill-category {
        color: #444;
        font-size: 1.5rem;
        font-weight: 600;
        margin: 2rem 0;
        padding: 0;
        position: relative;
    }
    .skill-category:first-of-type {
        margin-top: 0;
    }
    .skill-table tr {
        border-bottom: 1px solid #e0e0e0;
    }
    .skill-table tr:last-child {
        border-bottom: none;
    }
    .skill-name {
        padding: 1.2rem 1.5rem;
        font-weight: 600;
        color: #333;
        width: 200px;
        vertical-align: top;
        border-right: 1px solid #e0e0e0;
        background-color: #f8f8f8;
    }
    .skill-description {
        padding: 1.2rem 1.5rem;
        color: #555;
        line-height: 1.6;
        vertical-align: top;
        background-color: white;
    }

    /* ipad */
    @media screen and (min-width: 64rem) and (max-width: 90rem) {
        .cont_skill{padding:0 clamp(1rem, 4vw, 1.25rem);}
        .skill-table{margin:0 0 4rem;}
        .skill-category {
            padding-left: 0;
            border-bottom: 2px solid #444;
            padding-bottom: 8px;
        }
        .skill-name {
            width: 120px;
            padding: 1rem;
            font-size: 0.9rem;
        }
        .skill-description {
            padding: 1rem;
            font-size: 0.9rem;
        }
    }

    /* タブレット */
    @media screen and (max-width: 63.9375rem) {
       .cont_skill{padding:2rem 0 0;} 
    }

    /* スマートフォン */
    @media screen and (max-width: 47.9375rem) {
        .skill-table {
            font-size: 0.85rem;
                margin: 0 0 4rem;
        }
        .skill-category {
            width: fit-content;
            margin: 0 auto 2rem;
            padding: 0 1rem .2rem;
            border-bottom: 2px dotted #444;
        }
        .skill-category::before {
            display: none;
        }
        .skill-name {
            width: 100px;
            padding: 0.8rem;
        }
        .skill-description {
            padding: 0.8rem;
        }
    }


/********** BACKGROUND ***********/

.cont_backgrnd{
    padding:8rem;
    border: 3px solid #444444;
}

    .backg_timeline {
        position: relative;
        padding-left: 50px;
    }
    .backg_timeline::before {
        content: '';
        position: absolute;
        left: 21px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: #888;
    }
    .backg_timeline_item {
        position: relative;
        margin-bottom: 60px;
        padding-left: 40px;
    }
    .backg_timeline_item::before {
        content: '';
        position: absolute;
        left: -36px;
        top: 5px;
        width: 15px;
        height: 15px;
        background: #444;
        border-radius: 50%;
    }
    .backg_period {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 15px;
        color: #333;
        letter-spacing: 0.05em;
    }
    .backg_company {
        font-size: 1.3rem;
        font-weight: 500;
        margin-bottom: 20px;
        color: #222;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
    }
    .backg_job_section {
        margin-bottom: 5rem;
    }
    .backg_job_title {
        font-size: 1.1rem;
        font-weight: 500;
        margin-bottom: 12px;
        color: #333;
        padding-left: 15px;
        border-left: 3px solid #999;
    }
    .backg_job_description {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 15px;
        color: #555;
    }
    .backg_skills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 15px;
    }
    .backg_skill_tag {
        background: #f0f0f0;
        padding: 4px 12px;
        font-size: 0.9rem;
        border-radius: 20px;
        border: 1px solid #ddd;
        color: #666;
    }

/* ipad */
@media screen and (min-width: 64rem) and (max-width: 90rem) {
    .backg_timeline {
        padding-left: 47px;
    }
    
    .backg_timeline_item {
        padding-left: 35px;
        margin-bottom: 50px;
    }
    .backg_timeline_item::before {
        left: -32px;
    }
}

/* タブレット */
@media screen and (max-width: 63.9375rem) {
    .cont_backgrnd{
        font-size: 2rem;
        margin-bottom:5rem;
        padding: 3.8rem;
    }  
    .backg_timeline {
        padding-left: 44px;
    }
    .backg_timeline_item {
        padding-left: 30px;
        margin-bottom: 40px;
    }
    .backg_timeline_item::before {
        left: -30px;
    }
    .backg_company {
        font-size: 1.2rem;
    }
    .backg_job_title {
        font-size: 1rem;
    }
}

/* スマートフォン */
@media screen and (max-width: 47.9375rem)  {
    .cont_backgrnd{
        padding:3rem 2.5rem;
    } 
    .backg_timeline {
        padding-left: 35px;
    }
    .backg_timeline::before {
        left: 15px;
    }
    .backg_timeline_item {
        padding-left: 25px;
        margin-bottom: 35px;
    }
    .backg_timeline_item::before {
        left: -23px;
        width: 8px;
        height: 8px;
    }
    .backg_period {
        font-size: 1rem;
    }
    .backg_company {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    .backg_job_title {
        font-size: 0.95rem;
        margin-bottom: 10px;
        padding-left: 12px;
    }
    .backg_job_description {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    .backg_skills {
        gap: 6px;
    }
    .backg_skill_tag {
        font-size: 0.8rem;
        padding: 3px 10px;
    }    
}


/************************************************************
    SERVICEページ
************************************************************/
.service_wrapper{
    position: relative;
    max-width: 1200px;
    margin: 0 auto 12rem;
}

.service_mv {
    width:fit-content;
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
    margin:0 auto 5rem;
    padding:3rem;
    border: 4px dotted #444;
}

.service_mv p{margin-bottom:1.5rem;}
.service_mv p:last-child{margin-bottom:0;}

.service_links {
    padding: 2rem 0;
}
.service_links_item {
    flex: 1;
    text-align: center;
    border-right: 1px solid #ddd;
}
.service_links_item:last-child {
    border-right: none;
}
.service_links_item a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: normal;
}
.service_links_item a::before {
    content: "›";
    display: inline-block;
    transform: rotate(90deg);
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}
.service_links_item a:hover::before {
    transform: rotate(0deg);
}
.service_links_inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.service_links_item a:hover{
color:#FFAD30;
}



/********** 各サービス内容 **********/

.service_cont_wrap{margin:5rem 0 0;}
.website{border: 2px solid #444; margin-bottom:8rem; padding:0 4rem 11.5rem;}
.onlineshop,.ecmall{border: 2px solid #444; margin-bottom: 8rem; padding:0 4rem 8rem;}

.sv_web_container {
    max-width: 1000px;
    margin:auto;
}
.sv_web_header {
    text-align: center;
    margin-bottom:6rem;
}
.sv_web_badge {
    display: inline-block;
    background-color: #333;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: bold;
    margin-bottom: 5.5rem;
}
    .sv_web_title {
        font-size: 2.25rem;
        font-weight: bold;
        color: #333;
        margin: 0;
    }
    .sv_web_body {
        display: flex;
        align-items: center;
        gap: 4rem;
        margin:0 auto 8rem;
    }
    .sv_web_image {
        flex: 0 0 auto;
        width: 20rem;
    }
    .sv_web_image img {
        width: 100%;
        height: auto;
    }


    .sv_web_content {
        flex: 1;
    }
    .sv_web_service_title {
        display: flex;
        align-items: center;
        font-size: 1.25rem;
        font-weight: bold;
        margin-bottom: 1.5rem;
    }
    .sv_web_service_title::before {
        content: "";
        display: inline-block;
        width: 0.5rem;
        height: 1.5rem;
        background-color: #6CAE20;
        margin-right: 1rem;
        transform: skewX(-15deg);
    }
    .sv_web_description {
        font-size: 1rem;
        line-height: 1.8;
    }


/* 料金プラン表 */
.wrap_plan {
    margin-top: 8rem;
}
.sv_web_plans_title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    width:fit-content;
    margin: 0 auto 2.5rem;
    padding:0 .5rem 1rem;
    border-bottom:2px dotted #444;
}

.sv_plan_addtxt{width:50%; margin:0 auto 3rem; text-align: center; font-size:.9rem;}

.sv_web_plans_table {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.sv_web_plans_table.simple {
    display: flex;
    gap: 1.5rem;
    margin:1rem auto 2.5rem;
    width:45%;
}

.sv_web_plan_item {
    flex: 1;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    overflow: hidden;
}
.sv_web_plan_header {
    background: #333;
    color: white;
    font-size: 1.125rem;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
}
.sv_web_plan_description {
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}
.sv_web_plan_price {
    text-align: center;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}
.sv_web_plan_label {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.5rem;
}
.sv_web_plan_amount {
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}
.sv_web_plan_tax {
    font-size: 0.75rem;
    color: #666;
}
.sv_web_plan_details {
    padding: 1.5rem 1rem;
}

.sv_web_plan_section {
    margin:1rem auto 1.5rem;
    width:70%;
}
.sv_web_plan_section.simplelist{
    width:fit-content;
}

.sv_web_plan_section:last-child {
    margin-bottom: 0;
}
.sv_web_plan_section_title {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.75rem;
}
.sv_web_plan_list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
}
.sv_web_plan_list li {
    font-size: 0.875rem;
    color: #333;
    position: relative;
    padding-left: 1rem;
    line-height: 1.6;
}
.sv_web_plan_list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #444;
}
.sv_web_plan_sublist {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.6;
    margin: 0.5rem 0 1rem 1rem;
}
.sv_web_plan_cms {
    font-size: 0.875rem;
    color: #444;
    font-weight: bold;
    line-height: 1.6;
}
.sv_web_plans_common {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}
.sv_web_common_title {
    font-size: 1rem;
    font-weight: bold;
    color: #444;
    margin: 0 0 1rem 0;
}
.sv_web_common_features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.sv_web_common_item {
    font-size: 0.875rem;
    color: #666;
}

.sv_web_design_body {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 8rem;
}
.sv_web_design_image {
    flex: 0 0 auto;
    width: 20rem;
}
.sv_web_design_image img {
    width: 80%;
    height: auto;
}
.sv_web_design_content {
    flex: 1;
}
.sv_web_design_title {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}
.sv_web_design_title::before {
    content: "";
    display: inline-block;
    width: 0.5rem;
    height: 1.5rem;
    background-color: #6CAE20;
    margin-right: 1rem;
    transform: skewX(-15deg);
}
.sv_web_design_text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.sv_web_design_tools {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.75rem;
}
.sv_web_design_price_label {
    font-size: 0.875rem;
    color: #666;
}
.sv_web_design_price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}
.sv_web_design_price_note {
    font-size: 0.75rem;
    font-weight: normal;
}

/* コーディング */
.sv_web_coding_body {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 8rem;
}
.sv_web_coding_image {
    flex: 0 0 auto;
    width: 20rem;
}
.sv_web_coding_image img {
    width: 80%;
    height: auto;
}
.sv_web_coding_content {
    flex: 1;
}
.sv_web_coding_title {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}
.sv_web_coding_title::before {
    content: "";
    display: inline-block;
    width: 0.5rem;
    height: 1.5rem;
    background-color: #6CAE20;
    margin-right: 1rem;
    transform: skewX(-15deg);
}
.sv_web_coding_text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.sv_web_coding_tools {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.75rem;
}
.sv_web_coding_cms {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.75rem;
}
.sv_web_coding_price_label {
    font-size: 0.875rem;
    color: #666;
}
.sv_web_coding_price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}
.sv_web_coding_price_note {
    font-size: 0.75rem;
    font-weight: normal;
}
/* 標準対応セクション */
.sv_web_standard_section {
    margin-bottom:8rem;
    padding: 2rem 0;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}
.sv_web_standard_title {
    font-size: 1rem;
    font-weight: bold;
    color: #444;
    margin: 0 0 1.5rem 0;
}
.sv_web_standard_list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.sv_web_standard_item {
    font-size: 0.875rem;
    color: #666;
}
.sv_web_standard_item::before {
    content: "・";
    margin-right: 0.25rem;
}
.sv_online_txt{text-align: center;}


/****** SERVICE -iPad版- ******/
@media screen and (min-width: 64rem) and (max-width: 90rem) {
    .website,.onlineshop,.ecmall{padding: 0 3rem;}
    .sv_web_container {
        padding: 3rem 2rem;
        gap: 3rem;
    }
    .sv_web_image {
        width: 18rem;
    }
    .sv_web_title {
        font-size: 2rem;
    }
    .sv_web_container {
        padding: 3rem 2rem;
        gap: 3rem;
    }
    .sv_web_title {
        font-size: 2rem;
    }
    .sv_web_standard_section {
    margin:2rem 0 8rem;
    }
    .sv_web_container {
        padding:0 0 10.5rem;
    }
    .sv_web_design_body,
    .sv_web_coding_body {
        gap: 3rem;
    }
    .sv_web_design_image,
    .sv_web_coding_image {
        width: 18rem;
    }
}

/****** SERVICE -タブレット版- ******/
@media screen and (max-width: 63.9375rem) {
    .service_links {
        width: fit-content;
        border-top: 1px dotted #444;
        border-bottom: 1px dotted #444;
        margin: auto;
    }
    .service_links_inner {
        flex-direction: column;
    }
    .service_links_item {
        border-right: none;
    }
    .website,.onlineshop,.ecmall{padding: 0 3rem 6rem;}
    .sv_web_container {
        padding: 3rem 2rem;
    }
    .sv_web_header {
        margin-bottom: 2rem;
    }
    .sv_web_body {
        gap: 3rem;
    }
    .sv_web_image {
        width: 16rem;
    }
    .sv_web_title {
        font-size: 1.875rem;
    }
    .sv_plan_addtxt{width:80%; font-size:.8rem;}
    .sv_web_plans_table {margin-bottom:0;}
    .sv_web_plan_details{
        width: fit-content;
        margin: 0 auto;
        padding: 1.5rem 1rem 3rem;
    }
    .sv_web_container {
        padding:0 0 3rem;
    }
    .sv_web_header {
        margin-bottom: 4rem;
    }
    .sv_web_body {
        gap: 3rem;
    }
    .sv_web_title {
        font-size: 1.875rem;
    }
    .sv_web_plan_section {
        width:100%;
    }
    .sv_web_plans_table {
        flex-direction: column;
        gap:3rem;
    }
    .sv_web_common_features {
        flex-direction: column;
        gap: 0.5rem;
    }
    .sv_web_standard_section{
    margin:3rem 0 8rem;
    }
    .sv_web_container {
        padding: 0;
    }
    .sv_web_design_body,
    .sv_web_coding_body {
        gap: 3rem;
    }
    .sv_web_design_image,
    .sv_web_coding_image {
        width: 16rem;
    }
    .sv_web_standard_list {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .sv_web_standard_item {
        text-align: left;
        width: fit-content;
    }
}

/****** SERVICE -スマートフォン版- ******/

@media screen and (max-width: 47.9375rem) {
    .service_links_inner {
        flex-direction: column;
    }
    .service_links_item {
        border-right: none;
    }
    .website,.onlineshop,.ecmall{padding: 0 2rem 6rem;}
    .sv_web_container {
        padding:0 1rem 2rem 1rem;
    }
    .sv_web_header {
        margin-bottom: 1.5rem;
    }
    .sv_web_body {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .sv_web_image {
        width: 14rem;
    }
    .sv_web_title {
        font-size: 1.5rem;
    }
    .sv_web_service_title {
        font-size: 1.125rem;
        margin-bottom: 1rem;
        justify-content: center;
    }
    .sv_web_description {
        font-size: 0.875rem;
    }
    .wrap_plan{
        margin-top: 5rem;
    }
    .sv_web_header {
        margin-bottom: 1.5rem;
    }
    .sv_web_body {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .sv_web_title {
        font-size: 1.5rem;
    }
    .sv_web_service_title {
        font-size: 1.125rem;
        margin-bottom: 1rem;
        justify-content: center;
    }
    .sv_web_description {
        font-size: 0.875rem;
    }
    .sv_web_plans {
        margin-top: 2rem;
    }
    .sv_web_plans_table {
        flex-direction: column;
        gap:3rem;
    }
    .sv_web_common_features {
        flex-direction: column;
        gap: 0.5rem;
    }

    .sv_web_design_body,
    .sv_web_coding_body {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        margin-top: 3rem;
    }
    .sv_web_design_image,
    .sv_web_coding_image {
        width: 14rem;
    }
    .sv_web_design_title,
    .sv_web_coding_title {
        font-size: 1.125rem;
        justify-content: center;
    }
    .sv_web_design_text,
    .sv_web_coding_text {
        font-size: 0.875rem;
    }
    .sv_web_standard_section {
        margin-top: 3rem;
        padding: 1.5rem;
    }
    .sv_web_standard_list {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .sv_web_standard_item {
        text-align: left;
        width: fit-content;
    }
    .sv_web_plans_table.simple {
    margin:1rem auto;
    width:100%;
}
}



/********** コンタクトフォーム **********/

.contact .contact_form {
  max-width: 64rem;
  margin-inline: auto;
  padding: 2rem 2rem 12rem;
}

.contact .contact_form > p {
  text-align: center;
  margin: 0 auto 8rem;
}

/* Contact Form 7 基本リセット */
.contact .wpcf7 {
  width: 100%;
}

.contact .wpcf7 form {
  width: 100%;
}

.contact .wpcf7 p {
  margin: 0 !important;
}

.contact .wpcf7 br {
  display: none;
}

/* wpcf7-form-control-wrap をインラインブロックに */
.contact .wpcf7-form-control-wrap {
  display: inline-block;
  width: 100%;
  vertical-align: top;
}

/* 入力フィールドを100%幅に */
.contact .wpcf7-form-control {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* fieldset */
.contact .contact_fieldset {
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
}

.contact .contact_legend {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}

/* 行（左：ラベル／右：入力） */
.contact .contact_grid {
  display: grid;
  grid-template-columns: 14rem 1fr;
  align-items: start;
  gap: 1rem 2rem;
  margin-bottom: 1.25rem;
}

.contact .contact_grid--two {
  align-items: start;
}

.contact .contact_grid--two .contact_checks {
  display: block;
  width: 100%;
}

.contact .contact_grid--textarea {
  margin-top: 0.5rem;
}

/* ラベル */
.contact .contact_label {
  display: block;
  line-height: 1.6;
  padding-top: 0.5rem;
  font-weight: bold;
}

/* 入力共通 */
.contact .contact_input,
.contact .contact_textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d9d9d9;
  border-radius: 0.5rem;
  background: #f7f7f7;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
}

.contact .contact_input:focus,
.contact .contact_textarea:focus {
  border-color: #6AAA42;
  background: #fff;
}

.contact .contact_input::placeholder,
.contact .contact_textarea::placeholder {
  opacity: 0.5;
  color: #888;
}

.contact .contact_textarea {
  min-height: 10rem;
  resize: vertical;
  line-height: 1.6;
}

/* チェックボックスリスト全体 */
.contact .contact_checks {
  width: 100%;
}

.contact .contact_checks .wpcf7-checkbox {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
}

/* 各チェックボックスアイテム */
.contact .contact_checks .wpcf7-list-item {
  margin: 0 !important;
  padding: 0;
  display: flex;
  align-items: center;
}

/* チェックボックスのラベル */
.contact .contact_checks .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  cursor: pointer;
  width: 100%;
  font-weight: normal;
}

/* チェックボックス本体 */
.contact .contact_checks input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: #6AAA42;
  cursor: pointer;
}

/* チェックボックスのテキスト */
.contact .contact_checks .wpcf7-list-item-label {
  flex: 1;
  margin: 0;
  padding: 0;
}

/* 送信ボタン */
.contact .contact_actions {
  margin-top: 6rem;
  display: grid;
  place-items: center;
}

.contact .contact_submit {
  display: inline-block;
  min-width: 12rem;
  margin-top: 5rem;
  padding: 0.875rem 2rem;
  border: 1px solid #d9d9d9;
  border-radius: 0.75rem;
  background: #6AAA42;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.contact .contact_submit:hover {
  opacity: 0.8;
}

.contact .contact_submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* バリデーションエラー */
.contact .wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
}

.contact .wpcf7-not-valid {
  border-color: #dc3545 !important;
  background: #fff5f5 !important;
}

/* 送信メッセージ */
.contact .wpcf7-response-output {
  margin: 2rem 0 0;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid;
  font-size: 0.9375rem;
}

.contact .wpcf7-mail-sent-ok {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.contact .wpcf7-mail-sent-ng,
.contact .wpcf7-validation-errors {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.contact .wpcf7-spam-blocked {
  background-color: #fff3cd;
  border-color: #ffeaa7;
  color: #856404;
}

/* 送信中のスピナー */
.contact .wpcf7 .ajax-loader {
  display: none;
}

/* スピナーを表示する場合 */
.contact .wpcf7 form.submitting .ajax-loader {
  display: inline-block;
  margin-left: 1rem;
}

/* ====== ブレイクポイント ====== */
/* iPad */
@media screen and (min-width: 64rem) and (max-width: 90rem) {
  .contact .contact_grid {
    grid-template-columns: 12rem 1fr;
  }
}

/* タブレット */
@media screen and (max-width: 63.9375rem) {
  .contact .contact_form {
    padding: 1.5rem 1.25rem 10rem;
  }
  
  .contact .contact_form > p {
    margin: 5rem auto 7rem;
  }
  
  .contact .contact_grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .contact .contact_grid--two .contact_checks .wpcf7-checkbox {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact .contact_label {
    padding-top: 0;
  }
}

/* スマートフォン */
@media screen and (max-width: 47.9375rem) {
  .contact .contact_grid--two .contact_checks .wpcf7-checkbox {
    grid-template-columns: 1fr;
  }
  
  .contact .contact_submit {
    width: 100%;
  }
}



/************************************************************
    WORKSページ
************************************************************/

.works_container {
  max-width: 87.5rem; /* 1400px */
  margin:0 auto 12rem;
  padding: 5rem clamp(1rem, 4vw, 1.25rem);
}

/* グリッドレイアウト */
.works_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(2.5rem, 4vw, 4rem); /* 横の間隔 */
  row-gap: clamp(4rem, 6vw, 6rem); /* 縦の間隔 */
  margin: 0 auto clamp(4rem, 6vw, 6rem);
  max-width: 1200px;
}

/* 作品アイテム */
.works_item {
  position: relative;
}

.works_link {
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.works_link:hover {
  opacity: 0.8;
}

/* サムネイル */
.works_thumbnail {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3のアスペクト比 */
  overflow: hidden;
  background-color: #ccc;
  margin-bottom: 0.75rem;
}

.works_thumbnail_title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 0.75rem 1rem;
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  z-index: 1;
  transition: background 0.3s ease;
}

.works_link:hover .works_thumbnail_title {
  background: rgba(108, 174, 32, 0.7);
}

.works_thumbnail_title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  line-height: 1.4;
}

.works_thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.works_link:hover .works_thumbnail img {
  transform: scale(1.1);
}

/* タグエリア */
.works_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.works_tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background-color: #444;
  font-size: 0.875rem;
  line-height: 1.4;
  white-space: nowrap;
  color:#fff;
}

/* ページネーション */
.works_pagination {
    margin: 60px 0 0;
    text-align: center;
}

.works_pagination_list {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.works_pagination_item {
    margin: 0;
}

.works_pagination_link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.works_pagination_link:hover {
    background-color: #f0f0f0;
    border-color: #999;
}

.works_pagination_current {
    background-color: #333;
    color: #fff;
    border-color: #333;
    pointer-events: none;
}

.works_pagination_prev,
.works_pagination_next {
    font-weight: bold;

}



/* iPad */
@media screen and (min-width: 64rem) and (max-width: 90rem) {
  .works_grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .works_container {
    margin: 0 auto 12rem;
    padding: 0 clamp(1rem, 4vw, 1.25rem);
  }
}

/* タブレット */
@media screen and (max-width: 63.9375rem) {
  .works_grid {
    grid-template-columns: 1fr;
  }
  .works_thumbnail {
    padding-top: 56.25%; /* 16:9のアスペクト比 */
  }
  .works_container {
    margin: 5rem auto 12rem;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  }
}

/* スマートフォン */
@media screen and (max-width: 47.9375rem) {
  .works_tag {
    font-size: 0.8125rem;
    padding: 0.3125rem 0.75rem;
  }
  /* ここも .page-numbers に合わせる */
  .works_pagination_list .page-numbers {
    min-width: 2.25rem;
    height: 2.25rem;
    font-size: 0.875rem;
  }
  .works_pagination {
    margin-bottom: clamp(3rem, 5vw, 4rem);
  }
}


/* ===================================
   Works Modal - ポップアップ
=================================== */

.works_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.works_modal.is-active {
  display: block;
  opacity: 1;
}

/* オーバーレイ */
.works_modal_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

/* モーダルコンテナ */
.works_modal_container {
  position: relative;
  width: 90%;
  max-width: 75rem; /* 1200px */
  height: 90vh;
  max-height: 60rem;
  margin: 5vh auto;
  background-color: #222;
  overflow-y: auto;
  z-index: 10000;
}

/* 閉じるボタン */
.works_modal_close {
  position: absolute;
  top: 0;
  right: 0;
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 10001;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.works_modal_close span {
  position: absolute;
  width: 2rem;
  height: 0.125rem;
  background-color: #fff;
  transition: background-color 0.3s ease;
}

.works_modal_close span:first-child {
  transform: rotate(45deg);
}

.works_modal_close span:last-child {
  transform: rotate(-45deg);
}

.works_modal_close:hover span {
  background-color: #6CAE20;
}

/* モーダルコンテンツ */
.works_modal_content {
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  padding: 3rem;
}

/* 画像エリア */
.works_modal_image {
  flex: 0 0 37.5rem; /* 600px */
  max-width: 37.5rem;
}

.works_modal_image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 情報エリア */
.works_modal_info {
  flex: 1;
  min-width: 0;
  color:#fff;
}

/* タイトル */
.works_modal_title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: bold;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  line-height: 1.4;
}

.works_modal_title_deco {
  display: block;
  width: 0.375rem;
  height: 2.5rem;
  background-color: #6CAE20;
  transform: skewX(-10deg);
  flex-shrink: 0;
}

/* 詳細セクション */
.works_modal_detail {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.works_modal_section {
  line-height: 1.8;
}

.works_modal_label {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: bold;
  margin-bottom: 0.5rem;
  color:#6CAE20;
}

.works_modal_text {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.8;
  margin: 0;
}

.works_modal_link {
    color: #0066cc;
    text-decoration: underline;
    word-break: break-all;
    transition: color 0.3s ease;
}

.works_modal_link:hover {
    color: #004499;
}

/* iPad */
@media screen and (min-width: 64rem) and (max-width: 90rem) {
  .works_modal_image {
    flex: 0 0 35rem;
    max-width: 35rem;
  }
}

/* タブレット */
@media screen and (max-width: 63.9375rem) {
  .works_modal_container {
    width: 95%;
    height: 95vh;
    margin: 2.5vh auto;
  }
  
  .works_modal_content {
    flex-direction: column;
    gap: 5rem;
    padding: 2rem 1rem;
  }
  
  .works_modal_image {
    flex: 0 0 auto;
    max-width: 100%;
    order: 2; /* 画像を下に配置 */
  }

   .works_modal_info {
    order: 1; /* 画像を下に配置 */
  } 
  
  .works_modal_title_deco {
    height: 2rem;
  }
}

/* スマートフォン */
@media screen and (max-width: 47.9375rem) {
  .works_modal_close {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .works_modal_close span {
    width: 1.5rem;
  }
  
  .works_modal_content {
    padding: 2rem 0.5rem;
  }
  
  .works_modal_detail {
    gap: 1.5rem;
  }

  .works_modal_image {
    order: 2; /* 画像を下に配置 */
  }
  
  .works_modal_info {
    order: 1; /* 情報を上に配置 */
  }
}

/* スクロールバー非表示（オプション） */
.works_modal_container::-webkit-scrollbar {
  width: 0.5rem;
}

.works_modal_container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.works_modal_container::-webkit-scrollbar-thumb {
  background: rgba(108, 174, 32, 0.5);
  border-radius: 0.25rem;
}

.works_modal_container::-webkit-scrollbar-thumb:hover {
  background: rgba(108, 174, 32, 0.8);
}