/*1rem=16px*/

:root{
    /*ベースカラー*/
    /*TOSOグリーン*/
    --toso_base_green: #00909F;

    /*濃灰色*/
    --toso_base_black: #464646;

    /*グレー*/
    --toso_base_gray: #d4dcd6;

    /*基本文字色*/
    --toso_base_text_color: #000000;

}

body, html{
    color:var(--toso_base_text_color) !important;
}
header .background {max-height: 620px;}
header .background img{
    max-height: 620px;
    object-fit: cover;
}

header .logo{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

header .logo p{
    padding:16px 8px;
    height: 52px;
}

header .logo p img[src$=".svg"]{
    height: 20px;
    width: auto;
    vertical-align: baseline;
}

header > div{ position: relative; }

header img{ width: 100%; }

header .heading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
}

header .heading .top_icon{
    margin-bottom: 26px;
}

header .heading .title {
    /*margin-bottom: 65px;*/
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

header .heading h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

header .heading h1 span{ margin-right: 20px; }

header .heading .description{
    font-size: 18px;
}

header .heading .scroll{
    text-align: center;
    margin-top: 39px;
    display: block;
    animation: scroll_icon_pc 2s infinite ease-in;
    bottom: 39px;
    color:black;
}

header .heading .scroll .icon{
    transform: translateY(-10%);
    width: 42px;
}

@keyframes scroll_icon_pc {
    0%   { transform: translate(0, 0); opacity: 1 }
    10%  { transform: translate(0, 0); opacity: 1 }
    50%  { transform: translate(0, -15%); opacity: 0 }
    90%  { transform: translate(0, 0); opacity: 1 }
    100% { transform: translate(0, 0); opacity: 1 }
}
@keyframes scroll_icon_sp {
    0%   { transform: translate(0, 0); opacity: 1 }
    10%  { transform: translate(0, 0); opacity: 1 }
    50%  { transform: translate(0, -15%); opacity: 0 }
    90%  { transform: translate(0, 0); opacity: 1 }
    100% { transform: translate(0, 0); opacity: 1 }
}

footer{
    margin-top: 60px;
    width: 100%;
    min-height: 35px;
    background: #00909F;

    padding-right: 1rem;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: ;
    color: #fff;
}

@media screen and (max-width:750px) {
    header .background{max-height: 600px;}

    header .background img{ max-height: 600px; }

    header .heading h1 {
        text-align: center;
        line-height: 1.8;
    }

    header .heading h1 span{ margin-right: 0; }

    header .heading .description{
        line-height: 1.8;
        text-align: center;
    }

    footer {
        font-size:0.8rem;
        justify-content: center;
    }
}
