@charset "utf-8";

/* リセットCSS */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 1s;
}

button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}


header,
nav,
main,
footer {
    margin: 0 auto;
    width: min(100%, 1000px);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

img {
    max-width: 100%;
}

/* ヘッダー */
header {
    height: 150px;

}

h1 img {
    width: 200px;
}

/* ここからＴＯＰ */
.top {
    display: flex;
    height: 120px;
    width: 100%;
    padding: 0 calc((100% - 1000px) /2);
    align-items: center;
    justify-content: space-around;
    position: fixed;
    z-index: 100;
    background-color: #fff;
}

.top ul {
    display: flex;
}

.search-form-3 {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #383838;
    border-radius: 25px;
    height: 50px;
}

.search-form-3 input {
    width: 250px;
    height: 45px;
    padding: 5px 15px;
    border: none;
    box-sizing: border-box;
    font-size: 1em;
    outline: none;
}

.search-form-3 input::placeholder {
    color: #6b6b6b;
}

.search-form-3 button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 45px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}


.search-form-3 button::after {
    width: 50px;
    height: 50px;
    background-image: url("../img/search.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    content: '';
}

.top li img {
    width: 50px;
}

/* ここまでＴＯＰ */

.site-menu ul {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 150px;
}

/* ここからヘッダー：hover */
.nav>li {
    position: relative;
    width: 200px;
}

.nav a {
    display: block;
    padding: 0.5em 0;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    z-index: 1;
}

.sub {
    position: absolute;
    left: 0;
    top: 2em;
    display: none;
    width: 100%;
    z-index: 3;
}

.sub>li>a {
    font-size: 16px;
    color: #000;
    line-height: 1.75;
    background-color: #fff;
}

.sub>li>a:hover {
    background-color: #f5f5f5;
    opacity: 1;
}

.site-menu-sub .sub {
    display: none;
}

/* ここまで */

/* メイン */
.dummy {
    height: 150px;
}


.gotothetop {
    position: fixed;
    bottom: 70px;
    right: 100px;
    width: 100px;
    display: none;
    /* 初めは非表示 */
    z-index: 1000;
    /* 画像が他のコンテンツの上に表示されるように */
}


/* フッター */
footer {
    display: flex;
    flex-direction: column;
}

footer .site-menu {
    margin-top: 20px;
    display: flex;
    font-size: 0.8em;
    color: #333;
    justify-content: space-around;
    align-items: center;
}

footer li {
    margin: auto 10px;
}

footer img {
    width: 150px;
}

.copyright {
    margin-top: 40px;
    text-align: center;
    margin-bottom: 30px;
}