/*font読み込み Kaisei HarunoUmi, Kosugi Maru*/
@import url('https://fonts.googleapis.com/css2?family=Kaisei+HarunoUmi:wght@700&family=Kosugi+Maru&display=swap');
header {
    position: relative;
    background-color: #def7ff;
}
.name {
    font-weight: bold;
    font-size: 25px;
}
.site-header__end {
    display: flex;
    align-items: center;
}
.site-header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem; 
    font-family: 'Kaisei HarunoUmi';
}
@media (min-width: 800px) {
    .site-header__wrapper {
        padding-top: 0;
        padding-bottom: 0; 
    }
    .nav__wrapper {
        display: flex; 
    }
    .search__toggle {
        border-left: 1px solid #979797;
        padding-left: 10px;
    }
}
@media (max-width: 799px) {
    .nav__wrapper {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: -1;
        background-color: #d9f0f7;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-100%);
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }
    .nav__wrapper.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0); 
    }
    .nav__toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1rem; 
    }
    .search__toggle {
        position: absolute;
        right: 5.5rem;
        top: 0.65rem;
        background: url('../img/search.svg') center/22px no-repeat;
    }
    .search__form {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background-color: red; 
    }
    .search__form input {
        width: 100%;
        border-bottom: 1px solid #979797;
    }
}
@media (min-width: 600px) {
    .button span {
        display: initial;
    }
}
.nav__item a {
    display: block;
    padding: 1.5rem 1rem;
}
.nav__toggle {
    display: none; 
}
.search {
    display: flex; 
}
.search__toggle {
    appearance: none;
    order: 1;
    font-size: 0;
    width: 34px;
    height: 34px;
    background: url('../img/search.svg') center right/22px no-repeat;
    border: 0; 
}
.search__form {
    display: none;
}
.search__form.active {
    display: block; 
}
.search__form input {
    min-width: 200px;
    appearance: none;
    border: 0;
    background-color: #fff;
    border-radius: 0;
    font-size: 16px;
    padding: 0.5rem; 
}
.wrapper {
    max-width: 1140px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}
*,*:before,*:after {
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: #222;
}
html {
    /*Apple用*/
    -webkit-font-smoothing: none;
    -webkit-font-smoothing: antialiased;
    -webkit-font-smoothing: subpixel-antialiased;
    /*Mozilla用*/
    -moz-osx-font-smoothing: auto;
    -moz-osx-font-smoothing: grayscale;
}
.sr-only {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
.button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #fff;
    background-color: #2fa0f6;
    min-width: 120px;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-align: center;
}
.button svg {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    fill: #fff;
}
.button span {
    display: none;
}
.button--icon {
    min-width: initial;
    padding: 0.5rem;
}
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
    margin:0;
    padding:0;
    border:0;
    font-size:100%;
    font:inherit;
    vertical-align:baseline;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    display:block;
}
body {
    line-height:1;
}
ol,ul {
    list-style:none;
}
blockquote,q {
    quotes:none;
}
blockquote:before,blockquote:after,q:before,q:after {
    content:'';
    content:none;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
.main {
    overflow: hidden;
    margin: 13px;
    margin-top: 20px;
    box-shadow: 5px 10px 20px rgba(161, 194, 177, 0.603);
    border-radius: 15px;
    padding: 20px;
    background: rgba(160, 224, 185, 0.678);
    font-family: 'Kosugi Maru', sans-serif;
}