@charset "utf-8";

::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

#page-top{
    width: 100px;
    height: 100px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: #7bc890;
    opacity: 0.6;
    border-radius: 50%;
}

#page-top::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f106';
    font-size: 50px;
    color: #ffffff;
    position: absolute;
    width: 30px;
    height: 60px;
    top: -5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

body{
    background-color: #000000;
    color:#cccccc;
}

ul, ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-menu ul li {
    margin-left: 20px;
    margin-right: 20px;
}

.site-menu ul {
    display: block;
    text-align: center;
}

.site-menu li {
    margin-top: 40px;
    font-family: 'Kaisei Opti', serif;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    height: 50px;
    z-index: 10;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.header-inner {
    padding-left: 20px;
    padding-right: 20px;
    height: 100%;
    position: relative;
}

.toggle-menu-button{
    display: block;
    width: 44px;
    height: 34px;
    background-image: url(../images/index/site-menu.png);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    border-radius: 0;
    outline: none;
}

.header-site-menu {
    position: absolute;
    top: 100%;left: 0;
    right: 0;
    color: #ffffff;
    background-color: #736e62;
    padding-top: 30px;
    padding-bottom: 50px;
    display: none;
}

.header-site-menu.is-show {
    display: block;
}

.main-title {
    height: calc(100vh - 110px) / 2;
    padding-top: 100px;
    background-color: black;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    text-align: center;

}

.main-title-text {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 80px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px 10px #4b2c14;
}

.main-title-text h1 {
    font-size: 40px;
    line-height: 72px;
    font-family: 'Kaisei Opti', serif;
}

.slide-container {
    width: 100%;
    margin: 50px auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.slide-wrapper {
    display: flex;
    animation: slide-flow 50s infinite linear 1s both;
}

.slide {
    width: 500px;
    height: 400px;
    object-fit: cover;
    border: 1px solid #ddd;
}

@keyframes slide-flow {
    0% {transform: translateX(0);}
    100% {transform: translateX(-100%);}
}

.first-view {
    height: calc(100vh - 110px);
    background-color: black;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    text-align: center;

}

.first-view-text {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 80px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px 10px #4b2c14;
}


.first-view-text h1 {
    font-family: 'Kaisei Opti', serif;
    font-size: 56px;
    line-height: 72px;
}

.first-view-text p {
    font-size: 24px;
    line-height: 40px;
}

.lead {
    max-width: 1200px;
    margin: 60px auto;
}

@media (max-width: 800px) {
    .header-site-menu {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .header-site-menu li {
        margin-top: 20px;
    }

    .main-title-text h1 {
        font-size: 24px;
        line-height: 40px;
    }

    .slide-container {
        margin-top: 20px;
        margin-bottom: auto;
    }
    
    .first-view-text h1 {
        font-size: 24px;
        line-height: 40px;
    }

    .first-view-text p {
        font-size: 16px;
        line-height: 24px;
    }

    .lead {
        margin: 40px auto;
    }
}