﻿/* 中部版 CSS Document   */
/* 修正日 20240605       */

/*-----------------------------------*/
/* 中部事務局 採用ページ用           */
/*-----------------------------------*/

/* ヒーロー文字*/
.main_hero {
    position: relative;
    height: 210px;
}

.main_hero .txt {
    position: absolute;
    top: 5%;
    left: 10%;
    font-size: 3.5rem;
    z-index: 20;
}

@media screen and (max-width: 480px){
    .main_hero .txt {
        Font-size: 7vw;
    }
}

.main_hero .txt span{
    color: #235BC8;
}

.main_hero .img {
    position: absolute;
    top: -50px;
    right: 25%;
    width: 200px;
    height: 200px;
    object-fit: cover;
    z-index: 10;
}

/* ボタン */
.main_hero_nav ul {
    width: 100%;
    display: flex;
    flex-wrap:wrap;
    list-style: none;
    padding-left: 0;
}

.main_hero_nav li {
    padding-right: 56px;
}

.main_hero_nav .btn {
    text-decoration: none;
    display: block;
    border: 1px solid #235BC8;
    border-radius: 2px;
    text-align: center;
    position: relative;
    width: 200px;
    padding: 15px 10px;
    margin-bottom: 15px;
}


.main_hero_nav .btn:hover {
    background-color:#235BC8;
    color: #ffffff;
    transition: all .4s ease;
}

/* マウスオーバーした際のデザイン */
.main_hero_nav .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    transition: all 0.4s;
    border: 1px solid #235BC8; /* 枠の色 */
    transform: scale(1.3,1.5);
    opacity: 0;
    z-index: 1;
}

.main_hero_nav .btn:hover::after,
.main_hero_nav .btn:active::after {
    opacity: 1;
    transform: scale(1,1);
}

@media screen and (max-width: 480px){
    .main_hero_nav .btn {
        width: 100%;
    }
    .main_hero_nav li{
        width: 100%;
        padding: 0;
    }
    .main_hero_nav .btn::after {
        width: 100%;
        transform: scale(1,1);
    }
}

.red-bold{
    color: red;
    font-weight: bold;
}

h2.underbar{
    position: relative;
    border-bottom: 3px solid #dcdcdc;
    z-index: 10;
}

h2.underbar::after{
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    position: absolute;
    bottom: -2px;
    left: 0;
    background-color: #235BC8;
    z-index: 20;
}

div .margin_top100  {
    margin-top: 100px;
}

div .margin_top30 {
    margin-top: 30px;
}

div .margin_top50 {
    margin-top: 50px;
}

.p-movie{
    margin-left: 0.5em;
}

.nenrei{
    display: flex;
}

@media screen and (max-width: 768px){
    .nenrei{
        display: block;
    }
}

.nenrei img{
   display: flex;
   justify-content: flex-end; 
   width: 250px;
   min-width: 250px;
}

