/* 初期化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*root*/
:root {
    --description-color: #777;
    --description-font-size: 18px;

}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #F6F9FC;
}


/*----header----*/
a {
    text-decoration: none;
}

li {
    list-style: none;
}

header {
    z-index: 99999;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    transition: .6s ease;
}

.nav-bar {
    background: #F6F9FC;
    position: relative;
    height: calc(4rem + 1rem);
    max-width: 1250px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 -200px;
    transition: .6s ease;
}

.nav-bar .logo {
    color: #000;
    font-size: 1.3em;
    font-weight: 600;
}

.nav-items a {
    color: #000;
    font-size: 1em;
    font-weight: 500;
    transition: .6s ease;
}

.nav-items a:not(:last-child) {
    margin-right: 50px;
}

.nav-items a:hover {
    color: #ddd;
}

/*----main----*/
.home {
    height: 100vh;
    display: block;
}

.main-des {
    color: #777;
    font-size: 18px;
}

.title {
    display: block;
    margin-left: 250px;
    margin-top: 250px;
}

.main-button {
    background: rgb(91, 153, 211);
    color: #fff;
    width: 150px;
    height: 35px;
    border: none;
    border-radius: 20px;
    margin-top: 16px;
    transition: 0.5s;
}

.main-button:hover {
    background: rgb(80, 133, 143);
}

/* .sub-button {
    background: rgb(12, 140, 224);
    margin-left: 5px;
} */

.main_title {
    font-size: 3em;
    text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2);
}

.homeimg {
    position: absolute;
    margin-left: 600px;
    margin-top: -360px;
    animation: island 0.001s infinite alternate ease-in-out;
}

/*about*/
.about {
    height: 50vh;
    display: flex;
}

.container {
    margin-top: -100px;
    margin-left: 250px;
}

.section-title {
    font-size: 2.3em;
    margin-bottom: 5px;
    text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2);
}

.section-des {
    font-size: var(--description-font-size);
    color: var(--description-color)
}

/* 二個目のタイトル */
.about-second {
    height: 50vh;
    display: flex;
}

.container2 {
    margin-top: -100px;
    margin-left: 250px;
}

.section-title2 {
    font-size: 2.3em;
    margin-bottom: 5px;
    text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2);
}

/*scrollbar*/
::-webkit-scrollbar {
    display: none;
}