@charset "utf-8";

:root {
    --footer-background-color: rgba(16, 106, 181, 0.7);
    --header-background-color: #FFFFFF;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "PT Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

img,
video {
    max-width: 100%;
    height: auto;
}

main {
    width: 95%;
    margin: 60px auto;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

small {
    font-size: 13px;
}

header {
    position: fixed;
    top: 20px;
    z-index: 10;
    width: 100%;
}

.header__wrapper {
    background-color: var(--header-background-color);
    width: 95%;
    margin: 20px auto;
    border-radius: max(50px,50px);
    font-weight: bold;
    border: 1px solid #106AB5;
}

.header__content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.header__content__sp {
    display: none;
}

.header__content .logo__img {
    margin: 5px 0 0 80px ;
    cursor: pointer;
}

.header__list {
    display: flex;
    width: 100%;
    font-weight: bold;
    margin-right: 80px;
}

.header__list li > a {
    display: block;
    height: 100%;
    padding: 18px 0px;
    font-size: 16px;
}

.header__list li {
    list-style: none;
    display: flex;
    align-items: center;
}

.header__list .pd__left, .header__list .contact {
    padding-left: 20px;
}

.pd__left a{
    text-decoration: none;
    color: #333333;
}

.pd__left a:hover{
    color: #106AB5;
}

.contact a {
    text-decoration: none;
    color: #106AB5;
}

.contact a:hover {
    color: #FFB962;
}

.pd__left.inactive{
    cursor: pointer;
    position: relative;
}

.global__navigation {
    position: absolute;
    top: 100%;
    left:0%;
    width: 200px;
    visibility: hidden;
    background-color: var(--header-background-color);
    border-radius: 12px;
    opacity: 0;
    transition: .5s ease all;
    transform: scaleY(-10px);
    border: #106AB5 1px solid;
}

.global__navigation__content {
    padding:10px 0 8px 20px; ;
}

.global__navigation__list {
    padding: 10px 0;
}

.active{
    visibility: visible;
    opacity: 1;
    transform: translateY(10px);
}

footer {
    background-color: var(--footer-background-color);
    background-color: #93dfef;
    padding: 30px 10px 10px 10px;
}

.footer__logo {
    text-align: center;
    margin: 20px 0;
}

.footer__menu__lists {
    margin: 20px 0;
}

.footer__menu__up,
.footer__menu__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__menu__bottom {
    margin: 5px 0;
}

.footer__menu__list {
    margin: 0 10px;
}

.footer__menu__list > a {
    font-size: 12px;
    color: #333333;
    text-decoration: none;
    transition: all ease .6s;
}

.footer__menu__list > a:hover {
    color: #ffffff;
}

.footer__icons {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__sns__icon {
    margin: 0 10px;
}

.footer__copyright {
    text-align: center;
    margin: 20px 0 10px 0;
}

.footer__copyright > small {
    font-size: 12px;
}

/* レスポンシブ（タブレット） */
@media screen and (max-width: 960px) {

    .header__wrapper{
        display: none;
    }

    .header__content__sp {
        display: block;
    }

    .hamburger__button {
        position: relative;
        background-color: #FFFFFF;
        width: 50px;
        height: 50px;
        border-radius:30%;
        margin-left: 10px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #106AB5;
    }

    .hamburger__button__icon {
        position: relative;
        width: 25px;
        height: 25px;
    }

    .hamburger__button__border {
        position: absolute;
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 1px;
        background-color: #106AB5;
    }

    .hamburger__button__border:first-of-type {
        position: relative;
        top: 2px;
        transition: all cubic-bezier(.73,0,.83,1)  .5s;
        transform-origin: left;
    }

    .hamburger__button__icon.is__opened
    .hamburger__button__border:first-of-type {
        transform: scaleX(0) ;
    }

    .hamburger__button__border:nth-child(2) {
        top: 8px;
        width: 16px;
        transition: all cubic-bezier(.73,0,.83,1)  .3s;
        transform-origin: left;
    }

    .hamburger__button__icon.is__opened
    .hamburger__button__border:nth-child(2) {
        transform: scaleX(0) ;
    }

    .hamburger__button__border:nth-child(3) {
        top: 14px;
        width: 10px;
        transition: all cubic-bezier(.73,0,.83,1)  .1s;
        transform-origin: left;
    }

    .hamburger__button__icon.is__opened
    .hamburger__button__border:nth-child(3) {
        transform: scaleX(0) ;
    }

    .hamburger__button__icon.is__opened
    .hamburger__button__border:nth-child(4) {
        transition: cubic-bezier(.73,0,.83,1) .5s;
        transform: translate(0) rotate(45deg);
        top: 10px;
    }

    .hamburger__button__icon.is__opened
    .hamburger__button__border:nth-child(5) {
        transition: cubic-bezier(.73,0,.83,1) .5s;
        transform: translate(0) rotate(-45deg);
        top: 10px;
    }
    
    .header__sp__bg {
        width: 100%;
        height: 100vh;
        opacity: 0;
        background-color: #F5F5F5;
        position: absolute;
        top: 50px;
        left: 0;
        visibility: hidden;
        transform: translateX(-100%);;
        transition: all cubic-bezier(.33, 0, .24, 1) 0.5s;
    }
    
    .nav__sp{
        position: fixed;
        width: 100%;
        height: 100vh;
        transition: trans;
        transform-origin: left;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
        transition: all cubic-bezier(.33, 0, .24, 1) 0.5s;
        margin-top: 20px;
    }

    .ul__content {
        width: 80%;
        background-color: #ffffff;
        margin: 50px auto 0 auto;
        border-radius: 10px;
        padding: 10px;
    }

    .ul__content li {
        list-style: none;
        width: 80%;
        text-align: center;
        margin: 0 auto;
    }

    .global__navigation__list__sp > a, .global__navigation__list__contact a {
        text-decoration: none;
        color: #333333;
        display: block;
        padding: 20px 10px 10px 20px;
        border-bottom: 1px solid rgb(16, 106, 181, 0.3) ;
    }

    .global__navigation__list__sp > a:hover {
        background-color: rgb(16, 106, 181,0.7);
        color: #FFFFFF;
    }

    .global__navigation__list__contact a:hover {
        background-color: rgb(255, 185, 98, 0.7);
        color: #333333;
    }

    .global__navigation__list__sp, .global__navigation__list__contact {
        transform: translateX(-100%);
        transition: all cubic-bezier(.33, 0, .24, 1) 0.5s;
        opacity: 0;
    }

    /*メニュー開閉  */
    .global__navigation__list__sp.menu__opened, .global__navigation__list__contact.menu__opened {
        transform: translateX(0);
        opacity: 1;
        transition-delay: .2s;
    }

    .header__sp__bg.menu__opened {
        visibility: visible;
    }

    .nav__sp.menu__opened{
        visibility: visible;
        transition: all cubic-bezier(.33, 0, .24, 1) 0.5s;
        opacity: 1;
        transform: translateX(0);
    }

    .header__sp__bg.menu__opened {
        opacity: 0.7;
        transform: translateX(0);
    }
}
