@charset "utf-8";


/* ----------------------------------------------
トップページ
---------------------------------------------- */

/* メインイメージ
---------------------------------------------- */
.mainVisual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
}
.mainVisual::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    position: absolute;
    z-index: 3;
}

.mainVisual_img {
    width: 100%;
    height: 80vh;
	position: relative;
}
.mainVisual_img .slides {
    width: 100%;
    height: 100%;
}
.mainVisual_img .slides li {
    width: 100%;
    height: 100%;
}
.mainVisual_img .slide_box {
    width: 100%;
    height: 100%;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;

}
.mainVisual_img .slide_box.image_top {
	background-position: center 20%;
}
.mainVisual_img .slide_box.image_bottom {
	background-position: center 70%;
}


.mainVisual_img img {
vertical-align:bottom;
}

.mainVisual p {
    font-family: "Roboto", sans-serif;
    color: #fff;
    font-size: clamp(3.5rem, 3.4vw, 4.6rem);
    font-weight: 600;
    text-align: center;
    padding: 0 4.5rem;
    line-height: 1.4;
    letter-spacing:0.1em;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

	width: 100%;
	z-index: 200;
	height: 100%;
}
.mainVisual p .sub {
    display: block;
    font-size: 18px;
    text-align: left;
    font-weight: 400;
    margin-top: 1em;
}
@media screen and (max-width: 1024px) {
    .mainVisual p {
        font-size: clamp(2.5rem, 3.3vw, 3.4rem);
    }
}

@media screen and (max-width: 768px) {
    .mainVisual_img {
        height: 50vh;
    }
    .mainVisual p {
        font-size: clamp(1.8rem, 3.1vw, 2.4rem);
        padding: 0 1rem;
    }
    
    .mainVisual p .sub {
        font-size: 14px;
    }
}

@media screen and (max-width: 666px) {
    
    .mainVisual p {
        line-height: 1.4;
    }
    .mainVisual p .sub {
        font-size: 12px;
    }
}

/* レイアウト
---------------------------------------------- */
.home-content {
    background-color: #fdfbf7;
}
.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 40px 100px 0;
}
section .inner{
    max-width: 1400px;
}

section h2 {
    font-size: clamp(2rem, 2.5vw, 4.8rem);
    font-weight: 400;
    line-height: 1.2;
}

section h2 span {
    display: block;
    font-size: 8rem;
    font-weight: 600;
}

section p {
    letter-spacing: normal;
}

section p + p {
    margin-top: 1em;
}

@media screen and (max-width: 1024px) {
    .container {
        padding: 40px 40px 0;
    }
    section h2 {
        font-size: 3.2rem;
    }
    
    section h2 span {
        font-size: 6rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 20px 20px 0;
    }
    section h2 {
        font-size: 2.4rem;
    }
    section h2 span {
        font-size: clamp(3rem, 9vw, 5rem);
    }
}



/* 代表挨拶
---------------------------------------------- */
#greeting {
    padding: 150px 100px 85px 0;
    position: relative;
}
#greeting::before {
    content: '';
    display: block;
    width: calc(100% + ((100vw - 100%) / 2));
    height: 100%;
    background-color: #f4efe7;
    /* background-color: #FFF4CF; */
    border-radius: 0 50px 50px 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
}
#greeting .inner {
    padding-left: 100px;
}

#greeting h2 span {
    display: inline-block;
    font-size: clamp(3rem, 3vw, 6rem);
    font-weight: 500;
    letter-spacing: 0.25em;
    color: #fff;
    background-color: #D32435;
    padding: 16px calc(16px - 0.25em) 16px 16px;
    margin-bottom: 20px;
}


.greeting-text {
    width: 60%;
    max-width: 650px;
}

.greeting-text p {
}

.greeting-text p:last-child {
}
.greeting-text p.name {
	font-size: 1.8rem;
	text-align:right;
    line-height: 1.5;
}

.greeting-text .name span.company-name {
    font-size: 2.6rem;
    display: inline-block;
    margin: 8px 0;
}
.greeting-text .name span.president-name {
    font-size: 2.2rem;
}

@media screen and (max-width: 1299px) {
    .greeting-inner {
        flex-direction: column;
    }
    
    .greeting-text {
        width: 100%;
        max-width: unset;
        margin-top: 40px;
    }
}

@media screen and (max-width: 768px) {
    #greeting {
        padding: 70px 40px 70px 20px;
    }
    #greeting::before {
        /* border-radius: 0 50px 50px 0; */
    }
    #greeting .inner {
        padding-left: 0;
    }

    #greeting h2 {
    }

    #greeting h2 span {
        letter-spacing: 0.1em;
    }
    #greeting h2 span:first-of-type {
        padding: 16px 0 16px 8px;
    }
    #greeting h2 span:nth-of-type(2) {
        padding: 16px calc(8px - 0.1em) 16px 0;
    }

    .greeting-text p.name {
        font-size: 1.6rem;
    }

    .greeting-text .name span.company-name {
        font-size: 2.2rem;
    }
    .greeting-text .name span.president-name {
        font-size: 2rem;
    }
    
}

@media screen and (max-width: 449px) {
    #greeting {
        padding: 70px 20px 70px 0;
    }
    #greeting h2 span {
        font-size: clamp(1.8rem, 6.2vw, 2.8rem);
    }
    
}

/* 会社概要
---------------------------------------------- */
#company {
    margin: 200px 0 40px;
    padding: 80px 0 100px 200px;
    position: relative;
}
#company::before {
    content: '';
    display: block;
    width: calc(100% + ((100vw - 100%) / 2));
    height: 100%;
    border-radius: 50px 0 0 50px;
    background-color: #f4efe7;
    /* background-color: #FFECAB; */
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

#company h2 span {
    color: #f4efe7;
    /* color: #FFECAB; */
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(-80%);
}

#company .company-inner {
    background-color: #fff;
    margin-left: 20px;
    padding: 40px 100px;
    width: 70%;
    max-width: 1000px;
    border-radius: 25px;
}
#company dl {
    display: flex;
}
#company dl:not(:last-child) {
    border-bottom: solid 1px #BCBCBC;
}

#company dt {
    color: #7a7a7a;
    width: 27%;
    min-width: 8em;
    padding: 2rem 0;
    white-space: nowrap;
    font-weight: 700;
}

#company dd {
    width: 73%;
    padding: 2rem;
}

@media screen and (max-width: 1299px) {
    #company {
        padding-left: 100px;
    }
    #company .inner {
        flex-direction: column;
    }
    
    #company h2 {
        padding-left: 50px;
        margin-bottom: 40px;
    }

    #company .company-inner {
        margin-left: 0;
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    #company .company-inner {
        padding: 40px 60px;
    }
}
@media screen and (max-width: 768px) {
    #company {
        margin: 100px 0 20px;
        padding: 70px 20px 70px 40px;
    }
    #company::before {
        /* border-radius: 50px 0 0 50px; */
    }
    #company h2 {
        padding-left: 14px;
    }
    
    #company .company-inner {
        padding: 20px 40px;
        /* border-radius: 25px; */
    }
    #company dl {
        flex-direction: column;
    }
    #company dt {
        width: 100%;
        margin-right: 0;
        padding: 20px 40px 0;
        font-weight: 700;
        position: relative;
    }
    #company dt::before {
        content: '';
        display: block;
        width: 8px;
        height: 8px;
        background-color: #f4efe7;
        /* background-color: #FFECAB; */
        border-radius: 20px;
        position: absolute;
        left: 16px;
        bottom: calc((100% - 20px) / 2);
        transform: translateY(50%);
    }
    #company dd {
        width: 100%;
        padding-left: 4rem;
    }
}


@media screen and (max-width: 449px) {
    #company {
        padding: 70px 0 70px 20px;
    }
    #company .company-inner {
        padding: 20px;
    }
}

/* 商品紹介
------------------------------- */
#products {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 75px 100px 100px;
    background: linear-gradient(rgba(179, 175, 170, .9), rgba(179, 175, 170, .9)), url('../images/products_bg.jpg') no-repeat center center/cover ;
}
#products .inner {
    margin: 0 auto;
}

#products h2 {
    color: #fff;
}

.products-inner {
    margin-top: 50px;
    gap: 5%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.products-box {
    /* flex: 1; */
    max-width: 420px;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.12);
    padding: 60px;
    border-radius: 15px;
    
    display: grid;
    grid-template-rows:
        auto   /* 画像 */
        auto   /* 画像2 */
        minmax(5em, auto)    /* h3 */
        auto    /* detail */
        1fr;   /* country */
}

.products-box .products-img {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
}
.products-box .products-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.products-box h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
    word-break: auto-phrase;
}
.products-box p.detail {
}
.products-box p.country {
    margin-top: 10px;
    padding-top: 15px;
    border-top: solid 1px #BCBCBC;
}
.products-box p.country span {
    display: inline-block;
    padding: 0 10px;
    margin-bottom: 5px;
    border-radius: 50px;
    background-color: #D32435;
    color: #fff;
}

@media screen and (max-width: 1299px) {
    
    .products-box {
        padding: 30px;
    }

}

@media screen and (max-width: 1024px) {
    #products {
        padding: 75px 40px 100px;
    }
    .products-inner {
        gap: 10px;
    }
}

@media screen and (max-width: 768px) {
    #products {
        background: linear-gradient(rgba(179, 175, 170, .9), rgba(179, 175, 170, .9)), url(../images/products_bg.jpg) no-repeat center center / auto 140%;
    }
    .products-inner {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
        row-gap: 40px;
    }
    .products-box {
        max-width: unset;
        width: 100%;
        grid-template-rows: unset;
    }
    
}


@media screen and (max-width: 450px) {
    #products {
        padding: 50px 20px;
    }
    .products-inner {
        margin-top: 20px;
    }
}

/* 海外協力工場紹介
------------------------------- */
#factory {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 75px 100px 100px;
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url('../images/factory_bg.jpg') no-repeat center center/cover ;
}
#factory .inner {
    margin: 0 auto;
}

#factory h3 {
    margin-top: 50px;
    font-size: 2.2rem;
    word-break: auto-phrase;
}
.factory-img-box {
    margin-top: 20px;
    gap: 5%;
}
.factory-img {
    border-radius: 15px;
    overflow: hidden;
}
.factory-img img {
    width: auto;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1024px) {
    #factory {
        padding: 75px 40px 100px;
    }
    .factory-img-box {
        gap: 10px;
    }
}
@media screen and (max-width: 768px) {
    #factory {
        background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../images/factory_bg.jpg) no-repeat center center / auto 140%;
    }
    .factory-img-box {
        flex-direction: column;
        align-items: center;
        row-gap: 40px;
    }
    
}

/* 交通アクセス
------------------------------- */
#access {
    margin-top: 40px;
}
#access .inner {
    margin: 0 auto;
}
#access h2 {
    color: #D32435;
    margin-bottom: 50px;
}

.access-map {
    width: 60vw;
    margin-left: calc(50% - 50vw);
    border-radius: 0 50px 0 0;
    overflow: hidden;
}
.access-text {
    margin-left: 6%;
    padding: 80px 0;
}
.access-text dl {
    display: flex;
}
.access-text dl dt {
    min-width: 5em;
}

@media screen and (max-width: 768px) {
    #access {
        margin-top: 0;
    }
    #access .inner {
        flex-direction: column-reverse;
    }
    .access-map {
        width: 100vw;
        height: 300px;
        border-radius: 0 0 0 0;
    }
    .access-text {
        margin-left: 20px;
        padding: 40px 0;
    }
}

@media screen and (max-width: 450px) {
    #access h2 {
        margin-bottom: 20px;
    }
    .access-text {
        margin-left: 0;
    }
}