@charset 'UTF-8';
/*smart_phone_config*/
/*共通パーツ化が困難だったため追記*/
/* *****************************
 *
 * INDEX file to Scss or Sass.
 *
 **************************** */
.wrap
{
    background-image: url(../images/company/backImage.png);
    background-repeat: repeat-x;
    background-position: 0 -90px;
}
@media screen and (min-width: 768px)
{
    .wrap
    {
        background-position: 0 -22px;
    }
}

#head
{
    width: 1120px;
    margin-right: auto;
    margin-left: auto;
    padding: 30px 0 30px 0; 

    text-align: center;
}
@media screen and (max-width: 768px)
{
    #head
    {
        overflow: hidden;

        width: 100%;
        padding: 15px 0 15px 0;
    }
}
#head img
{
    display: block;
    float: left;

    margin-top: .5%; 
    margin-left: 10%;
}
#head h1
{
    font-size: 227%;

    display: block;

    box-sizing: border-box;
    width: 50%;
    margin: 0 auto;
    padding: 3%;
    padding-left: 9%;

    text-align: center;
    white-space: nowrap; 

    color: #3fa79e;
    background-color: rgba(255, 255, 255, .7);
    background-image: url(../images/company/companyIcon.png);
    background-repeat: no-repeat;
    background-position: 25% 40%;
}
@media screen and (max-width: 768px)
{
    #head h1
    {
        font-size: 153.9%; 

        width: auto;
        margin: 0;
        padding: 8% 0;
        padding-left: 12%;

        background-position: 21% 42%;
        background-size: 9%;
    }
}
#head p
{
    font-size: 243%;
    line-height: 167%; 
    padding-top: 1%;
    text-align: center;
    color: #fff;
}
@media screen and (max-width: 768px){
    #head p{
        font-size: 138.5%;
        font-size: 16px;
        padding: 2% 4%;
    }
}

@media screen and (min-width: 768px){
    .headwrap{
        height: 260px;
    }
}

nav#companyNav{
    margin: 0 0 53px;
}
@media screen and (max-width: 768px){
    nav#companyNav{
        margin: 0 0 20px;
    }
}
nav#companyNav ul{
    font-size: 0;

    width: 100%;
    max-width: 1120px;

    text-align: center;
}
@media screen and (max-width: 768px){
    nav#companyNav ul{
        width: 98%;
        margin: auto;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}
nav#companyNav ul li{
    font-size: 16px;
    display: inline-block;
    box-sizing: border-box;
    width: 19%;
    min-height: 50px;
    margin-right: 3px;
    text-align: center;
    background-color: #666;
}
@media screen and (max-width: 768px){
    nav#companyNav ul li{
        font-size: 12px;
        width: 49.8%;
        min-height: inherit;
        margin-right: auto;
        margin-left: auto;
    }
    nav#companyNav ul li:first-child{
        width: 100%;
    }
    nav#companyNav ul li:first-child a{
        padding: 3%;
    }
}


nav#companyNav ul li.last{
    margin-right: 0;
}
@media screen and (max-width: 768px){
    nav#companyNav ul li.odd{
    }
}

nav#companyNav ul li:hover{
    color: #fff;
    background-color: #3fa79e;
}
nav#companyNav ul li.info{
    background-image: url(../images/company/infoIcon.png);
    background-repeat: no-repeat;
    background-position: 20% 55%;
}
@media screen and (max-width: 768px){
    nav#companyNav ul li.info{
        margin-bottom: 1px; 
        background-image: none;
    }
}
nav#companyNav ul li.sales{
    background-image: url(../images/company/salesIcon.png);
    background-repeat: no-repeat;
    background-position: 20% 55%;
}
@media screen and (max-width: 768px){
    nav#companyNav ul li.sales{
        margin-bottom: 1px; 
        background-image: none;
    }
}
nav#companyNav ul li.group{
    background-image: url(../images/company/groupIcon.png);
    background-repeat: no-repeat;
    background-position: 3% 55%;
}
@media screen and (max-width: 768px){
    nav#companyNav ul li.group{
        background-image: none;
        margin-right: 0;
    }
}
nav#companyNav ul li.voluneer{
    background-image: url(../images/company/VolunteerIcon.png);
    background-repeat: no-repeat;
    background-position: 20% 55%;
}
@media screen and (max-width: 768px){
    nav#companyNav ul li.voluneer{
        background-image: none;
    }
}
nav#companyNav ul li.sdgs{
    background-image: url(../images/company/sdgsicon_W.png);
    background-repeat: no-repeat;
    background-position: 6% 55%;
}
@media screen and (max-width: 768px){
    nav#companyNav ul li.sdgs{
        background-image: none;
        margin-right: 0;
    }
}


nav#companyNav ul li.selected
{
    background-color: #3fa79e;
}
nav#companyNav ul li a
{
    display: block;

    padding: 6%; 

    text-decoration: none;

    color: #fff;
}

nav#salesNav
{
    margin-top: 30px;
}
@media screen and (max-width: 768px)
{
    nav#salesNav
    {
        margin-top: 20px;
    }
}
nav#salesNav ul
{
    font-size: 138.5%;

    width: 97%;
    margin: 0 auto; 
    padding: .7%;

    text-align: center;

    background-color: #ddd;
}
@media screen and (max-width: 768px)
{
    nav#salesNav ul
    {
        font-size: 100%; 

        padding: 0;
    }
}
nav#salesNav ul li.selected a
{
    color: #fff;
    background-color: #3fa79e;
}
nav#salesNav ul li
{
    display: inline-block;

    width: 175px;

    text-align: center;
    vertical-align: bottom;

    border-right: 1px solid transparent;
}
@media screen and (max-width: 768px)
{
    nav#salesNav ul li
    {
        width: 49%;

        border: 1px solid #aaa;
    }
}
nav#salesNav ul li a
{
    display: block;

    padding: 5% 0; 

    text-decoration: none;

    color: #fff;
    background-color: #666;
}
nav#salesNav ul li a:hover
{
    color: #fff;
    background-color: #3fa79e;
}
nav#salesNav ul li:last-child
{
    border: none;
}
@media screen and (max-width: 768px)
{
    nav#salesNav ul li:last-child
    {
        border: 1px solid #aaa;
    }
}
