@charset "utf-8";

/*ここから共通項目*/
.container {
    width: 1366px;
    margin: 0 auto;
}

a.anchor {
    display: block;
    padding-top: 200px;
    margin-top: -200px;
}

.btn {
    display: block;
    width: 180px;
    height: 65px;
    background-color: #E6B422;
    box-shadow: 4px 4px 4px #ffff;
    color: #ffff;
    text-align: center;
    line-height: 65px;
    margin: 0 auto;
    font-weight: 700;
}

section {
    margin: 30px 0 30px 0;
}

.top-section {
    margin-top: 220px;
}

html,
body {
    overflow-x: hidden;
    width: 100vw;
}

/*ここまで共通項目*/

/*ここからヘッダー*/
header {
    width: 100%;
    z-index: 9900;
    position: fixed;
    background-color: rgb(0, 0, 0, 0.8);
    top: 0;
    left: 0;
}

.switcher>li:first-child {
    margin-right: .5rem;
}

.switcher>li:first-child::after {
    content: '/';
    margin-left: .4rem;
}

.header__body--pc {
    width: 100%;
    height: 183px;
}

.header__body--sp {
    width: 100%;
    height: 100px;
    display: none;
    position: relative;
}

.header__top--sp {
    display: flex;
    position: relative;
    width: 100%;
    height: 100px;
    padding: 20px 20px 0 20px;
    background-color: rgb(0, 0, 0, 0.6);
    z-index: 9995;
}

.header__logo--sp {
    height: 80px;
    display: flex;
}

.header__logo--sp-small {
    margin-top: 6px;
    width: 76px;
    height: auto;
}

.header__name--sp {
    width: 311.5px;
    margin-left: 17px;
}

.header__language--sp {
    position: absolute;
    top: 20px;
    right: 100px;
    font-size: 16px;
}

.header__language--sp>p {
    margin-bottom: 20px;
}

.header__language--sp>div>a::before {
    content: "/";
    margin-left: .3em;
    margin-right: .3em;
}

.header__language--sp>div>a:first-child:before {
    content: none;
}

.header__language--sp2 {
    display: none;
    margin-bottom: 20px;
}

.header__language--sp2>p {
    margin-bottom: 10px;
}

.header__language--sp2>div>a::before {
    content: "/";
    margin-left: .3em;
    margin-right: .3em;
}

.header__language--sp2>div>a:first-child:before {
    content: none;
}

.header__hamburger {
    width: 40px;
    height: 100%;
    background-color: transparent;
    border-color: transparent;
    z-index: 9999;
    position: absolute;
    top: 0px;
    right: 25px;
}

.header__hamburger>span {
    width: 100%;
    height: 3px;
    background-color: #FFF;
    border-radius: 9999px;
    position: relative;
    transition: ease .4s;
    display: block;
}

.header__hamburger>span:nth-child(1) {
    top: 0;
}

.header__hamburger>span:nth-child(2) {
    margin: 8px 0;
}

.header__hamburger>span:nth-child(3) {
    top: 0;
}

.header__hamburger.active>span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}

.header__hamburger.active>span:nth-child(2) {
    opacity: 0;
}

.header__hamburger.active>span:nth-child(3) {
    top: -16px;
    transform: rotate(-45deg);
}

.header__nav-sp {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 100px);
    max-height: 530px;
    padding: 10px 40px 40px 40px;
    justify-content: space-between;
    position: relative;
    background-color: rgb(0, 0, 0, 0.6);
    overflow-y: scroll;
    overscroll-behavior-y: contain;
    font-size: 18px;
    z-index: 9990;
    transition: ease .4s;
    transform: translateY(-150%);
}

.header__nav-sp.active {
    transform: translateY(0);
}

.header__nav-sp--center {
    width: 30%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
}

.header__nav-sp--logo {
    width: 60%;
    aspect-ratio: 373/260px;
    margin: 0 auto;
}

.header__nav-sp--name {
    width: 100%;
    height: auto;
}

.header__nav-sp--links {
    width: 70%;
    display: flex;
    justify-content: space-between;
    margin: 20px auto 0 auto;
}

.header__nav-sp--link {
    width: 27%;
    height: auto;
}

.header__nav-sp--left>ul>li {
    list-style-type: disc;
    margin: 30px 0 30px 30px;
}

.header__nav-sp--right>ul>li {
    list-style-type: disc;
    margin: 25px 0 25px 30px;
}

.header__method-list--sp>li {
    margin: 30px 0 30px 30px;
}

.header__plusoil-list--sp>li {
    margin: 20px 0 20px 30px;
}

h1 {
    height: 100px;
}

.headerLogo {
    width: 79px;
    height: 55px;
}

.headerName {
    width: 311.5px;
    height: 65px;
}

.headerNav .pcFlex {
    justify-content: center;
    align-items: center;
    height: 69px;
}

.headerNav>ul>li {
    font-size: 16px;
    width: 112px;
    margin: 0 13.5px;
    text-align: center;
    position: relative;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
}

.headerNav>ul>li::after {
    content: "";
    display: block;
    width: 1px;
    height: 19px;
    background-color: #ffff;
    position: absolute;
    right: -13.5px;
    top: 9.5px;
}

.headerNav>ul>li:hover {
    border-bottom: 1px solid #E6B422;
}

.headerNav>ul>li:last-child::after {
    display: none;
}

.language {
    top: 20px;
    right: 20px;
}

#menu-global-en>li::after {
    top: 0;
}

.glink:first-child:after {
    content: "/";
}

.slick-dots {
    position: absolute;
    z-index: 999;
    background-color: #D9D9D9;
    width: 190px !important;
    height: 36px;
    border-radius: 50px;
    bottom: 40px !important;
    left: 0;
    right: 0;
    margin: auto !important;
}

.slick-dots li button {
    width: 15px !important;
    height: 15px !important;
}

.slick-dots li button:before {
    content: "";
    width: 15px !important;
    height: 15px !important;
    background-color: #1D0D00;
    border-radius: 100%;
    opacity: 1;
}

.slick-prev {
    left: 100px;
    z-index: 999;
    display: block;
    left: 7% !important;
}

.slick-prev::before,
.slick-prev::after {
    content: "" !important;
    position: absolute;
    top: calc(50% - 2px);
    left: 0;
    width: 45px;
    height: 4px;
    border-radius: 9999px;
    background-color: #000000;
    transform-origin: 2px 50%;
}

.slick-prev::before {
    transform: rotate(25deg);
}

.slick-prev::after {
    transform: rotate(-25deg);
}

.slick-next {
    right: 100px;
    z-index: 999;
    display: block;
    right: 7% !important;
}

.slick-next::before,
.slick-next::after {
    content: "" !important;
    position: absolute;
    top: calc(50% - 2px);
    right: 0;
    width: 36px;
    height: 4px;
    border-radius: 9999px;
    background-color: #000000;
    transform-origin: calc(100% - 2px) 50%;
}

.slick-next::before {
    transform: rotate(-25deg);
}

.slick-next::after {
    transform: rotate(25deg);
}

/*ここまでヘッダー*/

/*ここからトップ*/

#news>.container>dl {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
}

#news>.container>dl>dt {
    width: 180px;
    font-weight: normal;
}

#news>.container>dl>dd {
    width: calc(100% - 180px);
}

.products img {
    max-height: 400px;
    max-width: 400px;
    margin: 0 auto;
}

.topTxt {
    z-index: 999;
    width: 50%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 40px 0 40px;
}

.topTxt p {
    padding: 10px 80px 40px 80px;
    line-height: 50px;
}

#topHistory .topTxt {
    top: 55%;
    right: 50%;
}

#concept .topTxt {
    left: 50%;
}

#method .topTxt {
    top: 52%;
    right: 50%;
}

#topHistory,
#concept,
#method,
#jas {
    margin: 0;
}

#jas .topTxt {
    top: 55%;
    left: 50%;
}

.topTxt .btn {
    margin: 0 0 0 auto;
}

.topImageR {
    transform: translateX(50%);
    transition: transform 0.5s ease;
}

.topImageR:hover {
    transform: translateX(0);
}

.topImageL {
    transform: translateX(-50%);
    transition: transform 0.5s ease;
}

.topImageL:hover {
    transform: translateX(0);
}

.mainvisual--1 {
    aspect-ratio: 192/95;
    object-position: 72% center;
}

/*ここまでトップ*/

/*ここからフッター*/
.banner {
    width: 1366px;
    height: 200px;
    display: block;
    margin: 70px auto 0;
}

footer>.pcFlex {
    justify-content: center;
}

.footerLogo {
    width: 373px;
    height: 260px;
    display: block;
    margin: 0 auto;
}

.footerName {
    width: 565px;
    height: 118px;
    display: block;
    margin: 0 auto;
}

footer .pcFlex>div>ul {
    width: 410px;
}

footer .pcFlex>div>ul>li {
    list-style: disc;
    margin-left: 40px;
    padding-left: 20px;
    line-height: 50px;
}

.footerSubList {
    margin-left: 100px;
}

.footerSubList>li {
    margin-right: 100px;
    line-height: 50px;
}

footer .links img {
    width: 100px;
    height: 100px;
}

footer .links .onlineBtn img {
    width: 256px;
    object-fit: contain;
}

footer .links {
    width: 560px;
    margin: 0 auto 60px;
    justify-content: space-between;
}

.copy {
    width: 100%;
    height: 33px;
}

/*ここまでフッター*/


/*ここから求人情報*/
.recruitMain {
    width: 100%;
    height: 700px;
    position: relative;
}

.recruitMain div {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 50px 0;
}

.recruitMain div p {
    font-size: 1.6rem;
    line-height: 2.25em;
    display: block;
    width: 100%;
}

.contactBtn {
    display: block;
    width: 315px;
    height: 65px;
    background-color: #E6B422;
    box-shadow: 4px 4px 4px #ffff;
    color: #0D0600;
    text-align: center;
    line-height: 65px;
    margin: 0 auto;
    font-weight: 700;
}

.recruitBtn {
    width: 600px;
    height: 200px;
    background-color: #E6B422;
}

.recruitBtns {
    justify-content: space-around;
    margin-top: 80px;
    margin-bottom: 50px;
}

.recruitBtn>p:first-child {
    font-size: 32px;
}

.recruitBtn p:nth-child(2) {
    font-size: 32px;
    color: #000000;
    text-align: end;
    margin: 70px 0 0 auto;
}

#boshu1>dl,
#boshu2>dl {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border: 3px solid #ffff;
    border-bottom: none;
}

#boshu1>dl>dt,
#boshu2>dl>dt {
    border-right: 3px solid #ffff;
    border-bottom: 3px solid #ffff;
    width: 302px;
    padding: 37px;
}

#boshu1>dl>dd,
#boshu2>dl>dd {
    border-bottom: 3px solid #ffff;
    padding: 37px;
    line-height: 40px;
    width: calc(100% - 302px);
}

#boshu1>dl>dd>ul>li,
#boshu2>dl>dd>ul>li {
    list-style: disc;
}

.recruitTtl {
    max-width: 351px;
    height: 57px;
    background-color: #B8901B;
    font-size: 26px;
    line-height: 57px;
    text-align: center;
    display: block;
    margin: 20px auto;
}

/*ここまで求人情報*/


/*ここから製造工程*/
.methodTop {
    max-width: 1000px;
    font-size: 1.1rem;
    line-height: 50px;
    display: block;
    margin: 0 auto 60px;
    padding: 0 50px;
}

.methodImage {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 33% 33% 33%;
    padding: 0 60px;
    text-align: center;
}

.methodImage>div>img {
    width: 80%;
    aspect-ratio: 1;
}

.methodImageItem::before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 40px solid #ffffff;
    border-right: 0;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
}

.nataneTxt {
    width: 724p;
    height: 191px;
    font-size: 22px;
    line-height: 50px;
    margin: 50px auto;
    padding: 30px;
}

/*ここまで製造工程*/



/* 肥後製油の歴史(history.html)*/
#history {
    margin-bottom: 100px;
}

.history__box {
    aspect-ratio: 1920/620;
    opacity: 0;
}

.high {
    aspect-ratio: 1920/760;
}

.end {
    aspect-ratio: 1920/723;
}

.history__photo {
    width: 60vw;
    height: auto;
    z-index: 1;
}

.history__box.animated {
    animation: fadeup 1.5s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes fadeup {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    20% {
        transform: translateY(30px);
        opacity: 0;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.history__photo--left {
    top: 0;
    left: 0;
}

.history__photo--right {
    top: 0;
    right: 0;
}

.history__paragraph {
    padding: 40px;
    z-index: 3;
    background-color: rgb(0 0 0 / .2);
    line-height: 60px;
    width: 50%;
}

.history__paragraph--left {
    top: 50%;
    left: 19vw;
    transform: translateY(-50%);
}

.history__paragraph--right {
    top: 50%;
    left: 50vw;
    transform: translateY(-50%);
}

#overview {
    width: 100%;
    margin-bottom: 80px;
    padding: 0 30px;
}

.overview__table {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border: 3px solid #FFFFFF;
    border-bottom: none;
}

.overview__head,
.overview__data {
    padding: 25px 0 25px 40px;
}

.overview__head {
    width: 300px;
    display: flex;
    align-items: center;
    border-right: 3px solid #FFFFFF;
    border-bottom: 3px solid #FFFFFF;
    font-weight: 400;
}

.overview__first-head {
    background-color: rgb(255 255 255 / .4);
}

.overview__data {
    width: calc(100% - 300px);
    border-bottom: 3px solid #FFFFFF;
}

.overview__definition--list {
    display: flex;
    width: 100%;
}

.overview__definition--term {
    font-weight: 400;
    width: 180px;
}

.overview__definition--description1 {
    width: 250px;
}

/* 文書スペース */
.article-box {
    margin: 0 auto;
    width: 1366px;
    height: 700px;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 100px;
}

.article-box>p {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    font-size: 1.1rem;
    text-align: center;
    line-height: 3.3em;
}

/* 品質管理(quality.html) */
.jas-certification__content--is-image {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 40px;
    margin-bottom: 90px;
    line-height: 3em;
}

.jas-certification__content--jas-image2 {
    width: 312px;
    height: 303px;
}

.jas-certification__content--paragraph2 {
    width: calc(100% - 350px);
}

.jas-certification__content--paragraph1 {
    width: calc(100% - 325px);
}

.jas-certification__content--jas-image1 {
    width: 287px;
    height: 149px;
}

.jas-certification__content--no-image {
    text-align: center;
    margin-bottom: 130px;
}

/* 三つリンクセット */
.link-box__wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.link-box__anchor {
    width: 380px;
    aspect-ratio: 1;
    position: relative;
    margin: 0 35px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.process-anchor {
    background-image: url(../images/process_link.jpg);
}

.oil-anchor {
    background-image: url(../images/oil_link.jpg);
}

.quality-anchor {
    background-image: url(../images/quality_link.jpg);
}

.method-anchor {
    background-image: url(../images/method_link.jpg);
}

.link-box__name {
    position: absolute;
    top: 30px;
    left: 30px;
}

.process-anchor .btn,
.oil-anchor .btn,
.quality-anchor .btn,
.method-anchor .btn {
    position: absolute;
    right: 30px;
    bottom: 30px;
}

/* 植物油の機能(oil.html) */
.oil-function__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 120px auto;
}

.oil-function__text {
    width: 53%;
    padding: 30px;
    line-height: 1.4em;
    font-size: 22px;
}

.oil-function__image {
    width: 47%;
}

.oil-function__box--no-image {
    text-align: center;
    line-height: 2.3em;
    margin-bottom: 130px;
}

.oil-function__box--thin {
    max-width: 1280px;
}

.oil-function__image--thin {
    width: 30%;
}

.oil-function__text--wide {
    width: 70%;
    margin: 0 50px;
    line-height: 1.4em;
    font-size: 22px;
}

/* 商品紹介(product.html) */
.product-lineup__main-content {
    margin-bottom: 90px;
    padding: 0 90px;
    line-height: 2.8em;
}

.product-lineup__indivisual {
    margin: 0 auto 125px auto;
    padding-left: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-lineup__image {
    width: 30%;
    aspect-ratio: .85;
    position: relative;
}

.product-lineup__image--high {
    width: none;
    height: 100%;
}

.product-lineup__product-name {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0);
}

.product-lineup__text {
    padding-left: -200px;
    width: 70%;
    line-height: 2.6em;
    padding: 0 10px;
}

/* お知らせ */
.informationBox {
    width: 320px;
    height: 410px;
    padding: 10px;
}

.informationContents {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 20px;
    justify-items: center;
    align-items: center;
    margin: 0 auto 80px;
    width: 100%;
    max-width: 1366px;

}

.thumbnail,
.noImage {
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.thumbnail>img,
.noImage>img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.title,
.date {
    padding-left: 20px;
    padding-right: 20px;
}

.title {
    line-height: 40px;
}

.pagination {
    /*ページネーション*/
    width: 536px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev,
.next {
    display: block;
    width: 118px;
    height: 49px;
    background-color: #B8901B;
    color: #000000;
    text-align: center;
    line-height: 49px;
}

.next {
    margin-left: 48px;
}

.prev {
    margin-right: 48px;
}

.pagination {
    padding-bottom: 50px;
}

.pagination .page-numbers {
    border-bottom: 1px solid transparent;
}

.pagination .page-numbers.current {
    text-decoration: none;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 2px;
}

.yearBtn {
    display: block;
    width: 111px;
    height: 49px;
    background-color: #B8901B;
    text-align: center;
    line-height: 49px;
    margin-left: 13px;
}

.yearBtn:first-child {
    margin-left: 0;
}

.yearFilter {
    display: flex;
    justify-content: right;
}

/* お知らせここまで */

/* 投稿ページ */
.articleDate {
    text-align: center;
}

.articleEyeCatch {
    padding: 50px;
}

.articleContent {
    padding: 20px;
}

/* 投稿ページここまで */


/* お問い合わせ */
.wpcf7-form-control-wrap>input,
.wpcf7-form-control-wrap>textarea {
    background-color: #ffffff;
    color: #000000;
}

.contactName>p,
.contactKana>p {
    display: flex;
}

.contactName>p>label>span>input,
.contactKana>p>label>span>input {
    width: 150px;
    height: 45px;
    margin: 10px 0 30px 40px;
}

.wpcf7-email,
.wpcf7-tel {
    width: 485px;
    height: 45px;
    margin: 10px 0 30px 40px;
}

.wpcf7-textarea {
    width: 1130px;
    height: 310px;
    margin: 10px 0 30px 40px;
    padding: 10px;
}

.wpcf7-form>p>span {
    width: 55px;
    height: 30px;
    background-color: #E6B422;
    padding: 4px;
    margin-left: 20px;
    border-radius: 5px;
    font-size: 16px;
    ;
}

.wpcf7-submit {
    width: 100%;
    text-align: center;
}

/* お問い合わせここまで */
/* フォントデザイン */
.font-larger {
    font-size: 1.3em;
}

.font-large {
    font-size: 1.4em;
}

.font-huge {
    font-size: 1.6em;
}

.font-gold {
    color: #E6B422;
}

.break-keep {
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.nowrap {
    white-space: nowrap;
}

.video {
    margin: 0 auto;
}

/* レスポンシブデザイン */
@media screen and (max-width: 1366px) {
    .article-box {
        width: 100%;
        height: auto;
    }

    .link-box__wrapper {
        justify-content: space-around;
    }

    .link-box__anchor {
        width: 30%;
        margin: 0 0;
    }

    .link-box__name {
        top: 10%;
        left: 10%;
    }

    .overview__definition--term {
        font-weight: 400;
        width: 140px;
    }

    .overview__definition--description1 {
        width: 190px;
    }

    #oil-function>.container {
        padding: 0 15px;
    }

    .oil-function__box {
        flex-direction: column;
    }

    .oil-function__box:nth-child(3) {
        flex-direction: column-reverse;
    }

    .oil-function__image {
        width: 70%;
    }

    .oil-function__text {
        width: 100%;
    }

    .wpcf7-textarea {
        width: 85%;
    }

    .contact__box {
        width: 90%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 1280px) {
    .article-box {
        letter-spacing: -.05em;
        line-height: 2.5em;
        padding: 15px;
    }

    /* 私たちが目指していること(concept.html) */
    .concept__box {
        background-position: 75% center;
    }

}

@media screen and (max-width: 980px) {
    header {
        background-color: transparent;
    }

    .header__body--pc {
        display: none;
    }

    .header__body--sp {
        display: block;
    }

    .no-scroll {
        overflow-y: hidden;
    }

    /* 肥後製油の歴史(history.html)*/
    .history__paragraph--left {
        left: 10vw;
    }

    .history__paragraph--right {
        left: 50vw;
    }

    .overview__table {
        flex-direction: column;
    }

    .overview__head,
    .overview__data {
        width: 100%;
    }

    .overview__head {
        border-right: none;
        background-color: rgb(255 255 255 / .6);
    }

    .article-box {
        position: static;
        margin-bottom: 50px;
    }

    .article-box>p {
        position: static;
        transform: none;
    }

    /* 植物油の機能(oil.html) */
    .oil-function__image {
        width: 70%;
    }

    .oil-function__text {
        line-height: 3.3em;
        font-size: 1.1rem;
    }

    .oil-function__box--left-text {
        flex-direction: column;
        margin-bottom: 200px;
    }

    .oil-function__box--right-text {
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 768px) {
    a.anchor {
        display: block;
        padding-top: 200px;
        margin-top: -200px;
    }

    .header__body--sp {
        height: 120px;
    }

    .header__top--sp {
        height: 120px;
        background-color: rgb(0, 0, 0, 0.6);
    }

    .header__logo--sp {
        height: 60px;
        aspect-ratio: auto;
        flex-direction: column;
    }

    .header__logo--sp-small {
        margin-top: 0;
        margin-left: 15px;
        width: 57px;
        height: auto;
    }

    .header__name--sp {
        width: 250px;
        margin-left: 17px;
    }

    .header__hamburger {
        top: -24px;
    }

    .header__nav-sp {
        height: calc(100vh - 120px);
        max-height: none;
        padding: 0px 40px 40px 40px;
        background-color: rgb(0, 0, 0, 0.6);
        transform: translateY(-130px - 100%);
        flex-direction: column;
    }

    .header__language--sp {
        display: block;
    }

    .header__language--sp2 {
        display: block;
    }

    .header__nav-sp--left {
        order: 1;
    }

    .header__nav-sp--center {
        position: static;
        order: 3;
        width: 70%;
        transform: none;
        margin: 20px auto;
    }

    .header__nav-sp--right {
        order: 2;
    }

    .header__nav-sp--left>ul>li {
        margin: 10px 0 10px 30px;
    }

    .header__nav-sp--right>ul>li {
        margin: 6px 0 6px 30px;
    }

    .header__method-list--sp>li {
        margin: 10px 0 10px 30px;
    }

    .header__plusoil-list--sp>li {
        margin: 6px 0 6px 30px;
    }

    .mainvisual {
        padding-top: 120px;
    }

    .slick-dots {
        display: none !important;
    }

    #boshu1>dl>dt,
    #boshu2>dl>dt {
        padding: 15px;
    }

    #boshu1>dl>dd,
    #boshu2>dl>dd {
        padding: 15px 15px 15px 30px;
    }

    /* 肥後製油の歴史(history.html)*/
    .history__box {
        margin-bottom: 90px;
    }

    .history__paragraph {
        padding: 10px;
        line-height: 25px;
    }

    .overview__definition--list {
        display: block;
    }

    .overview__definition--description {
        padding-left: 30px;
    }

    .overview__head,
    .overview__data {
        padding: 15px;
    }

    /* リンクセット */
    .link-box__wrapper {
        width: 100%;
        flex-direction: column;
        justify-content: center;
    }

    .link-box__anchor {
        width: 80%;
        margin: 15px auto;
    }

    /* 品質管理 */
    .jas-certification__content--is-image {
        flex-direction: column;
        padding: 0 15px;
        margin-bottom: 90px;
    }

    .jas-certification__content--is-image2 {
        flex-direction: column-reverse;
    }

    .jas-certification__content--jas-image {
        margin-bottom: 30px;
    }

    .jas-certification__content--paragraph1 {
        width: 100%;
    }

    .jas-certification__content--paragraph2 {
        width: 100%;
    }

    /* 商品詳細(product.html) */
    .product-lineup__main-content {
        padding: 0 40px;
    }

    .product-lineup__indivisual {
        flex-direction: column;
        padding-left: 0;
    }

    .product-lineup__product-name {
        display: none;
    }

    .product-lineup__text {
        width: 100%;
        line-height: 2.6em;
        padding: 0 40px;
    }

    .contactName>p>label>span>input,
    .contactKana>p>label>span>input {
        width: 100px;
    }

    .wpcf7-email,
    .wpcf7-tel {
        width: 300px;
    }
}




/*トップレスポンシブ*/
@media screen and (max-width: 1740px) {
    .topTxt {
        padding-top: 40px;
    }

    .topTxt p {
        margin: 0;
        padding: 5px 0 5px 80px;
    }
}

@media screen and (max-width: 1536px) {
    .products img {
        max-width: 320px;
        max-height: 320px;
    }

    .yearFilter {
        justify-content: center;
    }

    .informationContents {
        grid-template-columns: 320px 320px 320px;
        width: 1000px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 1366px) {

    html,
    body {
        font-size: 16px;
    }

    .container {
        width: 100%;
    }

    header>.container {
        padding: 0 15px;
    }

    .language {
        right: 20px;
    }

    .products img {
        max-width: 300px;
        max-height: 300px;
    }

    .footerLogo {
        width: calc(100vw);
    }

    footer .pcFlex>div {
        padding: 0 15px;
    }

    footer .pcFlex>div>ul {
        width: 320px;
    }

    footer .pcFlex>div>ul>li {
        padding-left: 0px;
    }

    #news>.container>dl {
        max-width: 700px;
        padding: 0 20px;
    }

    #news>.container>dl>dt {
        width: 140px;
    }

    #news>.container>dl>dd {
        width: calc(100% - 140px);
    }

    .btn {
        font-size: 20px;
    }

    .topTxt>div>p {
        line-height: 30px;
    }

    .banner {
        width: 100%;
        height: auto;
    }

    .footerLogo {
        width: 80%;
        height: auto;
        object-fit: contain;
    }

    .footerName {
        width: 100%;
        object-fit: contain;
    }

    .recruitMain {
        height: auto;
    }

    .recruitBtns>a {
        display: block;
        width: 45%;
    }

    .recruitBtn {
        width: 100%;
    }

    #boshu1,
    #boshu2 {
        padding: 0 20px;
    }
}

@media screen and (max-width: 1280px) {
    .products img {
        max-width: 250px;
        max-height: 250px;
    }

    .topTxt {
        padding: 0 16px 0 40px;
    }

    .topTxt div p {
        padding: 10px 20px 10px 40px;
        line-height: 1.6em;
    }

    .topTxt .btn {
        margin: 24px auto 0 auto;
    }

    #topHistory .topTxt {
        right: 0%;
    }

    #concept .topTxt {
        left: 0%;
    }

    #method .topTxt {
        right: 0%;
    }

    #jas .topTxt {
        left: 0%;
    }

    .topTxt>.btn {
        position: absolute;
        top: 50%;
    }

    #topHistory .topTxt .btn {
        right: 150%;
        transform: translate(50%, -50%) translateY(-20px);
    }

    #concept .topTxt .btn {
        left: 150%;
        transform: translate(-50%, -50%) translateY(-20px);
    }

    #method .topTxt .btn {
        right: 150%;
        transform: translate(50%, -50%) translateY(-20px);
    }

    #jas .topTxt .btn {
        left: 150%;
        transform: translate(-50%, -50%) translateY(-20px);
    }


    .btn {
        font-size: 20px;
        width: 180px;
        height: 65px;
        line-height: 65px;
    }

}

@media screen and (max-width: 980px) {
    header>.container {
        padding: 0;
    }

    .header__body--pc {
        display: none;
    }

    .slick-dots {
        bottom: 25px;
    }

    .products img {
        max-width: 90%;
        max-height: 90%;
    }

    .topImageR {
        width: 200vw;
        transform: translateX(0);
    }

    .topImageL {
        width: 200vw;
        transform: translateX(-50%);
    }

    .topTxt {
        top: 50%;
        padding: 0;
        width: 100%;
        max-width: none;
        text-align: center;
        transform: none;
        transform: translateY(-50%);
    }

    #topHistory .topTxt {
        left: 0;
        right: 0;
    }

    #concept .topTxt {
        left: 0;
        right: 0;
    }

    #method .topTxt {
        left: 0;
        right: 0;
    }

    #jas .topTxt {
        left: 0;
        right: 0;
    }

    .topTxt div {
        display: inline-block;
        padding: 0;
    }

    .topTxt div p {
        padding: 0;
    }

    #topHistory,
    #concept,
    #method,
    #jas {
        margin: 60px 0;
    }

    .topTxt>.btn {
        position: static;
        top: 0;
    }

    #topHistory .topTxt .btn {
        right: 0%;
        transform: none;
    }

    #concept .topTxt .btn {
        left: 0%;
        transform: none;
    }

    #method .topTxt .btn {
        right: 0%;
        transform: none;
    }

    #jas .topTxt .btn {
        left: 0%;
        transform: none;
    }

    .topFadeIn {
        opacity: 0;
    }

    .topFadeIn.animated {
        animation: fadeup 1.2s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    }

    footer {
        display: none;
    }

    .topImageR:hover {
        transform: none;
    }

    .topImageL:hover {
        transform: none;
    }

    .top-section {
        margin-top: 100px;
    }

    /* ここから求人情報 */
    .recruitMain div {
        position: static;
    }

    .recruitMain div p {
        margin-bottom: 50px;
    }

    .recruitBtn>p:first-child {
        font-size: 26px;
    }

    .recruitBtn p:nth-child(2) {
        font-size: 26px;
    }

    #boshu1>dl,
    #boshu2>dl {
        flex-direction: column;
    }

    #boshu1>dl>dt,
    #boshu2>dl>dt {
        border-right: none;
        background-color: rgb(255 255 255 / .6);
        width: 100%;
    }

    #boshu1>dl>dd,
    #boshu2>dl>dd {
        width: 100%;
    }

    /* ここまで求人情報 */

    /* ここから製造工程 */

    .methodImage {
        grid-template-columns: 50% 50%;
        padding: 0 30px;
    }

    .informationContents {
        grid-template-columns: 320px 320px;
        width: 660px;
        margin: 0 auto;
    }

}

@media screen and (max-width: 768px) {
    h4:before {
        width: 25%;
    }

    h4:after {
        width: 25%;
    }

    html,
    body {
        font-size: 14px;
    }

    .top-section {
        margin-top: 150px;
    }

    .slick-dots li button {
        transform: translateY(2px);
    }

    #news>.container>dl>dt {
        width: 110px;
    }

    #news>.container>dl>dd {
        width: calc(100% - 110px);
    }

    .topTxt p {
        line-height: 30px;
    }

    .btn {
        height: 43px;
        width: 120px;
        line-height: 40px;
        font-size: 14px;
    }

    .recruitBtns {
        flex-direction: column;
        width: 100%;
    }

    .recruitBtns>a {
        display: block;
        width: 100%;
        margin-bottom: 30px;
    }

    /* ここまで求人情報 */

    /* ここから製造工程 */

    .methodImage {
        grid-template-columns: 100%;
    }

    .methodImage>div>img {
        width: 70%;
        aspect-ratio: 1;
    }

    .methodImage>div>p {
        margin-bottom: 30px;
    }

    .methodImageItem::before {
        content: "";
        display: block;
        position: absolute;
        width: 0;
        height: 0;
        border-style: solid;
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-top: 40px solid #ffffff;
        border-bottom: 0;
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* ここまで製造工程 */

    .informationContents {
        grid-template-columns: 320px;
        width: 320px;
        margin: 0 auto;
    }

    .yearBtn {
        width: 100px;
    }
}


@media screen and (max-width: 375px) {
    .slick-dots {
        background-color: transparent;
        bottom: 7px;
    }

}