html {
    scroll-behavior: smooth;
}

body {
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    margin: 80px 0 0;
}

main {
    padding: 0 20px;
    box-sizing: border-box;
    scroll-padding-top: 100px;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
}

img.images {
    width: calc(100% + 20px);
    margin: 1em -10px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.article {
    margin: 100px auto 0;
    max-width: 1100px;
}

.btn-1 {
    background-color: #1993C9;
    color: #fff;
    padding: 6px 20px;
    border-radius: 32px;
    font-weight: bold;
    font-size: 14px;
    border: none;
}

.bp {
    display: inline-block;
}

.highlight {
    font-size: 26px;
}

hgroup {
    margin: 1.5em 0;
}

hgroup p {
    color: #1993C9;
    font-weight: bold;
    font-size: 32px;
    margin: 0;
}

hgroup h1 {
    margin: 0;
    font-weight: 500;
    font-size: 20px;
}

h2 {
    color: #1993C9;
    font-size: 18px;
    margin: 1em 0;
    padding: 4px 0 0;
    border-top: solid 3px #1993C9;
    position: relative;
    width: fit-content;
}

h2::before {
    content: "";
    width: calc(100vw - 40px);
    max-width: 1100px;
    height: 3px;
    background: #d0d0d0;
    display: block;
    top: -3px;
    position: absolute;
    z-index: -5;
}

@media(min-width:868px){
    .article {
        margin: 100px auto 0;
    }
}

/********************
header
*********************/
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    border-bottom: #d0d0d0 1px solid;
    background-color: #fff;
    z-index: 25;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-left: 20px;
}

header .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(100px, 30%, 200px);
}

header .logo-img {
    margin: 0;
    height: auto;
    min-width: 130px;
}

header .logo p {
    margin: 0;
    text-align: center;
    font-size: 12px;
    color: #707070;
}

header .btn-1 {
    margin: 0 4px 0 auto;
}

header .btn-1::after {
    display: none;
}

.hamburger_btn {
    border: none;
    height: 50px;
    width: 96px;
    color: #333;
    position: relative;
    z-index: 10;
    border-left: #d0d0d0 1px solid;
    box-sizing: border-box;
    background-color: unset;
}

.hamburger_btn span {
    display: block;
    background-color: #333;
    width: 48px;
    height: 2px;
    transition: transform .3s, opacity .3s;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
}

.hamburger_btn span:nth-child(1) {
    top: 11px;
}

.hamburger_btn span:nth-child(2) {
    top: 17px;
}

.hamburger_btn span:nth-child(3) {
    top: 24px;
}

.hamburger_btn p {
    font-size: 10px;
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1em;
}

.menu {
    transform: translateX(100%);
    transition: transform 1s, opacity 1s;
    position: fixed;
    z-index: 15;
    top: 0;
    right: 0;
    width: 65%;
    height: 100vh;
    overflow-y: scroll;
    background: #1993C9;
    flex: 3;
}

.open .menu {
    transform: translateX(0%);
    overscroll-behavior-y: contain;
}

.open #hamburger_btn {
    z-index: 20;
    border-left: none;
}

.open #hamburger_btn p {
    display: none;
}

.open .hamburger_btn span:nth-child(1) {
    margin-top: 16px;
    transform: rotate(45deg);
}

.open .hamburger_btn span:nth-child(2) {
    display: none;
}

.open .hamburger_btn span:nth-child(3) {
    margin-top: 3px;
    margin-bottom: 10px;
    transform: rotate(-45deg);
}

.head_nav {
    margin: 3em auto 0;
    font-weight: 500;
}

.head_nav li {
    font-size: 14px;
}

.head_nav li a {
    margin: 8px 10px;
    color: #000;
    display: block;
}

.head_nav #evbtn {
    display: none;
    background-color: unset;
    border: none;
    margin: 8px 10px;
    font-size: 16px;
    font-weight: 500;
}

.head_nav .samebtn li {
    display: flex;
    align-items: center;
    gap: 4px
}

.head_nav .samebtn li:not(:first-child)::before {
    background: #000;
    content: "";
    width: 16px;
    height: 1px;
    display: block;
    margin-left: 10px;
}

@media(min-width:868px) {
    header {
        padding: 6px 20px;
    }

    .hamburger_btn {
        display: none;
    }

    .menu {
        transform: translateY(0%);
        transition: transform 1s, opacity 1s;
        background-image: none;
        position: static;
        z-index: 900;
        width: 100%;
        height: 65%;
        gap: 1em;
        overflow-y: visible;
        background: none;
        flex: 0px 0 0;
    }

    .inner {
        display: flex;
        justify-content: right;
        align-items: center;
    }

    .head_nav {
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: right;
        width: 55vw;
        max-width: 848px;
    }

    .head_nav #evbtn {
        display: block;
    }

    .head_nav li {
        font-size: 1em;
        position: relative;
    }

    .head_nav .samebtn {
        position: absolute;
        top: 2.5em;
        left: 0;
        margin: 0;
        width: 13em;
        display: none;
        color: white;
        z-index: 9999;
    }

    .head_nav li:hover .samebtn,
    .head_nav li.active .samebtn {
        display: block;
    }

    .head_nav li ul li a {
        color: #000;
    }

    .head_nav li ul li:hover a {
        color: #000;
    }

    .head_nav li ul li {
        background: #fff;
    }

    .header-img {
        width: fit-content;
    }

    header .btn-1 {
        margin: 0 12px;
    }
}

/********************
footer
********************/
.foot-top {
    max-width: 1000px;
    margin: 0 auto;
}

.next-page {
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)), url(tools.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 16px 10px;
    width: 100%;
    box-sizing: border-box;
    gap: 12px;
}

.next-page p {
    width: 50%;
    color: #fff;
    font-weight: bold;
    margin: 0;
}

.next-page .btn-1 {
    margin-bottom: 12px;
}

.foot-inner {
    margin: 16px auto;
    width: fit-content;
}

.foot-inner img {
    width: auto;
    margin: 0 auto;
}

.foot-inner p {
    width: fit-content;
}

.foot-inner .address {
    font-weight: 500;
    font-size: 14px;
    margin: 12px auto;
}

.foot-inner .tel {
    margin: 0 auto;
    color: #1993C9;
    font-weight: bold;
    font-size: 24px;
    display: flex;
    gap: 10px;
    width: fit-content;
}

.foot-inner .tel::before {
    content: "";
    width: 32px;
    aspect-ratio: 1;
    background: url(tel.svg);
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
}

.foot_nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px;
    gap: 12px;
}

.foot_nav li {
    display: flex;
    align-items: center;
    gap: 4px;
}

.foot_nav li::before {
    background: #1993C9;
    content: "";
    width: 16px;
    height: 1px;
    display: block;
}

.foot_nav li a {
    color: #000;
    display: inline;
    font-weight: bold;
}

footer>p {
    background-image: url(footer-back.png);
    text-align: center;
    margin: 0 auto;
    padding: 28px;
}

@media(min-width:640px) {
    footer .foot-top {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 20px;
    }

    .next-page {
        flex: 3;
    }

    .foot-inner {
        flex: 2;
    }
}