﻿.hvr_bg_color1:hover {
    background-color: #efd317;
}
.txt_color3 {
    color: #ffd100;
}
#page10 li a:hover {
    color: #222222;
}
header #logo {
    max-width: 220px;
}
a.d_inline_b.mg_l-5px.mg_r-5px.pd_t-5px.pd_b-5px.pd_l-10px.pd_r-10px.border_rad3.bg_color1.txt_white.shadow-l.motion03s.hvr_opa05 {
    color: black;
}
#cms_6-b .cate_box, #cms_6-b .cate_box .box_txt1, #cms_6-b .cate_box .box_txt2 {
    border-color: #222;
}
#cms_6-b .cate_box:first-of-type{
        border-top: 1px solid #222;
}
a.linkStyle {
    color: #ffbc00;
}
.head_banner a:hover {
    color: #222222;
}
.tel_wrap a {
    color: black;
}
.tel_wrap p {
    margin: 20px;
    background: #ffe100;
    border: 0;
}
.tel_wrap {
    justify-content: space-around;
    display: flex;
}
.link_type1 .link_top .link_title {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    padding-top: 50px!important;
    margin-bottom: 30px;
    color: #474521;
    font-weight: normal;
    background-image: url("../dup/img/link_type1_icon.png");
    background-size: 50px;
    background-position: top center;
    background-repeat: no-repeat;
}
.link_type1 .link_top .link_title {
    font-size: 20px;
    margin-bottom: 50px;
}
.link_type1 .link_top a{
	padding-top: 40px;
	padding-bottom: 40px;
}
.link_type1 .link_top a:hover{
    background-color: #ededeb;
}
.link_type1 .link_top a:hover .link_img1{
    transform: translate(-50%, -50%) scale(1.1,1.1);
    opacity: 0.1;
}
@media screen and (max-width: 667px){
.link_type1 .link_top .link_title{
    font-size: 15px;
}
}

.cate_list li a {
    color: #222222 !important;
}
footer {
    background: #f8f8f8;
}
.bg_color5{
    background:#ffe100;
}
.spinner7 > div {
    background-color: #222;
}
.cms_6-b .cate_box, .cms_6-b .cate_box .box_txt1, .cms_6-b .cate_box .box_txt2 {
   border-color: #222222;
}
.cms_6-b .cate_box:first-of-type {
    border-top: 1px solid #222222;
}
#contents3:before {
    content: "Mansaku Co., Ltd";
    position: absolute;
    bottom: -15px;
    left: 20px;
    font-size: 100px;
    line-height: 100px;
    color: #ffffff91;
    font-family: 'Poppins', sans-serif;
}
#contents1 p.con_no {
    padding-right: 0;
}
#contents1 .con_no::before{
    display:none;
}
.button:hover::after {
    box-shadow: inset 0 0 0 15em #5b5b5b;
}
#main_img:before {
    content: "";
    position: absolute;
    background: #00000029;
    z-index: 2;
    width: 100%;
    height: 100%;
}
div#main_b p {
    color: white;
    font-size: 36px;
    border: 1px solid;
    padding: 50px 100px;
    text-shadow: 0px 0px 5px #00000052;
    position:relative;
}
div#main_b p:before {
    content: "株式会社Mansaku";
    position: absolute;
    background: black;
    font-size: 16px;
    padding: 7px 40px;
    bottom: -19px;
    left: calc(50% - 110px);
}
div#main_b {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
body{
    background: #fffefe;
}
#contents1 {
    text-align: center;
}
#contents1 .box_wrap .box {
    background: #f4da1b;
    width: 170px;
    border: 3px solid #313131;
    height: 170px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #222222;
    font-weight: bold;
    font-size: 18px;
}
#contents1 .box_wrap {
    display: flex;
    justify-content: space-around;
    max-width: 900px;
    margin: 50px auto;
}
#contents3 h3, #contents3 p {
    color: #222222;
}
.main_left {
    width: 50%;
}
.main_right {
    width: 50%;
}
.main_left figure {
    height: 50%;
}
#main_img{
    display:flex;
}
#main_img figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main_right figure{
    height:100%;
}

#contents2 h3 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
}

#contents2 {
    padding: 50px 5% 50px;
    width: 80%;
    margin: auto;
    margin-top: -100px;
        background: #f2f2f2;
    z-index: 3;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 180px;
}
#contents2 .box_wrap {
    display: flex;
    margin-top: 50px;
    justify-content: space-around;
}
#contents2 .box_wrap .box {
    width: 35%;
    border: 1px solid #404040;
    padding: 40px;
    margin: 0 20px;
    background: white;
}
#contents2 .box_wrap .box p {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}
#contents2 ul {
    margin-top: 40px;
}
#contents2 ul li {
    margin: 15px 0;
    padding-left: 25px;
    position: relative;
}
#contents2 ul li:before {
    width: 18px;
    height: 18px;
    content: "";
    position: absolute;
    background: url(Dup/img/check.png) no-repeat;
    background-size: contain;
    left: 0;
}
#contents2 .box_wrap .box a {
    display: inline-block;
    background: black;
    color: white;
    width: 100%;
    text-align: center;
    margin: auto;
    padding: 10px;
    box-sizing: border-box;
    margin-top: 20px;
    transition: all 0.3s;
   
}
#contents2 .box_wrap .box a:hover{
    transform:translateY(-5px);
}
#contents3 .grid_6:last-of-type {
    margin-top: -100px;
}
.con3_contact {
    position: absolute;
    right: 120px;
    bottom: 60px;
}
.con3_contact a {
        color:#222222;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    transition:all 0.3s;
}
.con3_contact a:hover:before{
    left: 10px;
}
.con3_contact a:hover:after{
     right: -89px;
}
.con3_contact a:before {
    width: 130%;
    height: 2px;
    content: "";
    position: absolute;
    background:#222222;
    bottom: -10px;
    left: -5%;
     transition:all 0.3s;
}
.con3_contact a:after {
    width: 40px;
    height: 2px;
    content: "";
    position: absolute;
    background:#222222;
    transform: rotate(40deg);
    bottom: 3px;
    right: -66px;
     transition:all 0.3s;
}

/*--------------------------------------------------タブレット--------------------------------------------------*/
@media screen and (max-width:768px){
    #contents1 .box_wrap .box{
    width: 140px;
    height: 140px;
    font-size: 16px;
}
#contents1 p.txt3 {
    text-align: left;
}
header #logo {
    max-width: 80px;
}
.hamburger__icon.bg_color1 {
    background: #222222;
}
.hamburger__icon:after, .hamburger__icon:before {
    background-color: #222222 !important;
}
#contents2 h3 {
    font-size: 24px;
}
#contents2 .box_wrap {
    flex-direction: column;
    align-items:center;
}
#contents2 .box_wrap .box {
    width: 80%;
    box-sizing: border-box;
    border: 1px solid #404040;
    padding: 40px;
    margin: auto 20px 30px;
    background: white;
}
#contents1 .box_wrap{
    margin-bottom:0;
}
#contents3:before{
    font-size: 60px;
    line-height: 70px;
}
div#main_b p {
    color: white;
    font-size: 26px;
    border: 1px solid;
    padding: 40px 80px;
    text-shadow: 0px 0px 5px #00000052;
    position: relative;
}
}

/*--------------------------------------------------スマホ--------------------------------------------------*/
@media screen and (max-width:667px){
    div#main_b p {
    line-height: 16px;
    font-size: 20px;
    padding: 30px 50px;
}
div#main_b p:before {
    content: "株式会社Mansaku";
    position: absolute;
    background: black;
    font-size: 14px;
    padding: 7px 20px;
    bottom: -19px;
    left: calc(50% - 85px);
}
#contents1 {
    padding-top: 50px;
}
#contents1 .box_wrap {
    margin-bottom: 0;
    flex-wrap: wrap;
}
#contents1 .box_wrap .box {
    width: 130px;
    height: 130px;
    font-size: 14px;
    margin: 10px 0px;
}
#contents2 h3 {
    font-size: 18px;
}
#contents2{
        width: 90%;
        padding: 50px 5% 50px;
}
#contents2 .box_wrap .box {
    width: 90%;
        padding: 25px;
}
#contents2 .box_wrap .box p{
    font-size: 16px;
}
#contents3 .grid_6:last-of-type {
    margin-top: 50px;
}
#contents3:before{
    display:none;
}
.con3_contact {
    bottom: 40px;
}
header #logo {
    max-width: 60px;
}
    .tel_wrap {
    flex-direction: column;
}
.tel_wrap p {
    width: 100% !important;
    margin: 10px 0;
}
.con3_contact{
    display:none;
}
#contents2 .box_wrap{
        margin-top: 30px;
}
.tel_wrap a {
    font-size: 20px;
}
}
