@charset "utf-8";
@import url('../../../css/common.css');

header,
section {
    font-size: 16px;
    color: #333;
}

header {
    height: 100px;
    border-bottom: 1px solid #000;
}

header h1 {
    height: 100%; 
    display: flex;
    align-items: center;
    justify-content: center;
}

header h1 a { 
   
}

header h1 a span {
    font-family: 'Cafe24-ClassicType';
    margin-right: -15px;
    position: relative;
    z-index: 9;
    display: block;
}
header h1 div { 
    cursor: pointer;
}
header h1 div img {
    height: 60px;
}

main h2 {
    font-family: 'Cafe24-ClassicType';
    font-weight: normal;
    font-size: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #000;
}
main i {
    font-size: 13px;
    color: #ff4b87;
    font-weight: 600;
}
.had .inner {
    max-width: 1600px;
}

.sub_main .tab_menu {
    display: flex;
    margin: 50px 0 30px;
    position: relative;
}

.sub_main .tab_menu li.on {
    background-color: #FF55BB;
    color: #fff;
}

.sub_main .tab_menu li {
    font-size: 20px;
    height: 48px;
    line-height: 48px;
    padding: 0 43px;
    border-radius: 100%;
    border: 1px solid #000;
    margin-right: 25px;
}


/* portfolio */
.portfolio_list {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
}

.portfolio_list .item {
    width: calc(100% / 4 - 12px);
    border: 2px solid #000;
    padding: 15px 15px 60px;
    background-color: #fff;
    margin-bottom: 25px;
    margin-right: 1%;
    position: relative;
}
.portfolio_list .item.on {
    display: block !important;
}
 
.portfolio_list .item:nth-child(4n) {
    margin-right: 0;
}
.portfolio_list .item figure {
    width: 100%;
    max-height: 300px;
    height: calc((100vw - 40px) / 3 - 12px);
    overflow: hidden;
    /* border: 2px solid #000; */
}

.portfolio_list .item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s;
    display: block;
}

.portfolio_list .item .info {
    margin: 30px 0;
}
.portfolio_list .item .info > ul {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
    margin-bottom: 30px;
}

.portfolio_list .item .info > ul li {
    color: #838383;
    font-size: 13px;
    margin-right: 8px;
    line-height: 1.5;
}

.portfolio_list .item .info h4 {
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 5px;
}
.portfolio_list .item .info p {
    line-height: 1.3;
    font-size: 15px;
    margin: 20px 0 0px;
}
.portfolio_list .item .info h4 span {
    font-size: 20px;
    color: #555;
    font-weight: 400;
}
.portfolio_list .item figure {
    position: relative;
}
.portfolio_list .item .date {
    display: block;
    color: #FF55BB;
    font-size: 16px;
    padding-left: 40px;
    /* margin-bottom: 30px; */
    position: relative;
    text-align: right;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.portfolio_list .item .date::before {
    content: '';
    width: 25px;
    height: 25px;
    background: url('../../../img/main_icon_calendar.png') 0 0 / 100% no-repeat;
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
}

.portfolio_list .item:hover figure img {
    transform: scale(1.2);
    transition: 1s;
}
.btn {
    position: absolute;
    bottom: 20px;
    left: 20px;

}
.btn ul li {
    display: inline-block;
    height: 30px;
    font-size: 14px;
    border: 1px solid #000;
    
    /* display: flex; */
    /* align-items: center; */
    border-radius: 3px;
    /* color: #fff; */
    line-height: 30px !important;
}
.btn ul li a {
    padding: 0 20px;
    display: block;
}

.btn ul li:hover {
    background-color: #FF55BB;
    color: #fff;
}