* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #F7F7F7;
}

p,
a {
    font-size: 20px;
    font-weight: 100;
    color: #001A43;
    font-feature-settings: "palt"1;
    text-decoration: none;
    font-family: toppan-bunkyu-gothic-pr6n, serif;
    font-weight: 400;
    font-style: normal;
}

.main {
    width: 1080px;
    margin: 150px auto;
}

h1 {
    color: #001A43;
    font-family: ro-san-std, sans-serif;
    font-weight: normal;
    font-size: 72px;
    letter-spacing: 7px;
    text-align: center;
}

.main .desc {
    text-align: center;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 35px;
    font-size: 20px;
}

@media screen and (max-width:479px) {
    .main {
        width: 100%;
        margin: 80px auto;
    }

    .main .desc {
        padding: 0 40px;
        margin: 30px auto;
        font-size: 15px;
    }

    h1 {
        font-size: 50px;
        line-height: 70px;
    }

    p,
    a {
        font-size: 15px;
    }

    .sp {
        display: none;
    }
}

/*
----------------------------------------*/
/* ローディング画面 */
#loading {
    width: 100vw;
    height: 100vh;
    transition: all 1s;
    background-color: rgb(34, 36, 38);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader,
.loader:before,
.loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out;
}

.loader {
    color: #ffffff;
    font-size: 10px;
    margin: 80px auto;
    position: relative;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.loader:before,
.loader:after {
    content: '';
    position: absolute;
    top: 0;
}

.loader:before {
    left: -3.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.loader:after {
    left: 3.5em;
}

@-webkit-keyframes load7 {

    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }

    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

@keyframes load7 {

    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }

    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

.loaded {
    opacity: 0;
    visibility: hidden;
}


/*animetion.js
----------------------------------------*/
.close {
    text-align: center;
    margin: 90px 0;
}

.closebt {
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    cursor: pointer;
}

.closebt:hover {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.modal-content {
    width: 1080px;
    margin: 0 auto;
}

.modal-content .content {
    margin-left: 60px;
    min-height: 400px;
}

.modal-content img {
    width: 340px;
    height: 600px;
    object-fit: cover;
}

.modal-content {
    display: flex;
    align-items: center;
}

.modal-content h2,
.modal-content p {
    color: #fff;
}

.modal-content h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

@media screen and (max-width:479px) {
    .modal-content {
        width: 100vw;
        flex-wrap: wrap;
    }

    .modal-content img {
        width: 100vw;
        height: 56.25vw;
    }

    .modal-content .content {
        margin-top: 30px;
        margin-right: 60px;
        margin-bottom: 30px;
    }

    .close {
        margin: 30px 0;
    }
}

/*画像フェイドイン
----------------------------------------*/
.delayed-image {
    /* じわっと画像が表示される */
    animation: fadeIn 3s ease 0s 1 normal;
    -webkit-animation: fadeIn 3s ease 0s 1 normal;
}

/* じわっと画像が表示される ---------　一度追加していたら不要*/
@keyframes fadeIn {

    /*上のbody内で呼び出しているアニメーションと名前をそろえる*/
    0% {
        opacity: 0
    }

    /* 始め */
    100% {
        opacity: 1
    }

    /* 終わり */
}

/*古いブラウザ用　---------　一度追加していたら不要*/
@-webkit-keyframes fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

/*順番にフェイドイン
----------------------------------------*/
.item {
    opacity: 0;
}

.item.item-scroll:nth-child(1) {
    -webkit-animation: example 3s ease 0.5s 1 forwards;
    animation: example 3s ease 0.5s 1 forwards;
}

.item.item-scroll:nth-child(2) {
    -webkit-animation: example 3s ease 1.0s 1 forwards;
    animation: example 3s ease 1.0s 1 forwards;
}

.item.item-scroll:nth-child(3) {
    -webkit-animation: example 3s ease 1.5s 1 forwards;
    animation: example 3s ease 1.5s 1 forwards;
}

.item.item-scroll:nth-child(4) {
    -webkit-animation: example 3s ease 2.0s 1 forwards;
    animation: example 3s ease 2.0s 1 forwards;
}

.item.item-scroll:nth-child(5) {
    -webkit-animation: example 3s ease 2.5s 1 forwards;
    animation: example 3s ease 2.5s 1 forwards;
}

.item.item-scroll:nth-child(6) {
    -webkit-animation: example 3s ease 3.0s 1 forwards;
    animation: example 3s ease 3.0s 1 forwards;
}

@-webkit-keyframes example {
    100% {
        opacity: 1;
    }
}

@keyframes example {
    100% {
        opacity: 1;
    }
}

/*header
----------------------------------------*/

header {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

header .headerImage {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(247, 247, 247, 1) 0%, rgba(255, 255, 255, 0) 100%), url(../img/header.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

header img {
    width: 25vw;
    height: 25vw;
    min-width: 400px;
    min-height: 400px;
}

header .gnavi {
    margin: 10px auto 50px auto;
}

header ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

header li {
    position: relative;
    width: 127px;
    height: 110px;
}

header .diamond {
    position: absolute;
    left: 0;
    right: 0;
    width: 90px;
    height: 90px;
    margin: 0 auto;
    border: 1px solid #001A43;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    overflow: hidden;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

header .diamond:hover {
    background-color: #001A43;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

header .diamond__inner {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 90px;
    height: 90px;
    background: transparent;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    text-align: center;
}

header .diamond__inner p {
    line-height: 30px;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

header .diamond__inner p:hover {
    color: #fff;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

@media screen and (max-width:479px) {
    header img {
        width: 80vw;
        height: 80vw;
        min-width: 0;
        min-height: 0;
    }

    header .gnavi {
        display: none;
        height: 0px;
    }
}

/*旅先でもうどんだ
----------------------------------------*/
#charm .contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#charm .point {
    width: 300px;
    text-align: center;
    margin: 0 auto;
}

#charm .point img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

#charm .point p {
    font-size: 30px;
    font-weight: bold;
}

@media screen and (max-width:479px) {
    #charm .contents {
        margin: 0 auto;
        justify-content: center;
        flex-direction: column;
    }

    #charm .point img {
        width: 130px;
        height: 130px;
    }

    #charm .point p {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

/*ご当地うどん
----------------------------------------*/
#gotouchi {
    background-color: #FFF4D9;
    padding: 1px 0px;
}

.gotouchi {
    width: 100%;
}

.gotouchi .content {
    width: 220px;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.gotouchi .content:hover,
.gotouchi-sp .content:hover {
    opacity: 0.5;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.gotouchi .content.second {
    margin-left: 140px;
}

.gotouchi img,
.gotouchi-sp img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #ffffff;
}

.gotouchi p,
.gotouchi-sp p {
    text-align: center;
}

.gotouchi .slider li {
    width: 400px;
}

.gotouchi-sp {
    display: none;
}

@media screen and (max-width:479px) {
    .gotouchi {
        display: none;
    }

    .gotouchi-sp {
        display: block;
        width: 100vw;
    }

    .gotouchi-sp img {
        width: 60vw;
        height: 60vw;
        margin: 0 auto;
    }

    .gotouchi-sp .slick-prev {
        left: 10px;
    }

    .gotouchi-sp .slick-next {
        right: 40px;
    }

    .gotouchi-sp p {
        font-size: 20px;
    }
}

/*おうちうどん
----------------------------------------*/
#home .main {
    margin: 200px auto 0px auto;
}

.rakuten {
    margin: 0 auto;
    width: 100%;
    display: flex;
    overflow-x: scroll;
    margin-bottom: 200px;
    justify-content: center;
}

.rakuten .content {
    width: 300px;
    margin: 0 20px;
}

.rakuten .content img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.rakuten .content p {
    margin-top: -5px;
    font-size: 20px;
    line-height: 30px;
    font-weight: bold;
}

@media screen and (max-width:1500px) {
    .rakuten {
        justify-content: flex-start;
    }
}

@media screen and (max-width:479px) {

    .rakuten .content {
        width: 175px;
        margin: 0 5px;
    }

    .rakuten .content img {
        width: 175px;
        height: 175px;
    }

    .rakuten .content p {
        font-size: 15px;
    }
}

/*footer
----------------------------------------*/
footer.main {
    background-color: #fff;
    width: 100%;
    margin: 0;
    padding-top: 200px;
    padding-bottom: 150px;
}

footer .sns {
    width: 200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

footer img {
    width: 50px;
    height: 50px;
}
