@charset "UTF-8";

/* ===========================================
* 共通部分
* ======================================== */

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: inherit;
}

html {
    font-size: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    font-family: "Montserrat", "Helvetica Neue", Arial, "Noto Sans JP",
        "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: 500;
    line-height: 1.7;
    color: #333;
    font-feature-settings: "palt";
    letter-spacing: .02em;
    overflow-x: hidden;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
}

img {
    max-width: 100%;
}

.wrapper {
    max-width: 100vw;
    position: relative;
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.kaigyo {
    display: inline-block;
}

/* ===========================================
* ヘッダー
* ======================================== */

header {
    width: 100%;
    height: max(50px, 5vw);
    background: #3aaf3a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    z-index: 99;
}

.header-logo a {
    color: #fff;
}

.header-nav {
    font-size: 1.2rem;

    ul {
        display: flex;
        gap: 2em;
    }

    a {
        color: #fff;
        font-weight: bold;
        letter-spacing: .1em;
        transition: .3s;
    }

    a:last-of-type li {
        color: #e3e936;
    }

    a:hover {
        color: #e3e936;
    }

}

/* ===========================================
* ハンバーガーメニュー
* ======================================== */

.sp-menu {
    display: none;
}

.sp-menu #open {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

.sp-menu #open.hide {
    visibility: hidden;
}

.overlay {
    position: fixed;
    top: max(50px, 5vw);
    bottom: 0;
    right: -120%;
    width: 500px;
    background: #3aaf3a;
    text-align: center;
    opacity: 0;
    transition: all .6s;
}

#close {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    visibility: hidden;
}

#close.show {
    opacity: 1;
    visibility: visible;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
    right: 0;
}

#overlay-nav {
    margin-top: 20%;
}

.overlay ul {
    list-style: none;
    overflow-y: auto;
}

#overlay-nav li {
    border-bottom: 1px #fff solid;
    padding: 1.5em;
    margin: 0 2em;
}

#overlay-nav a:last-of-type li {
    border: none;
    color: #e3e936;
}

#overlay-nav a {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: .1em;
    color: #fff;

    &.top {
        display: inline-block;
        margin-top: 50px;
    }
}

/* ===========================================
* フェードアップ(初期値)
* ======================================== */

.js-fadeup {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s, transform .8s;
}

/* ===========================================
* フェードアップ(スクロールした後)
* ======================================== */

.js-fadeup.is-inview {
    opacity: 1;
    transform: translateY(0);
    direction: .5s;
}

/* ===========================================
* メインビジュアル
* ======================================== */

.main-visual {
    background: rgb(58, 175, 58);
    background: linear-gradient(180deg, rgba(58, 175, 58, 1) 60%, rgba(153, 255, 153, 1) 100%);
    height: 34.2vw;
    position: relative;
}

.corner {
    display: block;
    width: 80px;
    height: 80px;
    position: absolute;
    left: 0px;
    bottom: 0px;
    transform: translateX(-100%);
    z-index: -1;
}

.corner::before {
    display: block;
    width: 200%;
    height: 200%;
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;

    content: '';
    background: transparent;
    border-radius: 50%;
    box-shadow: 80px 80px 0 0 white;
    transform: translate(-50%, -50%);
}

.main-visual-img {
    background: #fff;
    width: 50%;
    position: absolute;
    right: 0;
    bottom: 0;
    padding-top: 3%;
    border-radius: 80px 0 0 0;
    z-index: 1;

    img {
        vertical-align: bottom;
        display: inline-block;
        margin-bottom: -2.5%;
    }
}

.main-visual-txt {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-100%, -40%);
    padding-right: 5%;
    color: #fff;
    font-weight: bold;

    p {
        font-size: clamp(1rem, 1.77vw, 1.6rem);
    }

    p span {
        color: #e3e936;
        font-size: clamp(1rem, 2.55vw, 2.3rem);
        display: inline-block;
        margin-right: .15em;
    }

    p:last-of-type {
        margin-top: 1.3em;
    }

    h1 {
        font-size: clamp(1rem, 5vw, 4.5rem);
        line-height: 1;
    }
}

/* ===========================================
* tips
* ======================================== */

#tips {
    text-align: center;
    margin-top: 80px;
}

.tips-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2em 5%;
    margin-bottom: 3.5em;
}

.tips-img {
    width: 25%;
}

.tips-txt {
    color: #3aaf3a;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: .02em;

    &:first-of-type span:first-of-type {
        font-size: 1.5rem;
        background: linear-gradient(transparent 40%, #edf5ed 40%, #edf5ed 85%, transparent 85%);
        display: inline-block;
    }

    a {
        color: #3aaf3a;
        text-decoration: underline;

        &:hover {
            text-decoration: none;
        }
    }
}

.tips-txt:last-child {
    font-size: 1rem;
}

/* ===========================================
* intro
* ======================================== */

.intro-contaner {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    padding-top: max(4rem, 3vw);
    padding-bottom: max(4rem, 3vw);
}

/* .intro-wrap:nth-child(2) {
    background: #edf5ed;
    position: relative;
    z-index: -1;

    .intro-contaner {
        flex-direction: row-reverse;
    }
} */

.intro-contaner-item {
    width: calc(50% - 1em);
    display: grid;
    place-content: center;

    h2 {
        font-size: 1.5em;
        margin-bottom: 1em;
        width: fit-content;
        position: relative;
    }

    h2::before {
        content: "";
        position: absolute;
        background: #3aaf3a;
        width: 107%;
        height: .4em;
        bottom: 17%;
        /* margin-left: -3.5%; */
        left: 50%;
        transform: translateX(-50%);
        opacity: .5;
        z-index: -1;
    }

    p {
        text-align: justify;
    }
}

/* ===========================================
* 導入事例
* ======================================== */

#example {
    background: #fff;
    padding: max(2rem, 4vw) 0 2rem;

    h2 {
        font-size: clamp(1rem, 3vw, 1.3rem);
        color: #3aaf3a;
        text-align: center;
        width: fit-content;
        margin: 0 auto;
        position: relative;
    }
}

.slash::before,
.slash::after {
    content: "";
    position: absolute;
    background: #3aaf3a;
    width: 3px;
    height: 2em;
    top: 0;
}

.slash::before {
    transform: rotate(-35deg);
    left: -1.5em;
}

.slash::after {
    transform: rotate(35deg);
    right: -1.5em;
}

/*==================== スライド ====================*/

.example-slide-wrap {
    display: flex;
    align-items: center;
    height: 300px;
    overflow: hidden;
}

.example-slide {
    display: flex;
}

.slide-item {
    width: 300px;
    height: auto;
    aspect-ratio: 4 / 3;
    position: relative;
    background-size: cover;
}

.slide-item::before {
    background-color: #fff;
    width: 100%;
    height: 2em;
    position: absolute;
    bottom: -2em;
    text-align: center;
}

.slide-item:nth-child(1) {
    background-image: url(../img/example/ウエストジャパンエナジー様.webp);
}

.slide-item:nth-child(1)::before {
    content: "ウエストジャパンエナジー様";
}

.slide-item:nth-child(2) {
    background-image: url(../img/example/尼宝物流協同組合様.webp);
}

.slide-item:nth-child(2)::before {
    content: "尼宝物流協同組合様";
}

.slide-item:nth-child(3) {
    background-image: url(../img/example/\(有\)西播石油様.jpeg);
}

.slide-item:nth-child(3)::before {
    content: "西播石油様";
}

.slide-item:nth-child(4) {
    background-image: url(../img/example/木谷石油\(株\)様.webp);
}

.slide-item:nth-child(4)::before {
    content: "木谷石油(株)様";
}

.slide-item:nth-child(5) {
    background-image: url(../img/example/大宝石油\(株\)様.webp);
}

.slide-item:nth-child(5)::before {
    content: "大宝石油(株)様";
}

.slide-item:nth-child(6) {
    background-image: url(../img/example/吉宮石油\(株\)様.jpg);
}

.slide-item:nth-child(6)::before {
    content: "吉宮石油(株)様";
}

.slide-item:nth-child(7) {
    background-image: url(../img/example/松村石油\(有\)様.webp);
}

.slide-item:nth-child(7)::before {
    content: "松村石油(有)様";
}

.slide-item:nth-child(8) {
    background-image: url(../img/example/\(株\)岡野石油様.jpeg);
}

.slide-item:nth-child(8)::before {
    content: "(株)岡野石油様";
}

.slide-item:nth-child(9) {
    background-image: url(../img/example/奥田産業\(株\)様.jpeg);
}

.slide-item:nth-child(9)::before {
    content: "奥田産業(株)様";
}

.slide-item:nth-child(10) {
    background-image: url(../img/example/\(有\)北川石油様.jpeg);
}

.slide-item:nth-child(10)::before {
    content: "(有)北川石油様";
}

.slide-item:nth-child(11) {
    background-image: url(../img/example/大国石油\(株\)様.jpeg);
}

.slide-item:nth-child(11)::before {
    content: "大国石油(株)様";
}

.slide-item:nth-child(12) {
    background-image: url(../img/example/不二オイルサービス\(株\)様.png);
}

.slide-item:nth-child(12)::before {
    content: "不二オイルサービス(株)様";
}

.example-slide {
    display: flex;
    animation: loop-slide 75s infinite linear 1s both;
}

@keyframes loop-slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* ===========================================
* 機能
* ======================================== */

#function {
    background: #edf5ed;
    padding: max(3em, 6vw) 0 max(4em, 7vw);
    position: relative;
}

#function::before {
    content: "";
    background: #edf5ed;
    width: 120px;
    height: 120px;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}

.sec-ttl {
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 2.3rem);
    letter-spacing: .03em;
    margin-bottom: 1.2em;
}

.function-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3em;
}

.function-container-item {
    width: calc(50% - 1.5em);
    background: #fff;
    border: 1px rgba(51, 51, 51, .3) solid;
    border-radius: 12px;
    display: flex;
    padding: 3em 1.5em 3em 1em;
    gap: 2em;

    h3 {
        color: #3aaf3a;
        letter-spacing: .025em;
    }
}

.function-container-item-img {
    display: block;
    width: 25%;
    position: relative;
    z-index: 1;

    img {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.function-container-item-img::before {
    content: "";
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    background: #edf5ed;
    border-radius: 999px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

.function-container-item-txt {
    width: 75%;

    p {
        margin-top: .6em;
    }
}

/* ===========================================
* 選ばれる理由
* ======================================== */

#reason {
    padding: max(4em, 7vw) 0;
    position: relative;

    h2 {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.9em;
        position: relative;
        z-index: 1;
    }

    h2::before {
        content: "";
        position: absolute;
        background: #65db65;
        width: 104%;
        height: .45em;
        bottom: 21%;
        left: 50%;
        transform: translateX(-50%);
        opacity: .5;
        z-index: -1;
    }

    h2 span {
        font-size: 1.5em;
        color: #3aaf3a;
        margin: 0 .2em;
        vertical-align: -.02em;
    }
}

.reason-contaiter {
    display: flex;
    flex-wrap: wrap;
    gap: max(3em, 4vw) 0;
}

.reason-contaiter-item {
    width: 50%;
    padding: 1em 1.5em 0;
    position: relative;

    h3 {
        margin-left: 4.2em;
        width: fit-content;
        font-size: 1.3rem;
        position: relative;
    }

    h3::before {
        content: attr(number);
        font-size: 2.5rem;
        font-weight: 500;
        color: #3aaf3a;
        position: absolute;
        left: -1.9em;
        top: -17px;
    }

    p {
        text-align: justify;

        span {
            background: linear-gradient(transparent 40%, rgba(58, 175, 58, .25) 40%);
        }
    }
}

.reason-contaiter-item:nth-child(1),
.reason-contaiter-item:nth-child(3) {
    border-right: rgba(51, 51, 51, .3) 1px solid;
}

.reason-contaiter-item:nth-child(4) .reason-contaiter-item-img {
    height: calc(268px - 2.3rem);
}

.reason-contaiter-item-img {
    margin: 0 auto;
    height: 268px;
    display: grid;
    place-content: center;

    img {
        display: block;
    }
}

/* ===========================================
* システム構成図
* ======================================== */

#system-diagram {
    padding-bottom: max(4em, 7vw);

    & img {
        display: block;
        margin: 0 auto;
    }
}

/* ===========================================
* 導入事例コメント
* ======================================== */

#example-comment {
    background: #edf5ed;
    padding: max(3em, 4vw) 0;

    h2 {
        color: #3aaf3a;
    }
}

.slider-item {
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.slider-comment {
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.slider-comment-txt {
    text-align: justify;
    letter-spacing: .025em;
    margin-bottom: 1em;
}

.slider-comment-name {
    text-align: right;
    margin-top: auto;
}

/*==================== スライド ====================*/

.slider {
    width: 90%;
    margin: 0 auto;
}

.slider img {
    width: 100%;
    height: auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
    margin: 0 10px;
}

/*スライドの高さを揃える*/

.slick-track {
    display: flex;
}

.slick-slide {
    height: auto;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
    position: absolute;
    top: 42%;
    cursor: pointer;
    outline: none;
    border-top: 4px solid #3aaf3a;
    border-right: 4px solid #3aaf3a;
    height: 20px;
    width: 20px;
}

.slick-prev {
    /*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {
    /*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align: center;
    margin: 30px 0 0 0;
}

.slick-dots li {
    display: inline-block;
    margin: 0 10px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width: 12px;
    /*ドットボタンのサイズ*/
    height: 12px;
    /*ドットボタンのサイズ*/
    display: block;
    border-radius: 50%;
    background: #3aaf3a;
    /*ドットボタンの色*/
    opacity: 30%;
}

.slick-dots .slick-active button {
    background: #3aaf3a;
    /*ドットボタンの現在地表示の色*/
    opacity: 100%;
}

/* ===========================================
* お問い合わせ
* ======================================== */

#contact {
    background: #e3e936;
    padding: max(3em, 4vw) 1em;
}

.contact-container {
    display: flex;
    gap: 3em 10vw;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-container-item {
    color: #3aaf3a;
    border-radius: 8px;
    text-align: center;
    width: max(350px, 22%);

    h3 {
        width: fit-content;
        margin: 0 auto;
        font-size: 1.1rem;
        position: relative;
        z-index: 1;
    }
}

.contact-container-item:nth-child(1) {
    display: flex;
    flex-direction: column;
}

.contact-container-item:nth-child(2) {
    color: #3aaf3a;
    background: #fff;
    padding: 1rem 0;
    border-radius: 8px;
    text-align: center;
}

.contact-container-item:first-child h3 {
    margin-bottom: .5em;
    padding: .6em 1.2em;
    background: #fff;
    border-radius: 99px 99px 99px 0;
}

.contact-container-item .tel {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: bold;
    letter-spacing: .08em;

    a {
        color: #3aaf3a;
        pointer-events: none;
    }

    span {
        display: block;
        font-size: 1rem;
        letter-spacing: .03em;
    }
}

.contact-container-item .contact-button {
    display: block;
    width: 100%;
    padding: 1.2em 0;
    color: #fff;
    background: #3aaf3a;
    border-radius: 8px;
    font-size: 1.3em;
    font-weight: bold;
    position: relative;
    margin-top: auto;
    transition: .3s;

    &:hover {
        background: #5bbb39;
    }
}

.send,
.call {
    vertical-align: -.25em;
    margin-right: .3em;
}

.open_in_new {
    font-size: .7em !important;
    vertical-align: .2em;
    margin-left: .1em;
}

/* ===========================================
* フッター
* ======================================== */

footer {
    background: #3aaf3a;

    h2 {
        font-size: 1.2em;
        margin-bottom: 1em;
    }
}

.footer-sunshou img {
    vertical-align: -.45em;
    display: inline-block;
    margin-right: .5em;
}

.footer-logo {
    font-size: 2.2rem;
    margin-left: calc(40px + .23em);
}

.footer-container {
    display: flex;
    gap: max(2em, 8vw) max(2em, 12vw);
    flex-wrap: wrap;
    color: #fff;
    padding: max(2em, 4vw);
    width: fit-content;
    margin: 0 auto;

    a {
        color: #fff;
        transition: .3s;
    }

    a:hover {
        opacity: .8;
    }
}

.footer-nav {
    display: flex;
    gap: max(2em, 8vw);
    flex-wrap: wrap;
    margin-left: calc(40px + .65em);
    letter-spacing: .04em;
}

.footer-nav ul:first-of-type {
    font-size: 1.1rem;
}

.footer-nav li {
    margin-bottom: 1em;
}

.footer-nav ul:first-of-type li:last-child {
    border-top: 1px #fff solid;
    padding-top: 1em;
}

footer address {
    color: #fff;
    font-style: normal;
    text-align: center;
    padding-bottom: 1em;
}

/* ===========================================
* レスポンシブ
* ======================================== */

@media (width <1200px) {
    .sp-menu {
        display: block;
    }

    .pc-menu {
        display: none;
    }
}

@media (width <=768px) {
    .inner {
        padding-left: 2em;
        padding-right: 2em;
    }

    .main-visual {
        height: 400px;
    }

    .corner,
    .corner::before {
        display: none;
    }

    .main-visual-img {
        background-color: transparent;
        width: max(350px, 65%);
        margin-bottom: -3%;
    }

    .main-visual-txt {
        left: 5%;
        top: 80px;
        transform: none;

        h1 {
            font-size: clamp(1.8rem, 5vw, 4.5rem);
        }
    }

    .overlay {
        width: 100vw;
    }

    .tips-img {
        width: 30%;
    }

    .intro-contaner-item {
        width: 100%;
    }

    .reason-contaiter-item {
        width: 50%;
    }

    .reason-contaiter-item:nth-child(2),
    .reason-contaiter-item:nth-child(4) {
        border: none;
    }

    .reason-contaiter-item:nth-child(1),
    .reason-contaiter-item:nth-child(3),
    .reason-contaiter-item:nth-child(5) {
        border-right: rgba(51, 51, 51, .3) 1px solid;
    }

    .function-container-item {
        width: 100%;
    }

    #function::before {
        width: 70px;
        height: 70px;
        bottom: -35px;
    }
}

@media (width <=700px) {
    .reason-contaiter-item {
        width: 100%;
    }

    .reason-contaiter-item:nth-child(1),
    .reason-contaiter-item:nth-child(3),
    .reason-contaiter-item:nth-child(5) {
        border: none;
    }

    .tips-wrap-item {
        width: 40%;
    }
}

@media (width <=500px) {
    .tips-txt:last-child {
        font-size: .85rem;
        margin-top: .5em;
    }

    .tips-img {
        width: 60%;
    }

    #example h2 {
        width: 65%;
    }

    #reason .sec-ttl {
        font-size: 1.15rem;
    }

    .reason-contaiter-item {
        padding: 1em 0 0;
    }

    .tel {
        a {
            pointer-events: auto !important;
        }
    }
}