@charset "UTF-8";

/* 共通部分
------------------------------------------ */

html {
    font-size: 100%;
    background-color: #eaddce;
}

body {
    font-family: "メイリオ", Meiryo, Osaka, "ヒラギノ角ゴ", "游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "ＭＳ 明朝", serif;
    ;
    line-height: 1.7;
    color: #303030
        /* font-size: 14px; */


}

a {
    text-decoration: none;
    color: #303030;
}

a :hover {
    opacity: 50%;
}

img {
    max-width: 100%;
}

/* HEADER
------------------------------------------ */
.wrapper {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 4%;
}

.header-bar {
    background-color: rgba(255, 255, 255, 0.6);
    /* box-shadow: #303030; */
}

.pageheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 320px;
    margin-top: 14px;
}

.main-nav {
    display: flex;
    font-size: 1.0rem;
    text-transform: uppercase;
    list-style: none;
}

.main-nav li {
    margin-left: 36px;
}

.main-nav a {
    color: #303030;
}

.main-nav a:hover {
    opacity: 60%;
}

/* HOME
------------------------------------------ */
.big-bg {
    background-position: right;
    background-repeat: no-repeat;
    /* height: 400px; */
}

#home {
    /* background-image: linear-gradient(to right, #fff,40%, #fff,70%, rgba(0,0,0,0)),url(../images/main-img0.jpg); */
    /* min-height: 100vh; */
    height: 50vh;
}

.home-content {
    margin-top: 10%;
    text-align: center;
    height: 300px;
}

.home-content p {
    margin: 10px 15% 10px;
}

.home-message {
    color: #864b23;
    font-family: yumincho;
    text-shadow: 0 0 10px #fff, 0 0 10px #fff;
}

/* .slide_fade {
    position: relative;
    height: 500px;
    margin: 0 auto;
    padding: 0 auto;
    text-align: center;
}
.slide_fade ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.slide_fade img {
    width: 80%;
    margin: 0 auto 0;
    padding-inline-end: 0 auto;
}
.slide_fade ul li {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    animation-iteration-count: infinite;
    animation-duration: 14s;
}
.slide_fade ul li:nth-child(1) {
    animation-name: slide_fade;
    animation-delay: -2s;
}
.slide_fade ul li:nth-child(2) {
    animation-name: slide_fade;
    animation-delay: 5s;
}
@keyframes slide_fade {
    0%{
        opacity: 0;
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
} */

/* スライド */
.hero-slide__item:nth-of-type(1) .hero-slide__img {
    animation-delay: 0s;
}

.hero-slide__item:nth-of-type(2) .hero-slide__img {
    animation-delay: 5s;
}

.hero-slide__item:nth-of-type(3) .hero-slide__img {
    animation-delay: 10s;
}

.hero-slide__item:nth-of-type(4) .hero-slide__img {
    animation-delay: 15s;
}

.hero-slide__item:nth-of-type(5) .hero-slide__img {
    animation-delay: 20s;
}

@keyframes slideAnime {
    0% {
        opacity: 0;
    }

    16% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    49% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.hero {
    overflow: hidden;
    position: relative;
    height: 45vh;
}

.hero__innner {
    margin: 0 auto;
    width: 1100px;
    /* position: absolute; */
    position: relative;
    /* max-width: 1170px; */
    /* padding: 0 4%; */
}

.hero-slide__item {
    bottom: 0;
    /* height: 100%; */
    position: absolute;
    /* width: 110; */
}

.hero-slide__img {
    animation-duration: 25s;
    animation-iteration-count: infinite;
    animation-name: slideAnime;
    animation-timing-function: ease;
    display: block;
    min-height: 45vh;
    object-fit: cover;
    opacity: 0;
    height: 100%;

}


.hero__heading {
    position: absolute;
    top: 30%;
    margin-left: 18vw;
}

.hero__title {
    text-align: left;
    font-size: larger;
    color: #864b23;
    font-family: yumincho;
    text-shadow: 0 0 10px #fff, 0 0 10px #fff;
    margin-bottom: 20px;

}

.hero__title__sub {
    font-size: 13px;

}

/* MAIN
------------------------------------------ */
.news-contents {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    margin-top: 50px;
}

.article news {
    /* width: 74%; */
    background-color: #fff;
    box-shadow: 0 0 3px #ccc;

}

.news {
    width: 600px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 0 3px #ccc;
    padding: 23px 30px;
}

.news-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    align-items: center;
}

.news-list {
    list-style: none;
    font-size: 14px;
}

.news-list li {
    border-bottom: dotted 1px #999;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 14px;
}

.askme {
    color: #63503a;
    margin-left: 30px;
    padding: o 30px;
}

.askme a {
    color: #864b23;
}

.askme h3 {
    padding-top: 20px;
    font-size: 16px;
}

.to-pagetop {

    font-size: smaller;
    color: #63503a;
    position: sticky;
    margin-left: auto;
    bottom: 10px;
    /* right: 10px; */
}

/* FOOTER
------------------------------------------ */
.footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    align-items: center;
    margin-bottom: 10px;
}

.footer-nav {
    display: flex;
    text-transform: uppercase;
    list-style: none;
    font-size: 0.8em;

}

.footer-nav li {
    padding-right: 10px;
    margin-right: 10px;
    border-right: solid 1px #63503a;
    line-height: 12px;
}

.footer-nav a {
    color: #63503a;
}

li :hover {
    opacity: 50%;
}

/* 見出し
------------------------------------------ */
.aside-title {
    font-size: 14px;
}

/* ボタン
------------------------------------------ */
.button {
    font-size: 1rem;
    color: #fff;
    background-color: #cea183;
    font-weight: normal;
    border-radius: 2px;
    padding: 3px 10px;
}

.button:hover {
    opacity: 60%;
}

.button a {
    color: #fff;
}

/* 閉じるボタン
------------------------------------------ */

#drawer_toggle {
    z-index: 200;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    width: 60px;
    height: 60px;
}

#drawer_toggle span {
    position: absolute;
    top: 19px;
    left: 17px;
    display: inline-block;
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    vertical-align: top;
}

#drawer_toggle span:nth-child(2) {
    margin-top: 10px;
}

#drawer_toggle span:last-child {
    margin-top: 20px;
}

#drawer_toggle.open span {
    top: 29px;
    left: 14px;
    width: 35px;
    margin: 0;
}

#drawer_toggle.open span:first-child {
    transform: rotate(45deg);
}

#drawer_toggle.open span:nth-child(2) {
    display: none;
}

#drawer_toggle.open span:last-child {
    transform: rotate(-45deg);
}

#global_nav {
    color: #303030;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: fit-content;
    background-color: white;
    opacity: 0.9;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    display: none;

}

#global_nav.is-activ {
    display: flex;
    flex-direction: column;
}

#global_nav li {
    list-style: none;
    line-height: 4;

}

#global_nav .inner ul {
    padding-bottom: 50px;
}

@media (min-width:1000px) {


    #drawer_toggle {
        display: none;
    }

}

@media (max-width:1000px) {
    .logo {
        width: 80%;
    }

    .news-contents {
        /* max-width: 1000px; */
        display: flex;
        flex-direction: column;
        margin-top: 50px;
        padding: 0 4%;
    }

    .main-nav {
        display: none;
    }

    .news {
        width: 90vw;
        margin-right: 10%;
    }

    .askme {
        margin: 5%;
    }

    #global_nav .sp_open {
        right: 0;
    }

    .footer {
        display: none;
        flex-direction: column;
    }

    .footer p {
        margin-top: 10px;
    }

    .news-head .button {}
}

@media (max-width: 600px) {
    .wrapper {
        max-width: fit-content;

    }

    .news {
        display: flex;
        flex-wrap: wrap;
    }

    .home-content {
        display: flex;
        flex-direction: row;
    }

}