@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 {
    width: 33%;
    margin-left: 35%;
    padding-top: 1vw;
}

header h1 img {
    width: 100%;
}

header nav {
    position: relative;
}

header nav ul {
    display: none;
    position: absolute;
    top: 11.5vw;
    left: -68vw;
    width: 100vw;
}

header nav ul li {
    position: relative;
    width: 100%;
    list-style-type: none;
    border-top: 0.5px solid #ddd;
}

header nav ul li:nth-child(4) {
    border-bottom: 0.5px solid #ddd;
}

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

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

/*トグルボタンが押されたときに付与するクラス*/

nav.NavMenu.active ul {
	display: block;
    background-color: rgba(255,255,255,1);
    animation: humbarger 0.8s;
}

@keyframes humbarger {
	0% { width: 10vw; }
  100% { width: 100vw; }
}

/*トグルボタンのスタイルを指定*/

.Toggle {
	position: fixed;    /* bodyに対しての絶対位置指定 */
    top: 1.5vw;
    left: 12px;
    width: 42px;
	height: 42px;
	cursor: pointer;/*divだけどカーソルが変わるようにしている*/
	z-index: 3;/*ボタンを一番上にしている(押せなくなるから)*/
}

.Toggle span {
	display: block;
	position: absolute;
	width: 22px;
	border-bottom: solid 3px #000;
	transition: .35s ease-in-out;			/*変化の速度を指定*/
	left: 6px;
}

.Toggle span:nth-child(1) {
	top: 9px;
}

.Toggle span:nth-child(2) {
	top: 18px;
}

.Toggle span:nth-child(3) {
	top: 27px;
}

/* 最初のspanをマイナス45度に */
.Toggle.active span:nth-child(1) {
	top: 18px;
	left: 6px;
	transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
	top: 18px;
	transform: rotate(45deg);
}

.magnifying-glass {
    width: 5%;
    margin-left: auto;
    margin-right: 3%;
}

.magnifying-glass i {
    line-height: 2.5;
    font-size: 4.5vw;
}

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

section {
    padding-top: 20%;
    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: 12%;
    height: 6vw;
}

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

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

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

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

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

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

/*トップに戻る*/

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

.top a {
    display: block;
    padding-top: 0.8%;
    text-align: center;
    line-height: 1.8;
    font-size: 5vw;
    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: 3;
    text-align: center;
    text-decoration: none;
    color: #eee;
    font-size: 1.8vw;
}

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

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

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

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

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