/* 全体のリセットと基本設定 */
html{
    overflow-x: hidden;
}
body {
    margin: 0;
    padding: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    background-color: #fff8f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ヘッダー */
.header {
    color: #333;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 100px;
}

.header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: bold;
}




/* sections  */
.main_sections {
    max-width: 1100px;
    margin: 0 auto;
}

.sections {
    width: 100%;
}

.sections .p_fc {
    font-size: 2rem;
    border-left: 5px solid #172f6d;
    padding-left: 5px;
    font-weight: 600;
    margin: 20px 0;
    text-align: left;
}

.top_section_fc {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.top_section_fc img {
    width: 300px;
    height: 300px;
}

.top_section_fc p {
    width: 60%;
    text-align: justify;
}

.sections.s2 .p_fc span,
.sections.s5 .p_fc span {
    font-size: 1.2rem !important;
    color: rgb(245, 2, 2);
}


.table_section {
    width: 90%;
    margin: 40px auto;
}

.table_title {
    margin: 0;
    text-align: center;
    font-size: 2rem;
    color: rgb(245, 2, 2);
    font-weight: bold;
    margin-bottom: 10px;
}

.fc-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Noto Sans JP", sans-serif;
    background-color: #f6b354;
    color: #000;

}

.fc-table thead th {
    background-color: #f6b354;
    padding: 10px;
    border: 1px solid #000;
    font-weight: bold;
    text-align: left;
}

.fc-table td {
    padding: 7px;
    border: 1px solid #000;
    background-color: #fcd898;
    font-size: 1rem;
}

.fc-table .highlight td {
    background-color: #d0021b;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.chashu_sec {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 50px;
}

.chashu_sec img:nth-child(1) {
    width: 500px;
}

.chashu_sec img:nth-child(2) {
    width: 400px;
}

.sections.s3 p {
    width: 90%;
    margin: 10px auto;
    line-height: 1.8rem;
    text-align: justify;
}

.sections.s4 p {
    width: 90%;
    margin-top: 40px;
    padding-left: 40px;
    text-align: left;
}

.sections.s4 img {
    width: 600px;
    margin: 0 auto;
}

.s4_shokai {
    background-color: #172f6d09;
    padding: 16px 18px;
    border-radius: 8px;
    width: 80%;
    margin: 0 auto;
    text-align: left;
}

/* タイトル：サイズUP・行間/余白でバランス */
.s4_shokai h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* 本文：書き出しの字下げをなくす＆読みやすい行間 */
.s4_shokai .shokai_sub {
    margin: 0 0 14px;
    text-indent: 0;
    /* 書き出し削除（字下げなし） */
    line-height: 1.8;
}

/* 画像：横並び・左詰め・間隔を一定に */
.s4_sub1 {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    /* 画像の間隔 */
    flex-wrap: wrap;
    /* 狭い幅で折り返し */
}

/* 写真サイズUP：枠バランスを取りつつ拡大（元200/250→大きめに） */
.s4_sub1 img {
    width: 400px !important;
    height: auto;
    margin: 0;
}

.s4_sub1 {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    margin: 0 auto;
}

.s4_sub1 p {
    font-weight: bold;
    font-size: 3rem;
    color: #172f6d;
    padding: 0 !important;
}



.shoukai {
    text-align: right;
}

.shokai_sub {
    margin: 5px 0 !important;

}

.f_title {
    font-weight: bold;
    padding-left: 30px;
    font-size: 1.2rem;
    color: rgb(245, 2, 2);
    text-align: center;
}

.factory_img {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.factory_img img {
    width: 250px;
    margin: 5px;
}

.sections.s6 {
    /* background-image: url(./img/background.png); */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.gyoza-features {
    max-width: 900px;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.feature-box {
    display: flex;
    border: 2px solid #333;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: calc(100%/4);
}

.feature-label {
    background-color: #333;
    color: #fff;
    padding: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.feature-content {
    padding: 10px;
    flex: 1;
}

.feature-content h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: bold;
}

.feature-content p {
    font-size: 1rem;
    line-height: 1.7rem;
}

.contact-button-outline {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #d0021b;
    color: #d0021b;
    background: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.gyouza{
    display: flex;
    flex-direction: row;
    max-height: 600px;
}
.sub_gyouza_img{
    height: 100%;
    display: flex;
    flex-direction: column;
}
.sub_gyouza_img img{
    width: 330px;
    margin-bottom: 25px;
}


.footer{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;    
    padding-bottom: 100px;
    background-image: url(./img/footer_back.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 30px;
}
.ender{
    position: relative;
    width: 500px;
    line-height: 2rem;
   margin-top: 50px;
    background-color: #fff;
    padding: 30px;    
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px
}
.footer_logo{
    position: absolute;
    bottom: -70px;
    width: 250px;
    padding: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sections{
        width: 100vw;
    }
    .header{
        margin-top: 30px;
    }
    .header h1 {
        font-size: 1.2rem;
    }

    .main_sections {
        width: 100%;
    }
 
    .sections .p_fc {
        font-size: 1.5rem;
        margin: 0 10px;
    }

    .top_section_fc {
        flex-direction: column;
        align-items: center;
    }

    .top_section_fc p {
        width: 90%;
        font-size: 1rem;
        text-align: center;
    }

    .sections.s2 .p_fc span {
        font-size: 1.3rem;
    }
    .sub_title1{
        font-size: 0.9rem;
        margin: 0px;
    }

    .table_section {
        width: 100%;
    }
    .fc-table{
        width: 95vw;
        margin: 0 auto;
    }

    .fc-table th {
        padding: 5px;
        font-size: 0.8rem;
    }

    .fc-table td {
        padding: 5px;
        font-size: 0.6rem;
    }

    .fc-table .highlight td {
        font-size: 0.7rem;
    }

    .table_section {
        margin: 0;
    }

    .table_title {
        font-size: 0.7rem;
    }

    .chashu_sec {
        flex-direction: column;
        align-items: center;
    }

    .s4_sub1 {
        flex-direction: column;
        align-items: flex-start;
    }

    .chashu_sec img:nth-child(1) {
        width: 95vw;
    }

    .chashu_sec img:nth-child(2) {
        width: 80vw;
    }

    .sections.s4 p {
        padding: 0;
        width: 100% !important;
    }

    .s4_shokai {
        width: 95vw;
        margin: 0 auto;
        padding: 10px;
    }


    .factory_img img {
        width: 45vw;
        margin-bottom: 5px;
    }

    .factory_img {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    .f_title {
        font-size: 1rem;
    }

    .gyoza-features {
        padding: 0;
        width: 95vw;
        margin: 0 auto;
    }

    .feature-box {
        width: 100%;
    }

    .feature-label {
        padding: 05px;
    }

    .feature-content {
        padding: 5px;
    }
    .gyouza{
        flex-direction: column;
        max-height: 100%;
    }
    .sub_gyouza_img{
        width: 100vw;
        align-items: center;
        margin: 0 auto;
    }
    .sub_gyouza_img img{
        width: 95vw;
    }
    .ender{
        width: 100vw;
    }
    .sections.s4 img{
        width: 100% !important;
    }
    footer{
        width: 100vw;
    }
    .ender{
        width: 90%;
        padding: 10px;
        font-size: 0.9rem;
    }

}