@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}


@font-face {
    font-family: 'YujiSyuku-Regular';
    src: url(../font/Yuji_Syuku/YujiSyuku-Regular.ttf);
}

html {
    scroll-behavior: smooth;
}


/*グローバルメニュー*/

header {
    display: flex;
    position: fixed;
    width: 100%;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
    z-index: 999;
}

header h1 {
    position: relative;
    width: 18%;
    height: 3.5vw;
    margin-left: 4%;
    padding-top: 0.6%;
}

header h1 img {
    position: absolute;
    width: 100%;
}

header nav {
    width: 46%;
    margin-left: 28%;
    margin-right: 4%;
}

header nav ul {
    display: flex;
    list-style-type: none;
}

header nav ul li {
    width: 25%;
}

header nav ul li:hover {
    border-bottom: 2px solid blue;
}

header nav ul li a {
    display: block;
    padding-top: 0.3vw;
    line-height: 3;
    font-size: 1.4vw;
    text-align: center;
    text-decoration: none;
    color: #222;
    transition: 0.3s;
    font-family: 'YujiSyuku-Regular';
}

header nav ul li:hover a {
    color: blue;
    transition: 0.3s;
    background-color: rgba(223, 247, 249,0.8);
}

.magnifying-glass {
    display: none;
}

/*キャンペーン一覧*/

section {
    padding-top: 10%;
    padding-bottom: 5%;
    background-image: url(../images/cont_bg01.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.heading-flex {
    display: flex;
    justify-content: center;
}

.heading-flex img {
    width: 10%;
    height: 4vw;
}

.heading-flex h2 {
    margin: 0 2% 5%;
    font-size: 3vw;
    color: #222;
    font-family: 'YujiSyuku-Regular';
}

.campaign-flex1 {
    display: flex;
    width: 90%;
    margin: 0 auto;
}

.campaign-flex1 div {
    width: 40%;
    margin: 5% 5%;
}

.campaign-flex1 div img {
    width: 100%;
    border-radius: 1em;
}

.campaign-flex1 div h3 {
    margin-top: 1%;
    margin-bottom: 2%;
    font-size: 1.5vw;
    color: #222;
}

.campaign-flex1 div p {
    font-size: 1.2vw;
    color: #222;
}

/*トップに戻る*/

.top {
    position: sticky;
    top: 80vh;
    width: 3%;
    margin-left: auto;
    margin-right: 2%;
    overflow: hidden;
    border-radius: 0.5em;

}

.top a {
    display: block;
    padding-top: 0.5%;
    text-align: center;
    line-height: 1.6;
    font-size: 2vw;
    color: #fff;
    background-color: rgb(0, 132, 205);
}

/*フッター*/

footer {
    width: 98%;
    padding: 1%;
    background-color: #222;
}

footer nav ul {
    display: flex;
    width: 100%;
    margin: 0 auto;
}

footer nav ul li {
    width: 20%;
    list-style: none;
}

footer nav ul li a {
    display: block;
    line-height: 2.5;
    text-align: center;
    text-decoration: none;
    color: #eee;
    font-size: 1vw;
}

footer nav ul li a:hover {
    text-decoration: underline;
}

.footer-logo {
    margin: 1% auto;
    width: 18%;
}

.footer-logo img {
    width: 100%;
}

footer address {
    text-align: center;
    font-size: 0.8vw;
    color: #eee;
}

footer P {
    text-align: center;
    font-size: 0.8vw;
    color: #eee;
}