/*ページトップ*/
#company {
    height: 420px;
    background-image: url(../images/company/company_header_bg.jpg);
    background-position: right 16% center;
}
#company .back_title {
    /* top: 7%; */
    bottom: initial;
    margin-top: -12%;
}
#company .head_title {
    top: 22%;
}
#company p {
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translateX(-50%);
    /* display: inline-block; */
    color: rgba(255,255,255,.7);
    white-space: nowrap;
}
#company .company-wrap {
    position: absolute;
    z-index: 20;
    width: 90%;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 80%;
    padding: 30px 0;/*ここ*/
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: white;/*ここ*/
    box-shadow: 0 2px 8px rgba(0,0,0,.2);/*ここ*/
}
a.company_item {
    display: block;
    text-decoration: none;
    width: 28%;
    margin: 0.6em;
    color: black;
    font-size: 1.4vw;
    font-size: max(1.4vw, 15px);
    font-weight: bold;
}
#company .company_item div {
    position: relative;
    padding: 18px 1.5vw;
    padding-right: 3vw;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.5;
    background:white;
    border: solid 1px #d8d8d8;/*ここ*/
}
#company .company_item div::before {
    content: "";
    width: 6px;
    height: 6px;
    border: 0px;
    border-bottom: solid 3px #095133;
    border-right: solid 3px #095133;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: 5%;
    margin-top: -6px;
    transition: .3s;
}
.com_title2 {
    font-size: 12px;
    color: #095133;
}
#company .company_item div:hover {
    background: #f6f6f6;
}
#company .company_item div:hover::before {
    margin-top: -3px;
}
@media screen and (min-width: 1300px){
    #company .company_item div {
        padding: 18px 30px;
    }
    a.company_item {
        font-size: 18px;
    }
}
@media screen and (max-width: 1024px){
    #company .company-wrap {
        width: 93%;
    }
    a.company_item {
        width: 30%;
    }
    .com_title2 {
        font-size: 11px;
    }
}
@media screen and (max-width: 900px){
    #company {
        height: 380px;
    }
    a.company_item {
        width: 40%;
    }
    #company a.company_item div {
        padding-right: 4vw;
    }

}
@media screen and (max-width: 780px){
    #company .back_title {
        margin-top: -21%;
    }
    #company p {
        font-size: 13px;
    }
}
@media screen and (max-width: 650px){
    #company .back_title {
        top: 11%;
    }
    #company .company-wrap {
        padding: 20px 0;
    }
    a.company_item {
        width: 45%;
        font-size: 15px;
        margin: 0.3em;
    }
}
@media screen and (max-width: 600px){
    #company a.company_item div {
        justify-content: center;
        flex-direction: column;
        padding: 12px 0;
    }
}
@media screen and (max-width: 480px){
    #company span.back_title {
        top: 15%;
    }
    a.company_item {
        font-size: 13px;
    }
    .com_title2 {
        font-size: 10px;
    }
    #company a.company_item div::before {
        width: 4px;
        height: 4px;
        margin-top: -4px;
        border-bottom: solid 2px #095133;
        border-right: solid 2px #095133;
    }
}
@media screen and (max-width: 350px){
    #company p {
        font-size: 12px;
    }
    #company a.company_item div::before {
        display: none;
    }
}
/*container*/

.c-block.shade_bg {
    min-height: 700px;
    background: #F6F6F6;
}
.c-block.light_bg {
    min-height: 700px;
}
.c-block {
    position: relative;
    z-index: 0;
    text-align: center;
}
.c-block h2.block_title {
    display: inline-block;
    margin: 0;
    padding: 7px;
    width: 35%;
    min-width: 458px;
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-family: "Hiragino Mincho ProN-W3", "Hiragino Mincho Pro-W3", "ヒラギノ明朝ProN W3", "ヒラギノ明朝Pro W3", 游明朝, "Yu Mincho", YuMincho, "MS PMincho", "MS P明朝", "Noto Serif JP", serif;
    font-size: 25px;
    color: white;
    background: #095133;
}
.band_bg {
    position: absolute;
    z-index: -10;
    bottom: 0;
    left: 0;
    width: 100%;
}
.en-title {
    position: absolute;
    z-index: 100;
    bottom: 0;
    right: 6%;
    font-size: 130px;
    line-height: 1.0;
    font-family: "Hiragino Mincho ProN-W3", "Hiragino Mincho Pro-W3", "ヒラギノ明朝ProN W3", "ヒラギノ明朝Pro W3", 游明朝, "Yu Mincho", YuMincho, "MS PMincho", "MS P明朝", "Noto Serif JP", serif;
    color: rgba(168,168,168,0.3);
}
@media screen and (max-width:780px) {
    .c-block h2.block_title {
        width: 60%;
        min-width: 300px;
        font-size: 22px;
    }
    .c-block p {
        font-size: 14px;
    }
    .en-title {
        font-size: 16vw;
    }
}
@media screen and (max-width: 650px) {
    .c-block p {
        font-size: 13px;
    }
    .en-title {
        bottom: 2%;
        right: 3%;
    }
}
@media screen and (max-width: 480px) {
    .c-block h2.block_title {
        min-width: 260px;
        font-size: 20px;
    }
    .c-block p {
        font-size: 12px;
    }
}
@media screen and (max-width: 400px) {
    .c-block h2.block_title {
        font-size: 18px;
    }
}
/*会社概要*/
#about {
    padding: 100px;
    background-image: url(../images/company/light_band_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top 300px center;
    z-index: -1;
}
#about h2 {
    top: 25%;
}
#about table {
    width: 75%;
    /* padding-top: 25%; */
    padding-top: 265px;
    border-spacing: 0;
    text-align: left;
}
#about tbody {
    vertical-align: bottom;
}
table th {
    width: 25%;
    padding: 23px 0 12px 2.6vw;
    font-weight: normal;
    border-bottom: solid 1px #aaaaaa;
}
table td {
    padding: 23px 0 12px 0;
    border-bottom: solid 1px #aaaaaa;
}
th.al-top {
    vertical-align: top;
}
/* td.short-L {
    width: 56%;
} */
#shop_img {
    position: absolute;
    top: 38%;
    right: 8%;
    width: 32%;
}
#about .band_bg {
    bottom: -10%;
}
@media screen and (max-width: 1024px) {
    #about table {
        font-size: 13px;
    }
}
@media screen and (max-width: 900px) {
    #about {
        padding-top: 300px;
        min-height: 600px;
    }
    #about h2 {
        top: 30%;
    }
    #about table {
        width: 545px;
        margin: 0 auto;
        padding-top: 80px;
    }
    #shop_img {
        top: 48%;
        right: 5%;
    }
}
@media screen and (max-width: 780px) {
    #about {
        padding: 10%;
        padding-top: 300px;
    }
    #about table {
        width: 100%;
    }
    #shop_img {
        top: 51%;
    }
}
@media screen and (max-width: 600px) {
    #about table {
        font-size: 12px;
    }
    #about table td {
        padding-left: 6vw;
    }
}
@media screen and (max-width: 480px) {
    #about table {
        padding-top: 50px;
    }
    #about table th {
        padding-left: 1.7vw;
        background: #efefef;
    }
    #slogan .en-title {
        font-size: 19vw;
    }
}
@media screen and (max-width: 400px) {
    #shop_img {
        display: none;
    }
}
/*コーポレート・スローガン、経営理念*/
#slogan {
    background-image: url(../images/company/shade_band_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
}
#slogan_img {
    width: 27%;
    min-width: 340px;
    padding-top: 55px;
    margin-left: -18px;
}
#slogan p {
    width: 38%;
    min-width: 480px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 150px;
    text-align: justify;
}

.images-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 140px;
}
.images-wrap img {
    display: block;
    width: 43%;
    min-width: 400px;
    padding: 10px 0;
}
@media screen and (max-width: 780px) {
    #philo {
        min-height: 600px;
    }
}
@media screen and (max-width: 600px) {
    #slogan p {
        min-width: initial;
        min-width: auto;
        width: 75%;
        padding-bottom: 110px;
    }
}
@media screen and (max-width: 480px) {
    #slogan_img {
        min-width: initial;
        min-width: auto;
        width: 70%;
    }
    #philo {
        min-height: 500px;
    }
    #philo .en-title {
        bottom: 3%;
    }
    .images-wrap {
        padding-bottom: 0;
    }
    .images-wrap img {
        width: 80%;
        min-width: 280px;
    }
}
@media screen and (max-width: 400px) {
    #philo {
        min-height: 400px;
    }
    .images-wrap {
        padding-top: 50px;
    }
    .images-wrap img {
        padding: 5px 0;
    }
}
/*トップメッセージ*/
#message.c-block {
    min-height: 1400px;
}
.top_box {
    width: 100%;
    height: 430px;
    background: #e2e1dc;
    display: flex;
    justify-content: center;
    text-align: left;

}
.top_box #phrase {
    /* position: relative; */
    /* padding-left: 18%; */
    padding-left: 11%;
    padding-right: 12%;
    margin: 0;
    padding-top: 65px;
    font-size: 30px;
    font-weight: bold;
    font-family: "Hiragino Mincho ProN-W3", "Hiragino Mincho Pro-W3", "ヒラギノ明朝ProN W3", "ヒラギノ明朝Pro W3", 游明朝, "Yu Mincho", YuMincho, "MS PMincho", "MS P明朝", "Noto Serif JP", serif;
    /* color: #552d1e; */
    color: #40220f;
    letter-spacing: .3em;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
}
.top_box #phrase span {
    /* position: absolute;
    top: 17%; */
}
.top_box #name {
    /* position: relative; */
    /* padding: 6%; */
    padding-top: 257px;
    font-size: 17px;
    font-weight: bold;
}
.top_box #name span {
    /* position: absolute;
    left: 0;
    top: 64%; */
    white-space: nowrap;
}
.top_box #president {
    position: relative;
    /* width: 27%; */
    width: 340px;
}
.top_box #president img {
    position: absolute;
    width: 100%;
    bottom: 0;
    object-fit: contain;
}
.in-box {
    /* width: 890px; */
    width: 80%;
    max-width: 890px;
    margin: 0 auto;
    padding: 30px 10%;
    box-sizing: border-box;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,.2)
}

#message .in-box {
    position: absolute;
    top: 370px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 rgb(0,0,0,0);
}
#message .in-box h2 {
    text-align: left;
    /* color: #127d09; */
    color: #006934;
    font-family: "Hiragino Mincho ProN-W3", "Hiragino Mincho Pro-W3", "ヒラギノ明朝ProN W3", "ヒラギノ明朝Pro W3", 游明朝, "Yu Mincho", YuMincho, "MS PMincho", "MS P明朝", "Noto Serif JP", serif;
    padding: 25px 0;
    margin: 0;
}
#message .in-box p {
    text-align: justify;
    padding-bottom: 40px;  
    margin: 0;  
}
@media screen and (max-width: 1024px) {
    #message.c-block {
        min-height: 1500px;
    }
}
@media screen and (max-width: 900px) {
    .in-box {
        width: 85%;
    }
    #group .in-box {
        width: 90%;
    }
    .top_box #name {
        /* padding: 7%; */
    }
    .top_box #phrase {
        padding-right: 5%;
    }
}
@media screen and (max-width: 780px) {
    #message .in-box h2 {
        padding: 17px 0;
    }
}
@media screen and (max-width: 650px) { 
    .top_box #phrase {
        /* padding-right: 0; */
        font-size: 26px;
    }
    .top_box #phrase span {
        top: 14%;
    }
    .top_box #name {
        font-size: 15px;
        padding-top: 260px;
        margin-right: -37px;
    }
    .top_box #president {
        width: 300px;
    }
}
@media screen and (max-width: 600px) {
    .top_box #phrase  {
        margin-right: -35%;
        padding-right: 0;
        /* padding-right: 9%; */
        writing-mode: horizontal-tb;
        -ms-writing-mode: horizontal-tb;
        -webkit-writing-mode: horizontal-tb;
    }
    .top_box #phrase span {
        /* top: 15%; */
        white-space: nowrap;
    }
    .top_box #name {
        /* padding-right: 14%; */
    }
    .top_box #president {
        width: 50%;
        min-width: 240px;
    }
    .in-box {
        padding: 30px 9%;
    }
    #message .in-box h2 {
        font-size: 20px;
    }
    #message .in-box p {
        padding-bottom: 20px;
    }
}
@media screen and (max-width: 500px) {
    #message.c-block {
        min-height: 1600px
    }
}
@media screen and (max-width: 480px) {
    .top_box #phrase  {
        padding-left: 10%;
        margin-right: -60%;
    }
    #message.c-block {
        min-height: 1500px;
    }
    .top_box #phrase {
        padding-right: 0;
    }
    /* .in-box {
        padding: 30px 9%;
    } */
    #message .in-box {
        width: 95%;
    }
    #message .in-box h2 {
        font-size: 18px;
    }
    #group .in-box {
        width: 100%;
    }
}
@media screen and (max-width: 400px) {
    #message.c-block {
        min-height: 1600px;
    }
    .top_box #name {
        font-size: 13px;
    }
}
@media screen and (max-width: 350px) {
    #message.c-block {
        min-height: 1700px;
    }
    #message .in-box h2 {
        padding: 12px 0;
    }
}
/*グループについて*/
#group.c-block {
    padding: 50px;
    padding-top: 100px;
    text-align: justify;
}
#group .in-box {
    margin-bottom: 50px;
    padding-bottom: 70px;
}
#group #mess h2 {
    color: #127d09;
}
#group #mess h2::before {
    content: "";
}
#group #mess p {
    margin: 0;
    padding-top: 15px;
}
#group #gr-list h2 {
    text-align: center;
    padding-bottom: 10px;
    position: relative;
}
#group #gr-list h2::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1.5px;
    background:  #604c3f;
}
.gr_item {
    display: flex;
    justify-content: center;
    padding-top: 60px;
}
.gr_item h3 {
    margin: 0;
    margin-bottom: 20px;
    color: #B28247;
}
.gr_item .contents {
    width: 65%;
    margin-right: 18px;
}
.gr_item .contents p {
    font-size: 13px;
}
.img_box {
    width: 30%;
}
.img_box img {
    width: 100%;
}
@media screen and (max-width: 780px) {
    #group.c-block {
        padding: 13vw 30px 30px;
    }
    #group .in-box h2 {
        font-size: 20px;
    }
    .gr_item h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
}
@media screen and (max-width: 600px) {
    #group .in-box {
        width: 95%;
    }
    .gr_item {
        flex-direction: column;
        align-items: center;
    }
    .gr_item .contents {
        order: 1;
        width: 80%;
        margin: 0 auto;
        padding-top: 15px;
    }
    .gr_item .img_box {
        width: 80%;
    }
}
@media screen and (max-width: 480px) {
    #mess.in-box {
        padding-bottom: 50px;
    }
    .gr_item .contents p {
        font-size: 12px;
    }
}
@media screen and (max-width: 400px) {
    #group .in-box {
        width: 100%;
    }
    #group .in-box h2 {
        font-size: 17px
    }
    .gr_item .contents, .gr_item .img_box {
        width: 100%;
    }
}
/* @media screen and (max-width: 350px) {
    #group .in-box {
        width: 100%;
    }
} */

/*沿革*/
#history {
    min-height: initial;
    min-height: auto;
}
#history img.pc {
    width: 100%;
    max-width: 1100px;
}
#history img.sp {
    display: none;
}
@media screen and (max-width: 1024px) {
    #history {
        padding-bottom: 65px;
    }
}
@media screen and (max-width: 700px) {
    #history img.pc {
        display: none;
    }
    #history img.sp {
        display: block;
        width: 70%;
        min-width: 480px;
        margin: 0 auto;
    }
}
@media screen and (max-width: 500px) {
    #history img.sp {
        width: 100%;
        min-width: auto;
    }
}