@charset "UTF-8";

/*-------------------------------------------------------------------------------------------------------------------
    header.css / kanekalon
---------------------------------------------------------------------------------------------------------------------
*/

.pdf {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0.3;
    z-index: 100;
}

.pdf_toggle {
    position: fixed;
    top: 8px;
    right: 8px;
    font-size: 10px;
}

.pdf_toggle:hover {
    background-color:#c0c0c0;
    cursor: pointer;
}

/*-------------------------------------------------------------------------------------------------------------------
*/

.top_image {
    display: block;
    position: relative;
    width: 100%;
    min-height: 139px;
    margin: 0;
    padding: 0;
    background-color: rgba(220, 220, 220, 1.0);
}

.top_image_small {
    display: block;
    position: relative;
    width: 100%;
    height: 139px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgba(220, 220, 220, 1.0);
}

.top_logo {
    position: absolute;
    top: 2.4%;
    left: 2px;
    width: 100%;
}

.top_logo_small {
    position: absolute;
    top: 22px;
    left: 0;
    width: 100%;
    background-color: transparent;
}

.top_logo_image {
    width: 16.4%;
    margin: 0 auto;
}

.side_logo {
    position: absolute;
    bottom: 6.1%;
    left: 5.66%;
    width: 29.4%;
}

.top_text {
    position: absolute;
    right: 37px;
    bottom: 24px;
    display: block;
    width: auto;
    height: 34px;
    margin: 0;
    padding: 8px 24px 8px 24px;
    font-size: 17px;
    line-height: 17px;
    letter-spacing: 0.10em;
    text-align: center;
    vertical-align: top;
    text-decoration: none;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.5);
}

.top_text:hover {
    background-color: rgba(0, 0, 0, 0.7);
}


.top_text2 {
  position: absolute;
  bottom: -55px;
  right: 0;
  width: 40%;
  font-size: 0.8em;
  text-align: left;
  z-index: 10;
  padding: 0;
  box-sizing: border-box;
}


.top_menu {
    display: block;
    position: absolute;
    left: 0;
    top: 9.9%;
    width: 100%;
    height: 48px;
    text-align: center;
    border-bottom: 1px solid #ffffff;
    /*background-color: rgba(0, 255, 0, 0.5);*/
}

.top_menu_mask {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(9.9% + 48px);
    text-align: center;
    /*border-bottom: 1px solid #ffffff;*/
    background-color: rgba(0, 0, 0, 0.1);
}

.top_menu_small {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 48px;
    text-align: center;
    /*background-color: rgba(0, 255, 0, 0.5);*/
}

/*-------------------------------------------------------------------------------------------------------------------
*/


/*-------------------------------------------------------------------------------------------------------------------
*/

.page_top_button {
    -webkit-appearance: none;
    appearance: none;
    position: fixed;
    bottom: 16px;
    right: 16px;
    padding: 4px 16px;
    font-size: 1rem;
    border-radius: 4px;
    border: none;
    outline: none;
    cursor: pointer;
    color: #ffffff;
    background-color: #404040;
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
    transform: scale(1);
    opacity: 0;
    z-index: 300;
}

.page_top_button:hover {
    transform: scale(1.08);
}

.page_top_button.fadein {
    opacity: 1;
}

.page_top {
    display: block;
    position: fixed;
    bottom: 24px;
    right: 16px;
    width: 48px;
    height: 48px;
    text-decoration: none;
    text-align: center;
    border: none;
    outline: none;
    cursor: pointer;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 24px;
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
    transform: scale(1.0);
    opacity: 0;
    z-index: 300;
}

.page_top::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 9px;
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    mask: url(../images/arrow-up.svg) no-repeat center;
    -webkit-mask: url(../images/arrow-up.svg) no-repeat center;
    /*content: '\f062';*/
    /*font-family: 'Font Awesome 6 Free', serif;*/
    /*font-size: 30px;*/
    /*font-weight: 900;*/
    /*color: #ffffff;*/
    /*line-height: 48px;*/
}

.page_top:hover {
    transform: scale(1.08);
}

.page_top.fadein {
    opacity: 1;
}

/*-------------------------------------------------------------------------------------------------------------------
    PC wide
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (min-width: 1400px) {
}

/*-------------------------------------------------------------------------------------------------------------------
    PC narrow
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 1000px) {
    .top_menu {
        border-bottom: none;
    }

    .top_menu_mask {
        display: none;
    }
}

/*-------------------------------------------------------------------------------------------------------------------
    Smartphone portrait
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 520px) and (orientation: portrait) and (hover: none) and (pointer: coarse) {
    .top_image {
        display: block;
        position: relative;
        width: 100%;
        min-height: 95px;
        height: auto;
        margin: 0;
        padding: 0;
        background-color: rgba(0, 0, 0, 1.0);
    }

    .top_image_small {
        display: none;
    }

    .top_logo_small {
        display: none;
    }

    .side_logo {
        position: absolute;
        top: 7.8%;
        left: 7.7%;
        width: 62.3%;
    }

    .top_text {
        right: 14px;
        bottom: 12px;
        height: 28px;
        padding: 8px 12px 8px 12px;
        font-size: 11px;
        line-height: 12px;
        letter-spacing: -0.07em;
    }

    .top_text2 {
        position: absolute;
        bottom: 0px;
        right: 0;
        width: 40%;
        font-size: 0.9em;
        text-align: left;
        /*z-index: 10;*/
        padding: 20px 10px;
        box-sizing: border-box;
    }
    
    .page_top {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        border-radius: 24px;
    }

    .page_top::before {
        font-size: 30px;
        line-height: 48px;
    }
}

/*-------------------------------------------------------------------------------------------------------------------
    Smartphone landscape
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 896px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
    .top_image {
        display: block;
        position: relative;
        width: 100%;
        min-height: 95px;
        height: auto;
        margin: 0;
        padding: 0;
        background-color: rgba(0, 0, 0, 1.0);
    }

    .top_image_small {
        display: none;
    }

    .top_logo_small {
        display: none;
    }

    .side_logo {
        position: absolute;
        top: 7.8%;
        left: 7.7%;
        width: 62.3%;
    }

    .top_text {
        right: 14px;
        bottom: 12px;
        height: 28px;
        padding: 8px 12px 8px 12px;
        font-size: 11px;
        line-height: 12px;
        letter-spacing: -0.07em;
    }
    .top_text2 {
        position: absolute;
        bottom: 0px;
        right: 0;
        width: 40%;
        font-size: 0.9em;
        text-align: left;
        /*z-index: 10;*/
        padding: 20px 10px;
        box-sizing: border-box;
    }   
    
}
/*-------------------------------------------------------------------------------------------------------------------
    Mobile用: 画面幅が1000px以下の時のスタイル
---------------------------------------------------------------------------------------------------------------------
*/
@media screen and (max-width: 1000px) {
  .top_text2 {
    bottom: -65px; /* 例として、-100pxに調整 */
    width: 100%;
    padding: 0 15px;
    /* その他のスタイルは必要に応じて調整 */
  }
}

/*-------------------------------------------------------------------------------------------------------------------
    Mobile用: 画面幅が520px以下の時のスタイル
---------------------------------------------------------------------------------------------------------------------
*/
@media screen and (max-width: 520px) {
  .top_text2 {
    bottom: -54px; /* 例として、-120pxに調整 */
    width: 100%;
    font-size: 0.5em;
    letter-spacing: -0.03em;
    padding: 0 15px;
    /* その他のスタイルは必要に応じて調整 */
  }
}

/*.top_text2 {*/
/*    bottom: -65px; !* 例として、-120pxに調整 *!*/
/*    width: 100%;*/
/*    padding: 0 15px;*/
/*    !* その他のスタイルは必要に応じて調整 *!*/
/*}*/
}