/*
Theme Name: Otsuki Hamono
Theme URI:
Description: 大月刃物店のホームページです
version: 1.0
Author: Tego llc.
*/

/*
大月刃物工場CSSルール
*/

/* メディアクエリ用の横幅 */
/* smartphone: 350px; */
/* tablet: 750px; */
/* PC: 1300px; */


/* 全体に対する設定 */
:root {
    /*フォントの色*/
    --black: black; /*黒*/
    --white: white; /*白*/
    --grey: #616161; /*グレー*/
    --yellow: #FFD895; /*黄色*/
    --red: #9E1C1C; /*赤*/
    --right_yellow: #fff1d8; /*ライトイエロー*/

    /*背景の色*/
    --bg-color-right: #EBEBEB; /*明るいグレー*/
    --bg-color-mid: #CBCBCB; /*まあまあ暗いグレー*/
    --bg-color-dark: #747474; /*暗いグレー*/
    --bg-color-verydark: #302D2A; /*最もくらいグレー*/

    /*フォント*/
    /* 薄い100　ライト300　ミディアム500　ブラック900*/
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: clamp(20px, 1vw, 25px);

    /* PC,タブレット用フォントメディアクエリ */
    font-size: clamp(15px, 1vw, 17px);
}

/* 共通モジュール */
h1 {
    font-size: clamp(20px, 1vw, 24px);
}

h2 {
    font-size: clamp(16px, 1vw, 20px);   
}

/* 見出しのCSS */
.el_title {
    font-size: 2em;
    font-weight: 700;
    color: var(--grey);
}

/* 見出しのCSS */
.el_sub_title {
    font-size: 1.5em;
    font-weight: 500;
    color: white;
}

/* 写真に乗せる巨大ロゴ */
.el_large_logo {
    font-weight: 900;
    font-size: clamp(50px, 1vw, 70px); 
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.7);
}

@media screen and (min-width:750px) {
    .el_large_logo {
        font-weight: 900;
        font-size: 5em;   
    }
}

/* 基本のパディング */
.ly_base_padding {
    padding: 4em 3em;
}

/* 基本のテキストフォーマット */
.el_text_format {
    line-height: 1.7em;
}

/* 文字を囲ったdivの上側にライン */
.el_topline {
    border-top: 2px solid var(--grey);
    box-sizing: border-box;
    padding: .5em 1em;
    text-align: center;
    display: inline-block;
}

/* 詳細へのリンク */
.el_detail_in {
    font-size: 80%;
    margin-top: 50px;
}

/* fontの色 */
.yellow {
    color: var(--yellow);
} 

.grey {
    color: var(--grey) !important;
}

.white {
    color: white !important;
}

.black {
    color: black !important;
}

/* インプットが間違っていると赤ライン */
input:invalid {
    border: 1px solid var(--red);
}

/* ------------------------------------------ */
/* サークルに入った矢印のアイコン */
.el_arrow_icon::after {
    content: "";
    background-image: url(../images/arrow_icon.svg);
    background-repeat: no-repeat;
    display: inline-block;
    height: 1em;
    width: 1em;
    vertical-align: middle;
    margin-left: 3px;
}

.el_arrow_icon:hover::after {
    background-image: url(../images/arrow_icon_red.svg);
}

/* 数字を入れる丸いアイコン */
.el_circle_icon {
    width: 2.5em;
    height: 2.5em;
    background-color: var(--bg-color-dark);
    border: 4px solid var(--bg-color-mid);
    border-radius: 50%;
    font-weight: 900;
    line-height: 2em;
    text-align: center;
    color: white;
}

/* 税込みマークを入れる */
.el_item_price::after {
    content: "円（税込）";
    font-size: 0.7em;
}

/* ------------------------------------------ */
/* リンク系モジュール */

/* リンクのアンダーラインの動き */
.el_underline {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.el_underline::after {
    position: absolute;
    bottom: -5px;
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background-color: white;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform .3s;
}

.el_underline:hover::after {
    transform: scale(1, 1);
}

/*　リンクホバーすると色が変わって下線が出る*/
.el_link a:hover {
    border-bottom: 1px solid var(--bg-color-dark);
    opacity: 0.8;
}

/* ホバーで下にドロップシャドウ */
.el_boxshadow:hover {
    box-shadow: 0 0 5px rgba(97, 97, 97, 0.8);
}

/* ホバーしたら写真が拡大するアニメーション */
.el_photoscale {
    position: relative;
    overflow: hidden;
}

.el_photoscale::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background-size: cover;
    transition: all .3s ease-out;
}

.el_photoscale:hover::after {
    opacity: .8;
    transform: scale(1.1);
}

.el_position {
    position: relative;
    z-index: 1;
}

/* ------------------------------------------ */
/* 記事が入る写真にかかる白い枠スマホ用 */
.el_article_wrapper {
    background-color: white;
    padding: 20px;
    width: 100%;
}

/* 写真の下にはいる説明文の白い枠 */
.el_desc_wrapper {
    background-color: white;
    padding: 10px;
    height: 100px;
}

/* 枠内のフォント */
.el_desc {
    line-height: 1.5em;
}

/* PCタブレット用メディアクエリ */
@media screen and (min-width: 750px) {
    /* 記事が入る写真にかかる白い枠 */
    .el_article_wrapper {
        background-color: white;
        padding: 30px;
        width: 60%;
        transform: translateY(-60px);
    } 

    /* 写真の下にはいる説明文の白い枠 */
    .el_desc_wrapper {
    background-color: white;
    padding: 10px;
    height: 40%;
    }

}

/* ------------------------------------------ */
/* ボタンのCSS */
.el_btn {
    color: var(--red);
    font-weight: 500;
    font-size: 1.2em;
    padding: 15px 30px;
    border-radius: 4px;
    user-select: none;
    background-color: white;
    border: 1px solid var(--red);

    transition: all .3s;
}

.el_btn:hover {
    background-color: var(--red);
    color: white;
}

.submit {
    width: 300px;
    text-align: center;
    margin: 0 auto;
}

.icon_cart {
    position: relative;
    z-index: 10;
    user-select: none;
}

/* 85pxのスペースを作るためのクラス */
.margin_bottom_85px {
    margin-bottom: 85px;
}

/* 左側に10pxのスペースを作るためのクラス */
.padding_right {
    padding-left: 10px;
}

/*25PXのスペースを作るためのクラス*/
.el_space25px {
    height: 25px;
    width: 1px
}

/* メディアクエリパソコン、タブレット用 */
@media screen and (min-width: 750px) {
    /* カートアイコンのサイズPC用 */
    .icon_cart {
        width: 17px;
    }
}

/* =========================================== */
/* フェードインアニメーション用のCSS */
.animation {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 1s, visibility 1s, transform 1s;
    transition-delay: 0.3s;
}

.is_fadein {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================================== */
/* ヘッダー */
.ly_header {
    width: 100%;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    /* PC,タブレットメニュー用フォントメディアクエリ */
    font-size: clamp(13px, 1vw, 16px);    
    background-color: var(--red);
}

.ly_header_inner {
    margin: 0 auto;
    height: 50px;
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1330px;
}

.el_header_logo div {
    width: 100%;
    height: 100%;
    background-image: url(../images/logo_small.svg);
    background-repeat: no-repeat;
}

.el_header_logo {
    width: 40px;
    margin-left: 20px;
    margin-top: 12px;
    opacity: 1;
}

.el_header_logo.is_scroll {
    opacity: 1;
    pointer-events: auto;
}

.ly_header_right {
    display: flex;
    position: relative;
}

/* PCタブレット用メディアクエリ */
@media screen and (min-width: 750px) {

    .ly_header_inner {
        height: 130px;
        padding-top: 30px;
        background-color: rgba(0, 0, 0, 0);
        transition: 0.4s ease;
    
        opacity: 0;
        animation: fadein 2s 1s forwards;
    }

    /*ヘッダーにカーソルが乗ったときPC版*/
    .ly_header_inner:hover {
        background-color: var(--red);
    }

    .ly_header_inner.is_scroll {
        height: 90px;
        background-color: var(--red);
        padding-top: 0;
    }

    .el_header_logo {
        width: 224px;
        height: 34px;
        margin-left: 32px;
        margin-top: 28px;
        opacity: 0;
        pointer-events: none;
    }
    
    .el_header_logo div {
        background-image: url(../images/logo_middle.svg);
    }

    /* ヘッダー右側PC用 */
    .ly_header_right {
        padding-right: 32px;
        display: block;
        box-sizing: border-box;
    }
}



/* ============================ */
/* ハンバーガーナビゲーション */
.el_hambergernavi,
.el_hambergerline {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
}

.el_hambergernavi {
    width: 50px;
    height: 50px;
    background-color: var(--red);
    position: relative;
    cursor: pointer;
}

.el_hambergerline {
    position: absolute;
    left: 10px;
    width: 29px;
    height: 3px;
    background-color: white;
    border-radius: 4px;
}

.el_hambergerline:nth-of-type(1) {
    top: 12px;
}

.el_hambergerline:nth-of-type(2) {
    top: 23px;
}

.el_hambergerline:nth-of-type(3) {
    bottom: 12px;
}

/* クリックしたときのアニメーション */
.el_hambergernavi.is_active .el_hambergerline:nth-of-type(1) {
    top: 12px;
    transform: translateY(11px) rotate(-315deg) scale(.8);
}

.el_hambergernavi.is_active .el_hambergerline:nth-of-type(2) {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 50%;
    top: 5px;
    left: 5px;
}

.el_hambergernavi.is_active .el_hambergerline:nth-of-type(3) {
    bottom: 12px;
    transform: translateY(-11px) rotate(315deg) scale(.8);
}

/* ショップボタンスマホ用 */
.bl_shop_btn {
    display: flex;
    justify-content: flex-end;
}

.el_shop_btn {
    width: 50px;
    height: 50px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-align: center;
    background-color: white;
}

.el_shop_icon {
    display: block;
    transform: scale(0.6);
    margin-left: 0px;
}

/*スマホ用ボタン「オンラインショップ」の文字を消す*/
.el_shop_text {
    display: none;
}

/* ============================ */
/* グローバルナビゲーション */

/* グローバルナビゲーションスマホ用隠れてるとき */
.bl_globalnav {
    display: none;
}

.bl_globalnav_inner {
	display: none;
    position: absolute;
    top: 50px;
    right: 0;
    width: 80vw;
    height: 100vh;
    background-color: white;
    transition: transform .3s, opacity .3s;
    transform: translateX(80vw);
    user-select: none;
    opacity: 0;
    pointer-events: none;
}

.bl_globalnav_inner ul {
    text-align: center;
    margin-top: 2em;
}

.bl_globalnav_inner li {
    border-bottom: 1px solid var(--bg-color-mid);
    line-height: 4em;
    margin-left: 10px;
    box-sizing: border-box;
}

.bl_globalnav_inner li:first-child {
    border-top: 1px solid var(--bg-color-mid);
}

/* グローバルナビゲーションスマホ用表示されてるとき */
.is_active_menu {
	display: block !important;
    transform: translateX(0px);
    opacity: 1;
    pointer-events: auto;
}

/* ナビゲーションPC・タブレット用メディアクエリ */
@media screen and (min-width: 750px) {

    .el_hambergernavi {
        display: none;
    }

    /* ショップボタンPC用 */
    .el_shop_btn {
        width: 250px;
        height: 40px;
        text-align: center;
        display: flex;
        justify-content: center;
        background-color: rgba(97, 97, 97, 0);
    }

    .el_shop_btn::after {
        content: "";
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -2;
        background-color: white; 
        user-select: none;
    }

    .el_shop_btn::before {
        content: "";
        width: 1px;
        height: 1px;
        display: block;
        position: absolute;
        top: 45%;
        left: 50%;
        border-radius: 50%;
        background-color: var(--yellow);
        z-index: -1;
        opacity: 0;
        transition: transform 0.3s, opacity 0.3s;
        user-select: none;
    }

    .el_shop_btn:hover::before {
        transform: scale(260);
        opacity: 1;
    }

    .el_shop_icon {
        display: block;
        transform: scale(0.5);
        margin-left: -10px;
    }

    .el_shop_text {
        display: block;
        font-weight: 500;
        height: 50px;
        line-height: 40px;
    }

    /* グローバルナビゲーション */
    .bl_globalnav {
        margin-top: 17px;
        display: block;
    }
    
    .el_globalnav {
        display: flex;
        color: var(--white);
        user-select: none;
    }
    
    .el_globalnav li:not(:last-child) {
        padding-right: 2em;
    }

    .bl_globalnav_inner {
        display: block;
    }
}
    
/* =========================================== */
/* メイン */

/* トップイメージ */
.bl_topimage {
    background-color: var(--bg-color-right);
    position: relative;
}

.el_topimage {
    background-image: url(../images/topimage_pc.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    clip-path: polygon(0% 0%, 100% 0, 100% 92%, 72% 100%, 0 91%);
    user-select: none;
}

/* 大きいロゴ */
.shop_logo_big {
    max-width: 260px;
    height: auto;
    position: absolute;
    top: calc(50vh - 50px);
    left: calc(50vw - 130px);
    user-select: none;

    animation: fadein 2s forwards;
}

/* ページ遷移したときに大きいロゴがフェードイン */
/* キーフレームはヘッダーのフェードにも使ってます */
@keyframes fadein {
    0% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px)
    }
    100%{
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }
}

.shop_logo_big.is_scroll {
    user-select: none;

    animation: fadeout 0.3s both;
}

/* フェードアウトのアニメ */
@keyframes fadeout {
    0%{opacity: 1;}
    100%{opacity: 0;}
}

/* =========================================== */
/* お知らせ */

.ly_infomation {
    background-color: var(--bg-color-right);
}

.ly_infomation_wrapper {
    user-select: none;
}

.el_headline_wrapper {
    border-bottom: 1px solid var(--grey);
}

.el_headline_wrapper h1 {
    margin: 15px;
}

.el_infomation_article {
    margin-left: 20%;
}

.el_infomation_article dt {
    padding: 25px 20px;
    border-bottom: 1px solid var(--grey);
    font-weight: 300;
}

/* =========================================== */
/* 手作りへのこだわり */

.ly_description_wrapper {
    text-align: center;
}

.el_desc_article_wrapper {
    font-size: 20px;
    line-height: 2.2em;
    padding-top: 30px;
}

/* =========================================== */
/* スライドショー */

.bl_slideshow {
    background-color: white;
    position: relative;
    background-size: cover;
    height: 450px;
    background-position: center;
}

.ly_slideshow_wrapper {
    height: 450px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-repeat: no-repeat;
}

/* 矢印ボタン */
.el_slide_btn {
    width: 30px;
    height: 30px;
    border-left:1px solid white;
    border-bottom: 1px solid white;
    cursor: pointer;
    user-select: none;
}

/* 左ボタン */
.left {
    transform: translateX(50px) rotate(45deg);
    transition: translateX 0.3s;
}

.left:hover {
    transform: translateX(45px) rotate(45deg);
}

/* 右ボタン */
.right {
    transform: translateX(-50px) rotate(225deg);
}

.right:hover {
    transform: translateX(-45px) rotate(225deg);
}

/* 見出しのスタイル */
.el_slideshow_title {
    font-size: 2em;
    color: white;
    font-weight: 500;
    position: absolute;
    top: 1em;
    left: 4em;
    line-height: 1.5em;
    text-shadow: 1px 3px 5px black;
}

/* 1枚目の見出しへの切り替え */
.slidetitle_1::before {
    white-space: pre;
    content: "昭和より\A変わらない\A鉄仕事";
    animation: textMove1 2s 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes textMove1 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slideImage_1 {
    background-image:  url(https://otsukihamono.jp/wp-content/themes/twentytwenty/asset/images/slideshow_01.webp);
}

/* 2枚目の見出しへの切り替え */
.slidetitle_2::before {
    white-space: pre;
    content: "無骨な黒打ち\A上品な磨き";
    animation: textMove2 2s 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes textMove2 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slideImage_2 {
    background-image:  url(https://otsukihamono.jp/wp-content/themes/twentytwenty/asset/images/slideshow_02.webp);
}

/* 3枚目の見出しへの切り替え */
.slidetitle_3::before {
    white-space: pre;
    content: "片刃と両刃\Aどちらにも\A良さと弱点あり";
    animation: textMove3 2s 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes textMove3 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slideImage_3 {
    background-image: url(https://otsukihamono.jp/wp-content/themes/twentytwenty/asset/images/slideshow_03.webp);
}

/* スライドショーの説明 */
.el_slidearticle_wrapper {
    margin: 0 auto;
    padding: 20px !important;
}

.el_slideshow_article {
    white-space: pre-line;
    line-height: 1.7em;
    width: 100%;
}

/* スライドショーの下のボタン */
.slideshow_btn {
    width: 60vw;
    margin: 0 auto;
    text-align: center;
}

.transion_fadein {
    transition: background-image 1s ease-in;
}

/* PCタブレット用メディアクエリ */
@media screen and (min-width: 750px) {

    /* 矢印ボタン */
    .el_slide_btn {
        width: 70px;
        height: 70px;
    }

    /* 見出しのスタイル */
    .el_slideshow_title {
        font-size: 2.5em;
        color: white;
        font-weight: 500;
        position: absolute;
        top: 1em;
        left: 4em;
        line-height: 1.5em;
        text-shadow: 1px 3px 5px black;
    }

    /* スライドショーの説明 */
    .el_slidearticle_wrapper {
        margin: 0 auto;
        padding: 50px !important;
    }

    .el_slideshow_article {
        white-space: pre-line;
        line-height: 1.7em;
        width: 100%;
    }

}

/* =========================================== */
/* アイテム一覧 */

.ly_iteminfo {
    background-color: var(--bg-color-right);
    padding: 7%;
}

/* アイテムのグリッドデザイン */
.bl_itemlist {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 40px;
}

/* 背景画像 */
.hocho {
    background-image: url(../images/info_hocho.webp);
}
.knife {
    background-image: url(../images/info_knife.webp);
}
.nata {
    background-image: url(../images/info_nata.webp);
}
.nogyo {
    background-image: url(../images/info_nogyo.webp);
}
.nameservice {
    background-image: url(../images/info_nameservice.webp);
}
.rareitem {
    background-image: url(../images/info_rareitem.webp);
}

/* 単体ボックスのサイズ */
.el_item_img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 150px;
}

/* 名前とアイコンのためのflex */
.el_iteminfo_wrapper {
    display: flex;
}

/* 名前のところのボックス */
.el_itemname_wrapper {
    background-color: black;
    height: 32px;
    flex: 1;
    line-height: 32px;
    padding-left: 10px;
}

/* 名前 */
.el_itemname {
    color: white;
    font-weight: 500;
}

/* 赤いアイコン */
.el_item_icon {
    background-color: var(--red);
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
}

/* PCタブレット用メディアクエリ */
@media screen and (min-width: 750px) {

    /* アイテムのグリッドデザイン */
    .bl_itemlist {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 18px;
        row-gap: 92px;
    }
    
} 

/* =========================================== */
/* 末永く使うために */

.ly_use_desc {
    background-color: var(--bg-color-mid);
}

.ly_use_boxes {
    display: grid;
    grid-auto-rows: 1fr 1fr;
    margin-top: 50px;
    row-gap: 40px;
}

.el_use_box {
    height: 30vw;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.el_use_box h1 {
    margin-left: 15px;
    margin-top: 15px;
}

.img_oteire::after {
    background-image: url(../images/oteire.webp);
}

.img_togi::after {
    background-image: url(../images/togi.webp);
}


@media screen and (min-width: 750px) {
    .ly_use_boxes {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
        margin-top: 50px;
    }

    .el_use_box {
        height: 15vw;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
}


/* =========================================== */
/* お問合せ */

.ly_form {
    background-color: var(--bg-color-right);
    padding: 3em 2em;
}

.ly_form_wrapper {
    margin: 0 auto;
}

.bl_textbox {
    margin-bottom: 2em;
}

.el_text_label{
    display: block;
}

.el_required_icon::after {
    content: '※必須';
    color: var(--red);
    font-size: x-small;
    padding: 1px 5px;
    margin-left: 5px;
    font-weight: 500;
}

.el_textbox {
    width: 100%;
    height: 3em;
    background-color: white;
    margin-top: 10px;
    padding-left: 10px;
    border-radius: 2px;
}

.el_textbox:focus {
    background-color: var(--right_yellow);    
}

.el_input_article {
    height: 200px;
    margin-bottom: 30px;
}

@media screen and (min-width: 750px){
    .ly_form {
        background-color: var(--bg-color-right);
        padding: 3em 8em;
    }
}

/* =========================================== */
/* 会社概要 */

.ly_information {
    background-color: var(--bg-color-dark);
    text-align: center;
}

.bl_information {
    margin-top: 50px;
    color: white;
    line-height: 1.5em;
}

/* dtのデザイン */
.bl_information dt {
    font-weight: 100;
    margin-top: 20px;
}

/* dtの両側に付ける装飾 */
.bl_information dt::after, .bl_information dt::before{
    content: " - ";
}

/* グーグルマップ */
.bl_adress {
    margin-top: 50px;
}

.el_gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
}

.el_gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

/* =========================================== */
/* トップへ戻るアイコン */

.ly_returntop_icon_wrapper {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 0px;
    bottom: 100px;
}

.ly_returntop_icon {
    width: 100%;
    height: 100%;
    background-color: black;
    color: white;
    font-weight: 900;
    font-size: 2em;
    line-height: 50px;
    text-align: center;
    border-radius: 4px 0 0 4px;
}

.is_active {
    display: block;
}

.is_close {
    display: none;
}

/* =========================================== */
/* フッター */

.ly_footer {
    background-color: var(--red);
    color: white;
    position: relative;
}

.el_footer_logo {
    width: 60%;
    margin: 0 auto;
}

.footer_list li {
    margin-top: 2em;
    text-align: center;
}

.footer_adress {
    border-top: 1px solid white;
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
}

@media screen and (min-width: 750px) {

    .ly_footer {
        padding-left: calc(50% - 665px);
    }

    .ly_footer_wrapper {
        display: grid;
        grid-template-columns: 30% 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        row-gap: 20px;
        column-gap: 30px;
        max-width: 1330px;
    }
    
    .el_footer_logo {
        grid-column: 1 / 2;
        grid-row: 1 /3;
        max-width: 350px;
    }
    
    .footer_list {
        font-size: 80%;
        padding-left: 30px;
    }
    
    .footer_list ul li {
        margin-bottom: 2em;
        user-select: none;
    }
    
    .list1 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }
    
    .list2 {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }
    
    .list3 {
        grid-column: 4 / 5;
        grid-row: 1 / 2;
    }
    
    .footer_adress {
        grid-column: 2 / 5;
        grid-row: 2 / 3;
        padding-top: 30px;
    }
}

.el_rights {
    position: absolute;
    bottom: 10px;
    left: calc(50% - 8em);
}