@charset "UTF-8";

h2
{
    font-family: 'Shippori Mincho B1', serif;
    text-align: center;
    font-size: 30px;
    position: relative;
}

h2::before
{
    position: absolute;
    content: '';
    width: 249.4px;
    height: 16.53px;
    background-image: url(../img/oem/h2.svg);
    bottom: -4px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -1;
}

@media screen and (max-width: 900px)
{
    h2
    {
        width: 80%;
        height: 31px;
        margin: 0 auto;
        font-size: 2.2rem;
    }
}

/*　HERO
--------------------------------*/
/*mainimg*/
.hero .mainimg
{
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    height: 551px;
}

.hero .mainimg h1
{
    position: absolute;
    top: 30px;
    left: 30px;
    width: 261.57px;
    height: 257.5px;
    background-image: url(../img/oem/wa.svg);
    background-size: contain;
    font-size: 40px;
    font-family: Helvetica, sans-serif;
    font-weight: bold;
    text-align: center;
    padding-top: 70px;
    line-height: 1.4;
}

.hero .mainimg h1 span
{
    font-size: 16px;
    font-weight: normal;
    border-top: 2px solid #000;
    padding-top: 1em;
}

.hero .mainimg .img
{
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 403px);
}

.hero .mainimg .img .left
{
    width: 50%;
}

.hero .mainimg .img .left img
{
    height: 551px;
    object-fit: cover;
}

.hero .mainimg .img .right
{
    width: 50%;
}

.hero .mainimg .img .right img
{
    height: 551px;
    object-fit: cover;
}

.hero .mainimg .txt
{
    width: 403px;
    background: #fff;
}

.hero .mainimg .txt .top
{
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    text-orientation: upright;
    line-height: 1.5em;
    letter-spacing: 0.3em;
    font-size: 19px;
    font-family: 'Shippori Mincho B1',
        serif;
    vertical-align: middle;
    height: 460px;
    padding: 100px 0 0;
    margin: 0 auto;
}

.hero .mainimg .txt .top p
{
    padding-left: 1em;
}

.hero .mainimg .txt .top p:last-child
{
    padding-left: 0;
}

.hero .mainimg .txt .bottom
{
    width: 100%;
    font-size: 16px;
    text-align: center;
    line-height: 2;
}

@media screen and (max-width: 900px)
{
    .hero .mainimg h1
    {
        width: 150px;
        height: 147.67px;
        font-size: 20px;
        padding-top: 40px;
    }

    .hero .mainimg h1 span
    {
        font-size: 12px;
        padding-top: 0.5em;
    }

    .hero .mainimg .img .left,
    .hero .mainimg .img .right
    {
        width: 100%;
    }

    .hero .mainimg .img .left img,
    .hero .mainimg .img .right img
    {
        width: 100%;
        height: 250px;
    }

    .hero .mainimg .txt .bottom
    {
        margin-bottom: 2em;
    }
}

@media screen and (max-width: 500px)
{
    .hero .mainimg
    {
        height: auto;
    }

    .hero .mainimg .txt .top
    {
        writing-mode: horizontal-tb;
        -ms-writing-mode: inherit;
        padding: 20px 0 0;
        text-align: center;
        line-height: 1.6;
        height: auto;
    }

    .hero .mainimg .txt .top p
    {
        padding-left: 0;
        padding-bottom: 1em;
    }

    .hero .mainimg .img
    {
        width: 100%;
    }

    .hero .mainimg .txt
    {
        width: 100%;
    }
}

/*menu*/
.hero .menu
{
    width: 100%;
    background: #F4F4F4;
}

.hero .menu ul
{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.hero .menu ul li a
{
    margin: 0 1.5em;
    height: 54px;
    display: flex;
    align-items: center;
}

.hero .menu ul li a:hover
{
    color: rgba(152, 128, 28, 1)
}

.hero .menu ul li a img
{
    width: 12px;
    margin-left: 10px;
}

/*point*/
.point
{
    max-width: 910px;
    margin: 70px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.point .left
{
    width: 55%;
    font-weight: 600;
    font-size: 20px;
}

.point .left ul li
{
    margin-top: 24px;
    padding-left: 36px;
    background: url(../img/oem/wa_icon.svg) no-repeat left top / 20px 20px;
}

.point .left ul li:first-child
{
    margin-top: 0;
}

.point .right
{
    width: 40%;
    background: #EAE8E2;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 0;
}

.point .right p
{
    font-size: 16px;
    font-weight: 600;
}

.point .right a
{
    color: #fff;
    font-size: 20px;
    padding: 16px 0;
    width: 280px;
    background-color: #98801C;
    margin: 16px auto 20px;
    display: block;
}

.point .right small
{
    font-size: 14px;
}

@media screen and (max-width: 900px)
{
    .point
    {
        margin: 40px auto 0;
        flex-direction: column;
        width: 86%;
    }

    .point .left
    {
        font-size: 15px;
        width: 100%;
        margin-bottom: 28px;
    }

    .point .left ul
    {
        margin: 0 auto;
        max-width: 320px;
    }

    .point .left ul li
    {
        margin-top: 16px;
        background-size: 16px 16px;
        padding-left: 26px;
    }

    .point .right
    {
        width: 92%;
        padding: 32px 0;
    }

    .point .right a
    {
        font-size: 16px;
        width: 70%;
    }
}

/*　石橋製麺所の強み
--------------------------------*/
#strong
{
    margin: 120px auto 0;
    position: relative;
}

#strong::before
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 332px;
    background: url(../img/oem/strong-img.webp) no-repeat center 72px;
    background-size: cover;
    z-index: -1;
}

#strong .flex
{
    padding-top: 227px;
    display: flex;
    max-width: 960px;
    margin: 0 auto;
    gap: 16px;
    justify-content: space-between;
}

#strong .item
{
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#strong .item .icon
{
    width: 167px;
    height: 140px;
    background: url(../img/oem/strong_icon.svg) no-repeat center center;
    font-size: 26px;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

#strong .item .icon strong
{
    line-height: 1;
}

#strong .item p
{
    font-size: 18px;
    text-align: center;
    margin-top: 16px;
    line-height: 1.6;
}

#strong .item p span
{
    background: linear-gradient(#FAF2A2, #FAF2A2) no-repeat;
    background-size: 100% 15px;
    background-position: 0 100%;
}

@media screen and (max-width: 900px)
{
    #strong
    {
        margin: 56px auto 0;
    }

    #strong::before
    {
        height: 208px;
        background-position: center 56px;
    }

    #strong .flex
    {
        flex-direction: column;
        max-width: 520px;
        padding: 140px 7% 0;
    }

    #strong .item
    {
        flex-direction: row;
    }

    #strong .item .icon
    {
        width: 137px;
        height: 115px;
        font-size: 18px;
        background-size: 137px 115px;
        margin-right: 16px;
    }

    #strong .item p
    {
        text-align: left;
        flex: 1;
    }
}

/*　麺製造の流れ
--------------------------------*/
#flow
{
    margin: 120px auto 0;
}

.flow_area
{
    margin: 32px auto 0;
    padding: 88px 24px;
    background-image: url(../img/oem/kikkou-03.png);
}

.flow
{
    display: flex;
    justify-content: space-between;
    gap: 56px;
    width: 88%;
    margin: 0 auto;
    max-width: 1040px;
}

.flow .item
{
    position: relative;
}

.flow .item span
{
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #98801C;
    font-size: 15px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow .item::after
{
    content: '';
    position: absolute;
    top: 0;
    right: -40px;
    width: 40px;
    height: 100%;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    filter: drop-shadow(2px 0 6px rgba(0, 0, 0, 0.16));
}

.flow .item h3
{
    font-family: 'Shippori Mincho B1', serif;
    margin-bottom: 40px;
    font-size: 1.6rem;
    font-weight: 600;
    border-bottom: 1px solid #000;
    padding-bottom: 12px;
    display: inline;
}

.flow .item:not(:last-child)
{
    flex: 1 1 0;
    position: relative;
    padding: 40px 0 24px 24px;
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.flow .item:last-child
{
    align-self: center;
}

.flow .item:last-child h3
{
    margin: 0;
    border: none;
}

.flow .item:last-child::after
{
    content: none;
}

.flow .item p
{
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.5;
}

.flow_area small
{
    font-size: 1.6rem;
    padding-top: 24px;
    display: block;
    text-align: center;
}

#flow .img
{
    margin: 56px auto 0;
    display: flex;
    width: 100%;
    gap: 24px;
    justify-content: center;
}

#flow .img .img-list
{
    max-width: 195px;
    width: calc((100% - (24px * 4)) / 5);
}

#flow .img .img-list img
{
    width: 100%;
}


@media screen and (max-width: 900px)
{
    #flow
    {
        margin: 80px auto 0;
    }

    .flow
    {
        flex-direction: column;
        max-width: 560px;
        width: 80%;
    }

    .flow_area
    {
        padding: 50px 0;
    }

    .flow_area small
    {
        font-size: 13px;
    }

    .flow .item
    {
        text-align: center;
    }

    .flow .item span
    {
        left: 0;
        transform: none;
    }

    .flow .item h3
    {
        text-align: center;
    }

    .flow .item:not(:last-child)
    {
        padding: 40px 32px 20px;
    }

    .flow .item::after
    {
        top: auto;
        bottom: -40px;
        left: 50%;
        right: auto;
        width: 100%;
        height: 40px;
        transform: translateX(-50%);
        clip-path: polygon(0 0, 50% 100%, 100% 0);
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.16));
    }

    #flow .img .img-list
    {
        margin-right: 24px;
    }

    #flow .img .img-list:last-child
    {
        margin-right: 0;
    }
}

/*　事例
--------------------------------*/
#case
{
    margin: 120px auto;
}

#case section
{
    margin: 32px auto;
    max-width: 900px;
    width: 80%;
    border: #98801D 1px solid;
    padding: 20px;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 480px 240px;
}

#case section:first-of-type
{
    background-image: url(../img/oem/case_bk-pc_02.webp);
}

#case section:nth-of-type(2)
{
    background-image: url(../img/oem/case_bk-pc_01.webp);
}

#case .case-inner
{
    border: 1px solid #98801D;
    padding: 32px 48px;
    position: relative;
    background: rgba(255, 255, 255, 0.7);
}

#case h3
{
    color: #98801C;
    font-weight: 600;
    font-size: 20px;
    padding-bottom: 8px;
}

#case span
{
    position: absolute;
    font-size: 14px;
    border: 1px solid #000;
    padding: 3px 10px 1px;
    top: 32px;
    left: 240px;
}

#case p
{
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.5;
}

@media screen and (max-width: 900px)
{
    #case
    {
        margin: 64px auto;
        padding: 0 24px;
    }

    #case section
    {
        width: 100%;
        max-width: 640px;
        background-size: 220px 220px;
    }

    #case section:first-of-type
    {
        background-image: url(../img/oem/case_bk-sp_02.webp);
    }

    #case section:nth-of-type(2)
    {
        background-image: url(../img/oem/case_bk-sp_01.webp);
    }

    #case .case-inner
    {
        padding: 32px 24px;
    }

    #case h3
    {
        font-size: 18px;
    }

    #case span
    {
        padding: 2px 10px 0;
        left: auto;
        right: 24px;
    }

    #case p
    {
        font-size: 15px;
    }
}

/*　お問い合わせ
--------------------------------*/
.order-inq
{
    text-align: center;
    width: 90%;
    max-width: 280px;
    margin: 0 auto 110px;
}

.order-inq h3
{
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 20px;
}

.order-inq .order-box a
{
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.1rem;
    display: block;
    width: 100%;
    height: 76px;
    line-height: 76px;
    background: #98801C;
    color: #fff;
    margin-bottom: 20px;
}

.order-inq p
{
    font-size: 14px;
}

@media screen and (max-width: 900px)
{
    .order-inq h3
    {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .order-inq .order-box a
    {
        font-size: 16px;
        height: 46px;
        line-height: 46px;
        margin-bottom: 14px;
    }
}