@charset "utf-8";
/* レイアウトのためのCSS */
body{
    background:#8fbc8f;
    font-family: "Zen Maru Gothic", sans-serif;
	color: #555;
	/*font-size:1rem;*/
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
    letter-spacing: 0.2em;
}


body.appear{
    background:#f8f9fa;
}


ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #555;
	text-decoration: none;
    outline: none;
}

img{
    width:100%;
    height: auto;
    vertical-align: bottom;
}

*{
    box-sizing: border-box
}

/* font-family */

h1,
#g-nav-list li:nth-child(1),
#menu h2,
#blog h2,
#product h2,
#footer dl dd,
#splash-logo{
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* heading */
#menu h2,
#product h2,
#blog h2{
    font-size: 4rem;
    text-align: center;
    margin: 0 0 50px 0;
    font-weight: normal;
    color: #8fbc8f;
}

@media screen and (max-width:768px) {
#menu h2,
#product h2,
#blog h2{
    font-size: 3rem;
    }
    
}

/* area */

#container{
    overflow-x: hidden;
}

.inner{
    width:100%;
    margin:0 auto;
    padding:70px;
}

@media screen and (max-width:940px) {
.inner{
    padding:30px;
}
}

/* splash */

#splash-logo p{
    font-size:1.8rem;
    font-weight: normal;
    white-space: nowrap;
}

/* header */
.header-nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.header-nav a{
  margin-left: 30px;
  text-decoration: none;
  color: #8fbc8f;
  font-weight: bold;
  margin:0 25px;
  letter-spacing:0.1em;
}
.header-nav div{
  display: flex;
  gap: 20px;
}

.header-area{
    position: absolute;
    left:70%;
    top:40%;
    transform: translate(-50%,-50%);
    z-index: 5;
    text-align: center;
}

.header-area h1{
    display: block;
    font-size: 4vw;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 0;
    padding: 0 10px;
    color: #ff8c00;
}

.header-area p{
    font-size: 2vw;
    letter-spacing: 0.4em;
    margin: 0 0 20px 0;
    color: #2e4d2e;
}

.header-area p br{
    display: none;
}

/* ハンバーガーボタン */
#menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10000;
}

#menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: #333;
  margin: 6px auto;
}

/* スマホ用 */
@media screen and (max-width: 768px) {
  #header-menu {
    padding: 15px 20px;
    z-index: 100;
    position: relative;
  }

  #header-logo img {
    width: 110px;
  }

  #menu-toggle{
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10000;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
  }
  #menu-toggle span{
    display: block;
    width: 28px;
    height: 2px;
    background: #333;
    margin: 6px auto;
  }

  .header-nav{
    display:none;
    flex-direction:column;
    position:fixed;
    top:0;
    right:0;
    width:80%;
    height:100vh;
    background:#fff;
    z-index:9999;
    padding:80px 20px 20px;
    box-sizing:border-box;
    overflow-y:auto;
  }
  .header-nav div{
    flex-direction: column;
    gap: 12px;
    width: 100%;
    font-size:1.3rem;
  }


  .header-nav.open {
    display: flex;
  }
  .header-nav div {
    display:flex;
    flex-direction:column;
    gap:12px;
  }
  .header-nav a{
    display:block;
    padding:10px 0;
    border-bottom:1px solid #eee;
  }

  .header-area {
    left: 50%;
    top: 40%;
    width: 90%;
  }

  .header-area h1 {
    font-size: 10vw;
  }

  .header-area p {
    font-size: 6vw;
    letter-spacing: 0.2em;
  }

  .header-area p br {
    display: block;
  }
}


@media screen and (max-width:960px) {
.header-area h1{
    font-size:4rem;
}
.header-area p{
    /*font-size:0.8rem;*/
    whitewhite-space:no
}

.header-area p br{
    display: block;
}

}

/* gnavi */

#g-nav-list li:nth-of-type(1) a{
    font-size: 2rem;
    text-transform: none;
    font-weight: normal;
    line-height: 1;
    white-space: nowrap;
    margin: 0 0 20px 0;
}

#g-nav-list li:nth-of-type(2){
    animation-delay: .2s;
}
#g-nav-list li:nth-of-type(3){
    animation-delay: .4s;
}
#g-nav-list li:nth-of-type(4){
    animation-delay: .6s;
}
#g-nav-list li:nth-of-type(5){
    animation-delay: .8s;
}
#g-nav-list li:nth-of-type(6){
    animation-delay: 1.1s;
}
#g-nav-list li:nth-of-type(7){
    animation-delay: 1.3s;
}
/* lead */

#lead{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top:140px;
}

#lead .lead-img{
     width:46%;
    min-height: 400px;
    background: url("../img/lead.jpg") no-repeat center;
    background-size: cover;
}

#lead .lead-area{
    width:52%;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
    flex-direction: row-reverse;
}

@media screen and (max-width:1060px) {
#lead .lead-img{
     width:30%;
}
#lead .lead-area{
    width:68%;
}
}

@media screen and (max-width:768px) {
#lead{
    flex-direction: column-reverse;
}

#lead .lead-img,
#lead .lead-area{
    width:100%;
} 
    
#lead .lead-img{
    min-height: 250px;
    }
    
#lead .lead-area{
    margin: 0 0 140px 0;
    min-height: 20em;
    justify-content: center;
}
}

#lead .lead-area h2,
#lead .lead-area p,
#lead .lead-area .lead-btn a{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
}

#lead .lead-area h2{
    width:28%;
    line-height:2.5;
    font-size:1.4rem;
}

#lead .lead-area p{
     width:48%;   
    padding: 50px 0 0 0;
    line-height: 2.8;
}

#lead .lead-area .lead-btn{
    width:10%; 
    position: relative;
    top: 240px;
}

#lead .btn04{
    padding:20px 15px;
}


@media screen and (max-width:1300px) {
#lead .lead-area h2{
    line-height:2;
}
#lead .lead-area p{
    line-height: 2.3;
}    
}

@media screen and (max-width:768px) {
#lead .lead-area .lead-btn{
    width:100%;
    top: 50px;
    text-align: center;
}
    
    .btn04{
        width:150px;
    }
    
#lead .lead-area h2,
#lead .lead-area p{
    width:auto;
} 
    
#lead .lead-area h2{
    margin:0 0 0 20px;
    line-height: 2.2;
}
    
#lead .lead-area p{
    line-height: 2;
}  
    
#lead .lead-area .lead-btn a{
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
}

#lead .btn04{
    padding: 10px 30px;
}
    
}

@media screen and (max-width:470px) {
#lead .lead-area h2{
    line-height: 1.8;
}
#lead .lead-area p{   
    height: 23em;
}
    
_:-ms-lang(x)::-ms-backdrop, #lead .lead-area p{
    width:8em;
}
    
#lead .lead-area p br{
    display: none;
}
}

@media screen and (max-width:350px) {
#lead .lead-area h2{
    line-height: 1.6;
}
#lead .lead-area p {
    line-height: 1.8;
}
}

/* menu */

#menu{
    padding: 70px 0;
}

#menu section{
    background: #fff;
    margin: 0 0 10px 0;
}

#menu section h3{
    font-size: 0.9rem;
    margin: 0 0 10px 0;
}

#menu section p{
    font-size: 0.8rem;
}

#menu .menu-area{
    padding: 20px;
    box-shadow: 5px 0 10px #ccc;
}

#menu .menu-btn{
    text-align: center;
    margin: 50px 0 0 0;
}

/* procut */
/* セクション全体 */
.product {
  width: 100%;
  padding: 60px 20px;
  background-color: #fff;
}

/* タイトル部分 */
.product-header {
  text-align: center;
  margin-bottom: 40px;
}

.product-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.product-header p {
  color: #666;
}
.product-header img {
    width:100%;
}

/* グリッド部分 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* 商品カード */
.product-grid .item {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.product-grid .item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}


/* contact */

#contact{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}

#contact .contact-img{
    width:70%;
    min-height: 300px;
    background:url("../img/contact.jpg") no-repeat center;
    background-size: cover;
}

#contact .contact-area{
    width:25%;
    text-align: center;
}

@media screen and (max-width:1190px) {
#contact .contact-img{
    width:60%;
    }
#contact .contact-area{
    width:35%;
    }
}

@media screen and (max-width:768px) {
#contact .contact-img{
    width:48%;
    }
#contact .contact-area{
    width:48%;
    }
}

@media screen and (max-width:600px) {
#contact .contact-img,
#contact .contact-area{
    width:100%;
    }
#contact .contact-img{
        margin:0 0 50px 0;
}
}

#contact .contact-area h2{
     font-size:1.3rem;   
    margin:0 0 10px 0;
}

#contact .contact-area dt{
     font-size:1.2rem;   
    margin:0 0 10px 0;
}

#contact .contact-area dd{
    font-size: 0.8rem;
    margin:0 0 30px 0;
}

/* SDGs */
.sdgs {
  display: flex;
  width: 100%;
  gap: 20px;
  background-color: #fff;
  margin-top: 7vw;
}
.sdgs-img {
  display: block;
  width: 80%;
  margin: 0 auto;
}

/* feature3 */
.feature3 {
  display: flex;
  width: 100%;
  gap: 20px;
  background-color: #fff;
  margin-top:7vw;
}
.feature3-img {
  display: block;
  width: 80%;
  margin: 0 auto;
}


/* feature */
.feature {
  display: flex;
  width: 100%;
  gap: 20px;
  background-color: #fff;
  margin-top:7vw;
  font-size: 1.2rem;
}
.feature2 {
  display: block;
  margin-top:7vw;
  text-align:center;
  background-color: #fff;
}
.feature2 img{
    width: 80%;
}

/* ===== 左右50% ===== */
.feature .left,
.feature .right {
  flex: 0 0 50%;
}

/* ===== 左画像 ===== */
.feature .left img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== 左下テキスト（中央揃え） ===== */
.feature .left-text {
  text-align: center;
  margin-top: 20px;
  font-size: 1.5rem;
  padding: 10px;
}

.feature .right-text {
  text-align: center;
  margin-top: 20px;
  font-size: 1.5rem;
  padding: 15px;
}

/* ===== 右画像 ===== */
.feature .right img {
  width: 100%;
  height: auto;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .feature {
    flex-direction: column;
  }

  .feature .left,
  .feature .right {
    flex: 1 1 auto;
  }

  .feature img {
    max-width: 100%;
  }
}

/* totsugeki */

.totsugeki {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr; /* 3分割 */
  gap: 30px;
  align-items: center;
  width: 100%;
}

/* 共通 */
.totsugeki .col {
  gap: 6px;
}

/* 文字ブロック */
.totsugeki .text {
  text-align: center;
}

/* 画像 */
.totsugeki img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}
.totsugeki-img {
  width: 25%;
  height: auto;
  margin: 0 auto;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .totsugeki {
    grid-template-columns: 1fr;
  }

  .totsugeki .text {
    text-align: center;
  }
}


/* blog */

#blog{
    margin:0 0 50px 0;
}
.blog-area{
    display: flex;
    justify-content: space-between;
    text-align: center;
    flex-wrap: wrap;
    overflow: hidden;
}

.blog-area article:nth-of-type(1){ 
    width:30%;
}

.blog-area .blog-block{
    width:68%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.blog-area .blog-block article{
     margin:0 0 3vh 0;   
}

.blog-area .blog-block article:nth-of-type(1){ 
    width:42%;
    animation-delay: 0.5s;
}
.blog-area .blog-block article:nth-of-type(2){ 
    width:20%;
    animation-delay: 1.5s;
}
.blog-area .blog-block article:nth-of-type(3){
    width:32%;
    animation-delay: 1s;
}

.blog-area .blog-block article:nth-of-type(4){ 
    width:32%;
    animation-delay: .8s;
}
.blog-area .blog-block article:nth-of-type(5){
    width:20%; 
    animation-delay: 1.8s;
}
.blog-area .blog-block article:nth-of-type(6){
    width:42%;
    animation-delay: 1.5s;
}

@media screen and (max-width:1300px) {
    .blog-area .blog-block article:nth-of-type(n+1){ 
        width:48%;
    }
}

@media screen and (max-width:820px) {
    .blog-area article:nth-of-type(1){
        width:50%;
        margin:0 auto 3vh auto;
    }

    .blog-area .blog-block article:nth-of-type(1){
         margin: 0 0 3vh 0;
    }

    .blog-area .blog-block{
            width:100%;
    }
}

@media screen and (max-width:768px){
    .blog-area .blog-block article:nth-of-type(n+1){ 
        animation-delay: .5s;
    }

    .blog-area article:nth-of-type(1){
        width:100%;
    }
}

@media screen and (max-width:450px){
.blog-area .blog-block article:nth-of-type(n+1) {
    width:100%;
    animation-delay: 0s!important;
    }
}


.blog-area h3{
    font-size:1rem;
    margin: 0 0 20px 0;
}

@media screen and (max-width:450px){

  .blog-area h3{
    font-size:0.9rem;
}
    
  .blog-area p{
  display: none;
    }
}

.blog-area time{
     font-size: 0.8rem;   
}

.blog-area img{
    width: auto;
    height:32vh;   
}

.blog-area article:nth-of-type(1) img{
    height:67vh;
}
  
.blog-area .blog-block article:nth-of-type(1) img{
    height:32vh;   
}


@media screen and (max-width:820px) {
.blog-area article:nth-of-type(1) img{
    width:100%;
    height:auto;
} 
.blog-area .blog-block article:nth-of-type(1) img{
    width:auto;
    height:32vh;
    }
}
  
@media screen and (max-width:450px){
.blog-area img,
.blog-area .blog-block article:nth-of-type(1) img{
    width:100%;
    height:auto;
}
}

.blog-area figure time{
    position: absolute;
    bottom:0;
    left:0;
    background:rgba(143,188,143,0.8);
    display: block;
    width:100%;
    padding: 10px;
    color: #fff;
}

.blog-area p{
     margin:0 0 20px 0; 
    text-align: left;
    font-size: 0.9rem;
}

.blog-area span{
     border:1px solid rgba(143,188,143,0.7);
    display: inline-block;
    padding:5px 10px;
    text-align: center;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* footer */

#footer{
    border-top: 1px solid #ccc;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

#footer dl{
     width:30%;   
}

#footer dl dt{
    font-size: 0.8rem;
}

#footer dl dd{
    font-size: 2rem;
}

@media screen and (max-width:900px) {
    #footer dl{
        margin: 50px 0;
    }
}

@media screen and (max-width:768px) {

#footer dl dd{
    font-size: 1.5rem;
}
    
}

#footer .footer-list{
     width:65%; 
    text-align: right;
}

#footer ul li{
    display: inline-block;
    padding: 0 10px;
    font-size: 0.8rem;
    line-height: 3;
}

#footer small{
    text-align: right;
    margin: 20px 0 0 0;
    display: block;
    width: 100%;
    font-size: 0.7rem;
}

#footer #page-top span{
    display: inline-block;
  width: 13px;
  height: 13px;
  border-top: 4px solid #fff;
  border-left: 4px solid #fff;
  transform: rotate(45deg);
}


@media screen and (max-width:900px){
#footer dl,
#footer .footer-list,
#footer small{
    width:100%;
    text-align: center;
}
    
}

.bento-img{
  position:absolute;
  bottom:250px;
  right:13%;

  width:480px;
  transform: rotate(-5deg);
  z-index:3;
}
@media screen and (max-width: 768px){

  .bento-img{
    width:85%;
    left:50%;
    right:auto;
    transform:translateX(-50%);
    bottom:300px;
  }
}
.hero-gallery{
  position:absolute;
  left:5%;
  bottom:120px;
  z-index:2;
}
.hero-gallery img{
  width:120px;
  display:block;
  margin-bottom:15px;
  box-shadow:0 10px 30px rgba(0,0,0,0.2);
}
.hero-gallery img:nth-child(1){
  transform:rotate(-8deg);
}

.hero-gallery img:nth-child(2){
  transform:rotate(4deg);
}

.hero-gallery img:nth-child(3){
  transform:rotate(-3deg);
}

@media screen and (max-width:768px){

  .hero-gallery{
    display:none;
  }

}

.branch-items{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:3;
}
.branch-img{
  position:absolute;
  width:8%;
  height:auto;
  transform:translate(-50%,-50%);
}
.img1{
  top:42%;
  left:18%;
}

.img2{
  top:58%;
  left:43%;
}

.img3{
  top:32%;
  left:33%;
}
.img1{
  transform:translate(-50%,-50%) rotate(-8deg);
}

.img2{
  transform:translate(-50%,-50%) rotate(5deg);
}

.img3{
  transform:translate(-50%,-50%) rotate(-3deg);
}
@media screen and (max-width:768px){
  .branch-items{
    display:none;
  }
}

/* =========================================
   concept.html
========================================= */

body.concept-page{

  background:
    linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
    url("../img/wood-bg2.png");

  background-repeat: repeat;

  background-size: 450px;

}
body.concept-page #container,
body.concept-page #footer{
  background: transparent;
}

.concept-header #concept-header-img.concept-hero-bg{
  background:
    linear-gradient(rgba(255,255,255,0.90), rgba(255,255,255,0.90)),
    url("../img/wood-bg2.png") no-repeat center center;
  background-size: cover;
  height:120px;
  z-index:1;
}
#concept-header-img{
  height:120px;
  position: relative;
  z-index: 1;
}
.concept-hero-bg{
  height:120px;
  position: relative;
  z-index: 1;
}

/* company */
.company-header #company-header-img.company-hero-bg{
  background:
    linear-gradient(rgba(255,255,255,0.90), rgba(255,255,255,0.90)),
    url("../img/company_title.jpg") no-repeat center center;
  background-size: cover;
  height:120px;
  z-index:1;
}
#company-header-img{
  height:120px;
  position: relative;
  z-index: 1;
}
.company-hero-bg{
  height:120px;
  position: relative;
  z-index: 1;
}


.concept-copy{
  left: 50%;
  top: 42%;
  transform: translate(-50%,-50%);
  width: 90%;
  max-width: 900px;
}

.concept-copy h1{
  font-size: 5vw;
  color: #2e4d2e;
  letter-spacing: 0.08em;
}

.concept-copy p{
  font-size: 1.3vw;
  color: #6b4b2a;
  letter-spacing: 0.2em;
}

#concept-lead,
#concept-values,
#concept-story,
#concept-message{
  margin-top: 1vw;
}

.concept-lead-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.concept-lead-text,
.concept-story-text,
.concept-message-box,
.concept-card{
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(2px);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.concept-lead-text{
  padding: 40px;
}

.concept-lead-text h2,
#concept-values h2,
.concept-story-text h2,
.concept-message-box h2{
  color: #2e4d2e;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.concept-lead-text h2{
  font-size: 2rem;
  margin-bottom: 25px;
}

.concept-lead-text p{
  margin-bottom: 18px;
  color: #5a4a3a;
  font-size:1.5vw;
}

.concept-lead-image img,
.concept-story-image img{
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  width:100%;
  margin: 0 auto;
}

#concept-values h2{
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.concept-cards{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

.concept-card{
  padding: 30px 24px;
}

.concept-card h3{
  font-size: 1.4rem;
  color: #ff8c00;
  margin-bottom: 16px;
}

.concept-card p{
  color: #5a4a3a;
  font-size: 0.95rem;
  line-height: 2;
}

.concept-story-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.concept-story-text{
  padding: 20px;
}

.concept-story-text h2{
  font-size: 2rem;
  margin-bottom: 24px;
}

.concept-story-text p{
  margin-bottom: 18px;
  color: #5a4a3a;
  font-size:1.5vw;
  line-height: 2.5;
}

.concept-message-box{
  text-align: center;
  padding: 50px 30px;
}

.concept-message-box h2{
  font-size: 2rem;
  margin-bottom: 20px;
}

.concept-message-box p{
  max-width: 800px;
  margin: 0 auto 30px;
  color: #5a4a3a;
}

@media screen and (max-width: 960px){
  .concept-lead-grid,
  .concept-story-grid{
    grid-template-columns: 1fr;
  }

  .concept-cards{
    grid-template-columns: 1fr;
  }

  .concept-copy h1{
    font-size: 3rem;
  }

  .concept-copy p{
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px){
  body.concept-page{
    background-size: 320px auto;
  }

  .concept-copy{
    top: 45%;
    width: 92%;
  }

  .concept-copy h1{
    font-size: 2.3rem;
  }

  .concept-copy p{
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }

  .concept-lead-text,
  .concept-story-text,
  .concept-message-box{
    padding: 24px;
  }

  .concept-lead-text h2,
  #concept-values h2,
  .concept-story-text h2,
  .concept-message-box h2{
    font-size: 1.5rem;
  }
  .concept-lead-text p{
    font-size:15px;
    line-height:1.8;
  }
  .concept-story-text p{
    font-size:15px;
    line-height:1.8;
  }
}

.concept-sec2 {
  display: block;
  margin-top:1vw;
  text-align:center;
  background-color: #fff;
}
.concept-sec2 img{
    width: 100%;
}

.company-sec2 {
  display: block;
  margin-top:1vw;
  text-align:center;
  background-color: #fff;
}
.company-sec2 img{
    width: 100%;
}

.grid8{
  display:grid;
  grid-template-columns: repeat(8, 1fr);
  gap:10px;
}

.grid8 div{
  background:#eee;
  padding:10px;
  text-align:center;
}

/* company */
.company{
    max-width:1000px;
    margin:auto;
    padding:80px 20px;
}

.company h1{
    text-align:center;
    font-size:2rem;
    margin-bottom:60px;
}

.company-table{
    width:100%;
    border-collapse:collapse;
}

.company-table th{
    width:30%;
    text-align:left;
    padding:18px;
    background:#f6f6f6;
    border-bottom:1px solid #ddd;
}

.company-table td{
    padding:18px;
    border-bottom:1px solid #ddd;
}

@media screen and (max-width:768px){

.company-table th,
.company-table td{
    display:block;
    width:100%;
}

.company-table th{
    background:#fafafa;
}

}
