/* ==========================================================================
   header
   ========================================================================== */
/* Header
   ----------------------------------------------------------------- */
/* p-header
   ----------------------------------------------------------------- */
.p-header
{
    position: fixed;
    z-index: 1000; 
    top: 0;
    left: 0;

    overflow: hidden;

    width: 100%;

    background: #fff;
}

.p-header__inner
{
    position: relative;

    width: 100%;
    max-width: 1580px; 
    margin: 0 auto;
    padding-right: 40px;
    padding-left: 40px;
}

@media screen and (max-width: 1279px)
{
    .p-header__inner
    {
        padding-right: 0;
        padding-left: 20px;
    }
}

.p-header__main
{
    position: relative;
}

.p-header__logo img
{
    display: block;

    width: 272px;
    height: auto;
}

@media screen and (max-width: 1479px) and (min-width: 1280px)
{
    .p-header__logo img
    {
        width: 15.81395vw;
    }
}

@media screen and (max-width: 1279px) and (min-width: 1024px)
{
    .p-header__logo img
    {
        width: 18.37838vw;
    }
}

@media screen and (max-width: 1023px) and (min-width: 768px)
{
    .p-header__logo img
    {
        width: 29.21875vw;
    }
}

@media screen and (max-width: 767px)
{
    .p-header__logo img
    {
        width: 35.41667vw;
    }
}

.p-header__logotext
{
    font-size: 14px;

    display: block;

    width: 100%;
    padding-left: .44em;

    text-align: center; 
    letter-spacing: .44em;
}

.p-header__grid
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    height: 90px; 

    -webkit-box-pack: justify; 

        -ms-flex-pack: justify; 

            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

@media screen and (max-width: 1479px) and (min-width: 1280px)
{
    .p-header__grid
    {
        height: 5.23256vw;
    }
}

@media screen and (max-width: 1279px) and (min-width: 1024px)
{
    .p-header__grid
    {
        height: 6.08108vw;
    }
}

@media screen and (max-width: 1023px) and (min-width: 768px)
{
    .p-header__grid
    {
        height: 9.66797vw;
    }
}

@media screen and (max-width: 767px)
{
    .p-header__grid
    {
        height: 11.71875vw;
    }
}

.p-header__utility
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    height: 60px;
}

@media screen and (min-width: 1190px)
{
    .p-header__utility
    {
        margin-top: 42px;
    }
}

.p-header__menuWrap
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    height: 100%;
}

.p-header__menu
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    width: 455px; 
    height: 100%;
    padding: 10px 0;

    background: #64b6ff;

    -webkit-box-pack: center;

        -ms-flex-pack: center;

            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

@media screen and (max-width: 1279px)
{
    .p-header__menu
    {
        width: 14vw;
        padding: 0 0;
    }
}

.p-header__menuItem
{
    font-size: 22px;
    font-size: 2.2rem;
    line-height: .8;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;

    width: 35%;

    -webkit-transition: all .3s;

    transition: all .3s; 
    text-decoration: none;

    color: #fff;
}

@media screen and (max-width: 1279px)
{
    .p-header__menuItem
    {
        display: none;
    }
}

.p-header__menu2
{
    position: relative;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;

    width: 520px; 
    height: 100%;
    padding: 10px 0;

    background: #0059a6;

    -webkit-box-pack: center;

        -ms-flex-pack: center;

            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

@media screen and (max-width: 1279px)
{
    .p-header__menu2
    {
        width: 14vw;
    }
}

.p-header__menu2Item
{
    font-size: 22px;
    font-size: 2.2rem;
    line-height: .8;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;

    width: 25%;

    -webkit-transition: all .3s;

    transition: all .3s; 
    text-decoration: none;

    color: #fff;
}

.p-header__menu2Item:nth-child(4)
{
    position: relative;
margin-top: 5px;
    width: 75%;
    padding: 5px 20px;

    text-align: center;

    border: 1px solid #fff;

    -webkit-box-pack: center;

        -ms-flex-pack: center;

            justify-content: center;
}

.p-header__menu2Item:nth-child(4)::after
{
    position: absolute;
    top: 50%;
    right: 10px;

    display: block;

    width: 10px;
    height: 10px;

    content: '';
    -webkit-transform: translateY(-50%) rotate(45deg);
            transform: translateY(-50%) rotate(45deg);
    -webkit-transform-origin: center;
            transform-origin: center;

    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.p-header__menu2Item:nth-child(4):hover
{
    opacity: 1;
    color: #0059a6; 
    background: #fff;
}

.p-header__menu2Item:nth-child(4):hover::after
{
    border-top: 2px solid #0059a6;
    border-right: 2px solid #0059a6;
}

@media screen and (max-width: 1279px)
{
    .p-header__menu2Item
    {
        display: none;
    }
}

.p-header__menu2:after
{
    position: absolute;
    z-index: -10; 
    top: 0;
    left: 0;

    display: block;

    width: 100vw;
    height: 100%;

    content: '';

    background: #0059a6;
}

.p-header__nav
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.p-header__btn
{
    font-family: 'KoHo', sans-serif;
    font-size: 16px;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;

    width: 120px;
    height: 60px;
    margin-left: 10px; 

    color: #fff;

    -webkit-box-align: center;

        -ms-flex-align: center;

            align-items: center;
}

.p-header__icon
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    height: 36px; 

    text-align: center;

    -webkit-box-align: end;

        -ms-flex-align: end;

            align-items: flex-end;
}

/* p-gnav
-------------------------------------------------------------------------- */
.p-gnav__list
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -ms-flex-wrap: wrap;

        flex-wrap: wrap;
}

.p-gnav__list--head
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: center;

        -ms-flex-align: center;

            align-items: center;
}

.p-gnav__item
{
    font-weight: bold;
}

@media screen and (max-width: 767px)
{
    .p-gnav__item
    {
        width: 50%;
        margin: 0vw 0vw 4vw 0vw;
    }
}

@media screen and (min-width: 768px)
{
    .p-gnav__item
    {
        width: 33.33%;
        margin-bottom: 2em;
    }
}

.p-gnav__item--home,
.p-gnav__item--mail
{
    font-family: 'KoHo', sans-serif;
    font-weight: 700;
}

.p-gnav__item--tel
{
    font-family: 'KoHo', sans-serif;
    font-weight: 700; 

    width: 100%;
}

@media screen and (min-width: 768px)
{
    .p-gnav__item--tel
    {
        width: 50%;
    }
}

@media screen and (min-width: 1280px)
{
    .p-gnav__item--tel
    {
        width: 60%;
    }
}

@media screen and (min-width: 768px)
{
    .p-gnav__item--home
    {
        width: 100%;
    }
}

@media screen and (min-width: 1024px)
{
    .p-gnav__item--home
    {
        width: 30%;
    }
}

@media screen and (min-width: 768px)
{
    .p-gnav__item--tel
    {
        width: 100%;
    }
}

@media screen and (min-width: 1024px)
{
    .p-gnav__item--tel
    {
        width: 50%;
    }
}

.p-gnav__title
{
    font-family: 'KoHo', sans-serif;
    font-weight: 700;
    line-height: 1;

    position: relative;

    margin-top: .5em;
    margin-bottom: .75em;

    vertical-align: baseline; 
    letter-spacing: .05em;

    color: #fff;
}

@media screen and (max-width: 767px)
{
    .p-gnav__title
    {
        font-size: 56px;
        font-size: 7.47vw;

        padding: .67vw 0vw 0vw 5.33vw;
    }
}

@media screen and (min-width: 768px)
{
    .p-gnav__title
    {
        font-size: 38px;
        font-size: 3.8rem;

        padding-top: 5px;
        padding-left: 35px;
    }
}

.p-gnav__title::before
{
    position: absolute;
    top: 50%;
    left: 0;

    display: block;

    content: '';
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);

    background-color: #00b2a3;
}

@media screen and (max-width: 767px)
{
    .p-gnav__title::before
    {
        width: 4vw;
        height: 1.6vw;
    }
}

@media screen and (min-width: 768px)
{
    .p-gnav__title::before
    {
        width: 25px;
        height: 8px;
    }
}

.p-gnav__link
{
    text-decoration: none; 

    color: #fff;
}

@media screen and (max-width: 767px)
{
    .p-gnav__link
    {
        font-size: 34px;
        font-size: 4.53vw;
    }
}

@media screen and (min-width: 768px)
{
    .p-gnav__link
    {
        font-size: 20px;
        font-size: 2rem;
    }
}

.p-gnav__link--head
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: center;

        -ms-flex-align: center;

            align-items: center;
}

@media screen and (max-width: 767px)
{
    .p-gnav__link--head
    {
        font-size: 52px;
        font-size: 6.93vw;
    }
}

@media screen and (min-width: 768px)
{
    .p-gnav__link--head
    {
        font-size: 36px;
        font-size: 3.6rem;
    }
}

.p-gnav__icon
{
    font-size: 0;

    text-align: left;
}

@media screen and (max-width: 767px)
{
    .p-gnav__icon
    {
        width: 9.33333vw;
        margin: 0vw 2.67vw 0vw 0vw;
    }
}

@media screen and (min-width: 768px)
{
    .p-gnav__icon
    {
        margin-right: 10px;
    }
}

@media screen and (max-width: 767px)
{
    .p-gnav__icon img
    {
        width: 100%;
    }
}

@media screen and (max-width: 767px)
{
    .p-gnav__icon--mail
    {
        width: 8vw;
    }
}

.p-gnav__contact
{
    text-align: center; 

    color: #fff;
}

@media screen and (max-width: 767px)
{
    .p-gnav__contact
    {
        margin: 8vw 0vw 0vw 0vw;
    }
}

@media screen and (min-width: 768px)
{
    .p-gnav__contact
    {
        margin-top: 50px;
    }
}

@media screen and (max-width: 767px)
{
    .p-gnav__logo
    {
        width: 48vw;
        margin: 0vw auto 8vw auto;
    }
}

@media screen and (min-width: 768px)
{
    .p-gnav__logo
    {
        width: 260px;
        margin: 0 auto 20px;
    }
}
