@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
}

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

@font-face {
    font-family: 'Zen_Maru_Gothic';
    src: url(../font/Zen_Maru_Gothic/ZenMaruGothic-Medium.ttf);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/*header*/
/*トップ画像*/
header {
    position: relative;
    height: 56vw;
}

.img-position img:nth-of-type(1) {
    position: absolute;
    width: 18%;
    left: 1%;
}

.img-position img:nth-of-type(2) {
    position: absolute;
    top: -5%;
    left: 23%;
    width: 12%;
}

.img-position img:nth-of-type(3) {
    position: absolute;
    right: 2.8%;
    width: 15%;
}

.img-position2 img:nth-of-type(1) {
    position: absolute;
    top: -8%;
    right: 2%;
    width: 37%;
    animation: 20s rotate infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(-2deg);
    }
    20% {
        transform: rotate(2deg);
    }
    40% {
        transform: rotate(-2deg);
    }
    60% {
        transform: rotate(2deg);
    }
    80% {
        transform: rotate(-2deg);
    }
    100% {
        transform: rotate(2deg);
    }
}

.header-box {
    display: flex;
}

header h1 {
    position: relative;
    width: fit-content;
    margin-top: 2%;
    margin-left: 5%;
    font-family: 'Allison';
    font-size: 6vw;
    font-weight: 500;
    z-index: 100;
}

header h1 a {
    color: #656565;
    text-decoration: none;
}

/*works*/
main section h2 {
    margin-top: -40%;
    margin-bottom: 2%;
    font-family: 'Allison';
    font-size: 5.5vw;
    font-weight: 500;
    color: #656565;
    text-align: center;
}

h3 {
    margin-top: 5%;
    width: fit-content;
    margin-left: 15%;
    font-family: 'Zen_Maru_Gothic';
    font-size: 1.6vw;
    font-weight: 500;
    color: #656565;
}

.img-scr-box a {
    display: block;
    width: 70%;
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
    transition: 0.5s;
}

.img-scr-box a:hover {
    opacity: 0.5;
    transition: 0.5s;
}

.img-scr-box img {
    width: 100%;
    border: 1px solid #656565;
}


/*概要文*/
/*上の概要文*/
.parent-box {
    width: 70%;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
}

.flex-box p {
    font-family: 'Zen_Maru_Gothic';
    font-size: 1.5vw;
    font-weight: 500;
    line-height: 2;
    color: #656565;
}

.child-box p {
    font-family: 'Zen_Maru_Gothic';
    font-size: 1.5vw;
    font-weight: 500;
    line-height: 2;
    color: #656565;
}

/*ポスターからの下の概要文*/
.ad-text-box h4 {
    width: fit-content;
    margin-top: 7%;
    margin-bottom: 2%;
    padding: 0.5% 1%;
    font-family: 'Zen_Maru_Gothic';
    font-size: 1.7vw;
    font-weight: 300;
    color: #656565;
    background-color: #CAD9EB;
    border-radius: 30px;
}

.ad-text-box p {
    margin-left: 2%;
    letter-spacing: 1px;
    line-height: 1.7;
    white-space: pre-wrap;
    font-family: 'Zen_Maru_Gothic';
    font-size: 1.4vw;
    color: #656565;
}

/*バナーデザイン文*/
.ad-text-child-box2 p:nth-of-type(1),.ad-text-child-box2 p:nth-of-type(2) {
    margin-top: 2%;
    text-indent: 1em;
}

/*ポスター、十勝バナー*/
.img-scr-box2 {
    display: flex;
    width: 80%;
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
}

.img-scr-box2 img {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #656565;
}

/*フッターナビゲーション*/
footer {
    position: relative;
    padding-top: 1%;
    margin-top: 10%;
}

.footer-box {
    display: flex;
    position: relative;
    width: 30%;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;    
    z-index: 100;
}

.footer-box li {
    width: 30%;
    border-radius: 100%;
    list-style-type: none;
    background-color: #CAD9EB;
}

.footer-box li:nth-of-type(2) {
    width: 30%;
    margin-left: 2%;
    margin-right: 2%;
    border-radius: 100%;
    list-style-type: none;
    background-color: #EFDCD0;
}

.footer-box li a {
    display: block;
    line-height: 2.4;
    font-family: 'Allison';
    font-size: 3vw;
    color: #656565;
    text-align: center;
    text-decoration: none;
    transition: 0.5s;
}

.footer-box li a:hover {
    opacity: 0.5;
    transition: 0.5s;
}

.footer-img img:nth-of-type(1) {
    position: absolute;
    display: block;
    top: -40%;
    left: 0;
    width: 37%;
    height: 30vw;
    z-index: 0;
}

.footer-img img:nth-of-type(2) {
    position: absolute;
    display: block;
    top: -40%;
    right: 0;
    width: 32%;
    height: 30vw;
    z-index: 0;
}

.scroll-button img {
    position: relative;
    width: 6%;
    border-radius: 100%;
    margin-left: 93%;
    padding-left: 0.3%;
    padding-bottom: 0.3%;
    background-color: #CAD9EB;
    z-index: 100;
    transition: 1s;
}

.scroll-button img:hover {
    background-color: #87adda;
    transition: 1s;
}