body {
    background-image: url(../img/sakura.jpg);
    height: 100vh;
    font-family: 'Yusei Magic', sans-serif;
}

@media screen and (max-width: 780px) {
    body {
        background-size: cover;
    }
}
/* hamburgerここから */
	/* inputを非表示 */
    .input-hidden{
        display: none;
    }
        /* label */
    .hamburger-demo-switch{
        cursor: pointer;
        position: absolute;
        right: 3%;
        top: 0; /* ハンバーガーアイコンの位置（上から） */
        z-index: 9999;
        width: 4em; /* アイコン（クリック可能領域）の幅 */
        height: 4em; /* アイコン（クリック可能領域の）高さ */
    }
    /* メニュー展開時にハンバーガーアイコンを固定 */
    #hamburger-demo1:checked ~ .hamburger-demo-switch{
        position: fixed;
    }
    /* ハンバーガーアイコン */
    .hamburger-switch-line1, .hamburger-switch-line1:before, .hamburger-switch-line1:after{
        width: 25px;
        height: 3px;
        background: #333; /* ハンバーガーアイコンの色 */
        position: absolute;
        top: 50%;
        left: 50%;
        transition: .3s;
        content: "";
    }
    .hamburger-switch-line1{
            transform: translate(-50%, -50%);
    }
    .hamburger-switch-line1:before{
        transform: translate(-50%, -300%);
    }
    .hamburger-switch-line1:after{
        transform: translate(-50%, 200%);
    }
    /* ハンバーガーアイコン･アニメーション */
    #hamburger-demo1:checked ~ .hamburger-demo-switch .hamburger-switch-line1{
        width: 0;
    }
    #hamburger-demo1:checked ~ .hamburger-demo-switch .hamburger-switch-line1:before{
        transform: rotate(45deg) translate(-40%, 325%);
    }
    #hamburger-demo1:checked ~ .hamburger-demo-switch .hamburger-switch-line1:after{
        transform: rotate(-45deg) translate(-40%, -325%);
    }
    /* メニューエリア */
    .hamburger-demo-menuwrap{
        position: fixed;
        height: max-content;
        background: #fafafa; /* メニューエリアの背景色 */
        padding: 50px 0 0 0;
        margin-left: 150px;
        z-index: 9998;
        transition: .3s;
        overflow-y: scroll; /* メニュー内容が多い場合に縦スクロールする */
        top: 0;
        left: 100%;
        width: 100%;
    }
    /* メニューリスト */
    .hamburger-demo-menulist{
        margin-right: 3%;
        padding-left: 5% !important; /* !important不要な場合もあり */
        list-style: none;
    }
    .hamburger-demo-menulist li a{
        text-decoration: none;
        color: #333; /* メニューリストの文字色 */
        display: block;
        padding: .5em 0;
    }
    /* メニューエリア･アニメーション */
        /* 右から */
    #hamburger-demo1:checked ~ .hamburger-demo-menuwrap{
        left: 30%;
    }
        /* コンテンツカバー */
    #hamburger-demo1:checked ~ .hamburger-demo-cover{
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 9997;
        background: rgba(3,3,3,.5);
        display: block;
    }

    /* PCではハンバーガーメニューを表示しない */
    @media (min-width: 992px){
        .hamburger-demo-menubox{
            display: none;
        }
    }
#homeIcon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    visibility: hidden;
    transition: visibility 0.3s ease;
    z-index: 3;
}

#homeIcon.visible {
    visibility: visible;
}

#homeIconIcon {
    opacity: 0.7;
    color: #ff8080;
    border: solid #ff8080;
    border-radius: 15px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

#homeIconIcon.clicked {
    color: red;
    border-color: red;
}

@media screen and (max-width: 780px) {
    #homeIconIcon {
        font-size: 1.5em;
    }
}

header {
    width: 100%;
    height: 150px;
    padding-top: 10px;
}

.header_top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 25px;
    padding: 30px 180px 0 180px;
}

@media screen and (max-width: 780px) {
    .header_top {
        display: flex;
        flex-direction: column;
    }
}

.header-left {
    margin-left: 5px;
}

.header-left > a {
    margin-left: 100px;
    text-decoration: none;
    color: black;
}

.header-left > a:hover {
    color: #767676;
}

@media screen and (max-width: 780px) {
    .header-left > a {
        font-size: 30px;
        text-align: center;
        white-space: nowrap;
        margin: 0;
        margin-right: 200px;
    }
}

.header-right {
    display: flex;
    align-items: center;
    margin-right: 100px;
}

@media screen and (max-width: 780px) {
    .header-right {
        display: flex;
        flex-direction: column;
        margin-right: 0;
        padding-right: 30px;
        margin-left: 130px;
    }
}

.contact {
    text-align: right;
    margin-right: 50px;
}

@media screen and (max-width: 780px) {
    .contact  {
        width: max-content;
        line-height: 30%;
        margin-right: 0;
    }
}

.numbertime {
    font-size: 12px;
}

@media screen and (max-width: 780px) {
    .numbertime {
        margin-left: 20px;
    }
}

@media screen and (max-width: 780px) {
    .contact > .number {
        margin-top: 20px;
        display: flex;
        align-items: center;
    }
}

@media screen and (max-width: 780px) {
    .cb_parent {
        margin-left: 50%;
        width: max-content;
    }
}

.contact_btn {
    display: flex;
    align-items: center;
    border: solid #f35a64;
    padding: 10px;
    margin-right: 5px;
    font-size: 15px;
    border-radius: 15px;
}

.contact_btn:hover {
    background-color: #f35a64;
}

@media screen and (max-width: 780px) {
    .contact_btn {
        margin-top: 10px;
        display: flex;
        align-items: center;
    }
}

.contact_btn > p {
    margin-left: 5px;
}

.h_contact > a {
    color: black;
    text-decoration: none;
}

@media screen and (max-width: 780px) {
    .menu_btn {
        display: none;
        position: absolute;
        /* top: 60px; */
        /* right: 10px; */
        background-color: #333;
        /* padding: 10px; */
    }
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    display: none;
}

@media screen and (max-width: 780px) {
    .hamburger-menu {
        display: flex;
    }    
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #333;
    margin-top: 4px;
}

.menu_item{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
}

@media screen and (max-width: 780px) {
    .menu_item {
        /* display: flex; */
        flex-direction: column;
        /* margin: 0; */
        /* padding: 0; */
        padding-top: 0;
        /* justify-content: center; */
    }
}

@media screen and (max-width: 780px) {
    .menu_item > li > a {
        /* text-align: center; */
    }
}

@media screen and (max-width: 780px) {
    .show-menu {
        display: flex;
        top: 219px;
        height: 180px;
        width: 100%;
        right: 0;
        z-index: 4;
    }
}

@media screen and (max-width: 780px) {
    .show-menu > ul > li > a {
        color: whitesmoke;
        line-height: 200%;
        margin-left: 80px;
    }
}


.mi_home > a {
    text-decoration: none;
    color: black;
    font-size: 20px;
    padding:0 70px;
}

@media screen and (max-width: 780px) {
    .mi_home > a {
        text-decoration: underline white;
    }
}

.mi_home > a:hover {
    border-bottom: 2px solid #6e9b50;
}

.mi_detail > a {
    text-decoration: none;
    color: black;
    font-size: 20px;
    padding:0 70px;
}

@media screen and (max-width: 780px) {
    .mi_detail > a {
        text-decoration: underline white;
    }
}

.mi_detail > a:hover {
    border-bottom: 2px solid #6e9b50;
}

.mi_contact > a {
    text-decoration: none;
    color: black;
    font-size: 20px;
    padding:0 70px;
}

@media screen and (max-width: 780px) {
    .mi_contact > a {
        text-decoration: underline white;
    }
}

.mi_contact > a:hover {
    border-bottom: 2px solid #6e9b50;
}


.mi_access > a {
    text-decoration: none;
    color: black;
    font-size: 20px;
    padding: 0 70px;
}

@media screen and (max-width: 780px) {
    .mi_access > a {
        text-decoration: underline white;
    }
}

.mi_access > a:hover {
    border-bottom: 2px solid #6e9b50;
}



/*main*/
/* main {
    background-image: url(../img/sakura.jpg);
    height: 100%;
} */

.top {
    background-image:url(../img/town1.jpg);
    height: 400px;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    /* text-align: center; */
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 780px) {
    main > .top {
        background-size: cover;
        margin-top: 15%;
        height: 200px;
    }
}


.top::before {  
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: black;
    opacity: 0.4;
    z-index: 1;
} 


.top > .union_text {
    display: flex;
    justify-content: center;
    align-items: center;
}

.top > .union_text > p {
    font-size: 20px;
    position: relative;
    z-index: 3;
    color: white;
    line-height: 200%;
    width: max-content;
    /* background-color: yellowgreen; */
    text-align: center;
} 

@media screen and (max-width: 780px) {
    .top > .union_text > p {
        /* text-align: left; */
        width: 100%;
        line-height: 120%;
        font-size: 15px;
        margin: 0 15px;
    }
}


.top > div > a {
    position: relative;
    font-size: 20px;
    z-index: 3;
    color: white;
    text-decoration: none;
    border-bottom: dotted 2px #6cf;
    /* background-color: #339900; */
}

.top > div > a:hover {
    background: linear-gradient(transparent 60%, #6cf 60%);
    border-bottom: none;
}

.company_detail {
    margin-top: 4%;
}

@media screen and (max-width: 780px) {
    .top > p {
        white-space: nowrap;
    }
}

.skill_text {
    font-size: 30px;
    margin: 50px 0 0 150px;
    display: flex;
    align-items: center;
}

.skill_text::before,
.skill_text::after {
    content: '';
    width: 70px;
    height: 3px;
    background-color: #e3bf00;
}

.skill_text::before {
    margin-right: 20px;
}

.skill_text::after {
    margin-left: 20px;
}

@media screen and (max-width: 780px) {
    .skill_text {
        margin: 10px 0;
        font-size: 25px;
    }
}

.skill_detail1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.skill_detail > .skill_detail1 {
    position: relative;
    height: 200px;
    margin-bottom: 5%;
    overflow: hidden;
}

@media screen and (max-width: 780px) {
    .skill_detail >.skill_detail1 {
        margin-bottom: 0;
    }
}
    
.skill_detail > .skill_detail1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../img/policy.jpg); /* 画像を設定 */
    background-size: 40%;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(50%); /* 画像に黒いエフェクトをかける */
    z-index: 1;
}

@media screen and (max-width: 780px) {
    .skill_detail > .skill_detail1::before {
        background-size: 70%;
    }
}

.skill_policy > a {
    text-decoration: none;
    color: white;
    position: relative;
    z-index: 2;
    background: linear-gradient(transparent 70%, green 70%);
}

.skill_policy > a:hover {
    background: linear-gradient(transparent 0, green 0);
}


@media screen and (max-width: 780px) {
    .skill_policy > a {
        font-size: smaller;
    }
}

@media screen and (max-width: 780px) {
    #downloadButton1 > a {
        padding: 10px;
    }
}

.policydl {
    margin-top: 4%;
}

.policydl > a {
    color: white;
    position: relative;
    z-index: 2;
    background-color: #eb4848;
    width: max-content;
    padding: 20px;
    font-size: smaller;
    border-radius: 30px;
    border: solid #ebcedf 2px;
    text-decoration: none;
}

.policydl > a:hover {
    background-color: #ff8080;
    border: solid #eb4848 2px;
}


.skill_detail2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.skill_manage > a {
    text-decoration: none;
    color: white;
    position: relative;
    z-index: 2;
    background: linear-gradient(transparent 70%, green 70%);
}

.skill_manage > a:hover {
    background: linear-gradient(transparent 0, green 0);
}

@media screen and (max-width: 780px) {
    .skill_manage > a {
        font-size: smaller;
    }
}

@media screen and (max-width: 780px) {
    #downloadButton2 > a {
        padding: 10px;
    }
}

.managedl {
    margin-top: 4%;
}

.managedl > a {
    color: white;
    position: relative;
    z-index: 2;
    background-color: #eb4848;
    width: max-content;
    padding: 20px;
    font-size: smaller;
    border-radius: 30px;
    border: solid #ebcedf 2px;
    text-decoration: none;
}

.managedl > a:hover {
    background-color: #ff8080;
    border: solid #eb4848 2px;
}


.skill_detail > .skill_detail2 {
    position: relative;
    height: 200px;
    margin-bottom: 5%;
    overflow: hidden;
}

@media screen and (max-width: 780px) {
    .skill_detail >.skill_detail2 {
        margin-bottom: 0;
    }
}
    
.skill_detail > .skill_detail2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../img/manage.jpg); /* 画像を設定 */
    background-size: 40%;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(50%); /* 画像に黒いエフェクトをかける */
    z-index: 1;
}

@media screen and (max-width: 780px) {
    .skill_detail > .skill_detail2::before {
        background-size: 70%;
    }
}


.skill_detail3 {
    font-size: 20px;
    margin: 3% 0 2% 15%;
}

@media screen and (max-width: 780px) {
    .skill_detail3 {
        margin: 0;
    }
}

@media screen and (max-width: 780px) {
    .skill_detail3 > p {
        font-size: smaller;
        text-align: center;
        margin: 0 25px;
        line-height: 130%;
    }
}

.skill_hp > a {
    color: black;
    text-decoration: none;
    border-bottom: dashed 2px blue;
}

.skill_hp > a:hover {
    color: blue;
    border-bottom: none
}

.specific_detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.specific > .specific_detail {
    position: relative;
    height: 200px;
    margin-bottom: 5%;
    overflow: hidden;
}
    
.specific > .specific_detail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../img/cost.jpg); /* 画像を設定 */
    background-size: 40%;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(50%); /* 画像に黒いエフェクトをかける */
    z-index: 1;
}

@media screen and (max-width: 780px) {
    .specific > .specific_detail::before {
        background-size: 70%;
    }
}

.specific_text {
    font-size: 30px;
    margin: 50px 0 20px 150px;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 780px) {
    .specific_text {
        margin: 10px 0;
        font-size: 25px;
    }
}

.specific_text::before,
.specific_text::after {
    content: '';
    width: 70px;
    height: 3px;
    background-color: #e3bf00;
}

.specific_text::before {
    margin-right: 20px;
}

.specific_text::after {
    margin-left: 20px;
}

.specific_cost > a {
    text-decoration: none;
    color: white;
    position: relative;
    z-index: 2;
    background: linear-gradient(transparent 70%, green 70%);
}

.specific_cost > a:hover {
    background: linear-gradient(transparent 0, green 0);
}

@media screen and (max-width: 780px) {
    .specific_cost > a {
        font-size: smaller;
    }
}

@media screen and (max-width: 780px) {
    #downloadButton3 > a {
        padding: 10px;
    }
}

.costdl {
    margin-top: 4%;
}

.costdl > a {
    color: white;
    position: relative;
    z-index: 2;
    background-color: #eb4848;
    width: max-content;
    padding: 20px;
    font-size: smaller;
    border-radius: 30px;
    border: solid #ebcedf 2px;
    text-decoration: none;
}

.costdl > a:hover {
    background-color: #ff8080;
    border: solid #eb4848 2px;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 4;
    
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    width: 25%;
    text-align: center;
    line-height: 170%;
}

@media screen and (max-width: 780px) {
    .popup-content {
        width: 70%;
    }
}


@media screen and (max-width: 780px) {
    .popup-ask > p {
        margin-bottom: 10px;
    }
}

#popup_box{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;   
}

.bottom {
    background-image: url(../img/town2.jpg);
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding: 30px 0;
}

.bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
}

.bottom::before {    
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    opacity: 0.6;
    z-index: 1;
}

@media screen and (max-width: 780px) {
    .contact2 {
        display: flex;
        flex-direction: column;
    }
}

.contact2 {
    position: relative;
    z-index: 2;
}

.text-contact {
    margin: 0 0 30px 0;
    font-size: 20px;
    text-align: center;
    line-height: 150%;
}

@media screen and (max-width: 780px) {
    .text-contact {
        margin-right: 13%;
    }
}

.mc_tel{
    text-decoration: none;
    color: black;
}

.main-contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100vw;
}

@media screen and (max-width: 780px) {
    .main-contact {
        display: flex;
        flex-direction: column;
    }
}

.number2 {
    padding-right: 10px;
}

.mc_detail {
    display: flex;
    flex-direction: column;
    margin-right: 200px;
}

@media screen and (max-width: 780px) {
    .mc_detail {
        padding-bottom: 20px;
    }
}

.mc_number {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 10px;
}

@media screen and (max-width: 780px) {
    .mc_number {
        width: max-content;
        margin-left: 150px;
    }
}

.mc_btn {
    display: flex;
    align-items: center;
    border: solid #f35a64;
    padding: 30px;
    border-radius: 15px;
}

@media screen and (max-width: 780px) {
    .mc_btn {
        padding: 5px 0 5px 30px;
    }
}

.mc_btn:hover {
    background-color: #f35a64;
}

@media screen and (max-width: 780px) {
    .mcb_parent {
        margin: 0 30px;
    }
}

.mc_tel {
    font-size: 30px;
}

.mc_contactbtn {
    margin-left: 5px;
}

.mc_contactbtn > a {
    text-decoration: none;
    color: black;
    font-size: 25px;
}


.mc_time {
    line-height: 23px;
    margin-left: 30px;

}

@media screen and (max-width: 780px) {
    .mc_time {
        width: max-content;
        font-size: 13px;
        margin-left: 165px;
    }
}

/* footer */
.footer-left {
    display: flex;
    justify-content: space-between;
    padding: 2% 15%;
    /* background-color: #99cc99; */
}

@media screen and (max-width: 780px) {
    .footer-left {
        flex-direction: column;
        padding: 0;
    }
}

.footer-title {
    font-size: 30px;
    margin-bottom: 10px;
}

@media screen and (max-width: 780px) {
    .footer-title {
        margin-top: 10px;
        font-size: 25px;
    }
}

.footer-address {
    font-size: larger;
    line-height: 30px;
    margin-left: 20px;
}

.footer-right {
    border: solid 2px #339900;
}

@media screen and (max-width: 780px) {
    .footer-right > iframe {
        width: 100%;
    }
}

.copyright > p {
    height: 50px;
    text-align: center;
    background-color: #6e9b50;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

@media screen and (max-width: 780px) {
    .copyright {
        margin-top: 10px;
    }
}

.skill_policy {
    font-size: larger;
}

.skill_manage {
    font-size: larger;
}

.specific_cost {
    font-size: larger;
}