.boxhead-all{
    width: 100%;
    display: flex;
    margin-top: 10rem;
    justify-content: center;
    align-items: center;
  }
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none !important;
}

.box-1{
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-top: 10px !important;
}
.box-2{
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}

/* p{
    margin: 0px !important;
    padding: 0px !important;
} */

.box-all{
    width: 100%;
    margin: 10px;
}

html{
    overflow-x:hidden;
}
.fix-img{

    height: 120vh;
    width: 100%;
  }
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.organization {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px; 
    justify-content: center;
    padding: 20px;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

.department {
    text-align: center;
    /* border: 1px solid #ccc; */
    padding: 10px;
}

.ceo {
    grid-column: span 3;
}

.management {
    grid-column: span 3;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 5px;
}

.imgborder-head{
    border: solid black 1px;
    width: 250px;
    height: 300px;
    margin-top: 20px;
   }
   .imgborder-body{
    border: solid black 1px;
    width: 200px;
    height: 250px;
    margin-top: 20px;
   }

   .page-divider {
    /* align-items: center; */
    width: 100%;
    margin: 20px 0;
    border: 10px solid #000000; /* สีของเส้นแบ่ง */
}
.containeres{
    align-items: center;
    padding-left: 10%;
    padding-right: 10%;
}
.boxh{
    margin-top: -85px;
    width:100%; 
    height: 100%;
    /* border-radius: 10px;  */
    text-align:center;
  }

  .headall{
    width: 100%;
    display: flex;
    margin-top: 5rem;
    justify-content: center;
    align-items: center;
  }

.board-0{
    width: 100%;

}
.board{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-family: Montserrat, sans-serif;
	/* height: 100vh; */
	margin: -150px 205px;
    width: 75%;
    margin-top: 10px;
    margin-bottom: 10px;
}


.accordion {
	margin-bottom: 10px;

	.accordion-btn {
		position: relative;
		background-color: #fca5a5;
		/* background-image: linear-gradient(122deg, #bab7b2af, #bab7b2af); */
		border: solid #ffffff;
		padding: 15px 20px;
		text-align: left;
		cursor: pointer;
    font-weight: bold;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.25);
    list-style-image: none;
    color: #ef2a41;

    &::-webkit-details-marker {
      background: none;
      color: transparent;
    }

		&::after {
			content: "+";
      position: absolute;
      top: 50%;
      right: 10px;
      font-size: 35px;
      font-family: monospace;
      width: 35px;
      height: 35px;
      text-align: center;
      border-radius: 50%;
      color: #ef2a41;
      /* border: 2px solid #000000; */
      transform: translate(0%, -50%) rotate(0deg);
      box-sizing: border-box;
      display: flex;
      align-items: center;
      padding-bottom: 4px;
      padding-left: 2px;
      justify-content: center;
      font-weight: normal;
      transition: all .3s ease;
		}
	}
  
  .accordion-content {
		background-color: #ffbeb8;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.25);
    
    > *{
      padding: 10px 20px;
    }
	}

  &[open]{
    .accordion-btn::after {
	    transform: translate(0%, -50%) rotate(90deg);
    }
    
    summary ~ *{
      overflow: hidden;
      animation: heightUp 1s ease-in-out;
    }
	}
}

@keyframes heightUp {
    0% {
        max-height: 0;
    }
    100% {
        max-height: 2000px; 
    }
}
.p{
  color: #337ef8 ;
}

@media screen {
    .boxhead-all{
        width: 100%;
        display: flex;
        margin-top: 10rem;
        justify-content: center;
        align-items: center;
      }
    *{
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    
    a{
        text-decoration: none !important;
    }
    
    .box-1{
        text-align: center;
        align-items: center;
        justify-content: center;
        display: flex;
        margin-top: 10px !important;
    }
    .box-2{
        text-align: center;
        align-items: center;
        justify-content: center;
        display: flex;
    }
    
    /* p{
        margin: 0px !important;
        padding: 0px !important;
    } */
    
    .box-all{
        width: 100%;
        margin: 10px;
    }
    
    html{
        overflow-x:hidden;
    }
    .fix-img{
    
        height: 120vh;
        width: 100%;
      }
      body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    
    .organization {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1px; 
        justify-content: center;
        padding: 0px;
    }
    
    .column {
        display: flex;
        flex-direction: column;
        gap: 10px; 
    }
    
    .department {
        text-align: center;
        /* border: 1px solid #ccc; */
        padding: 10px;
    }
    
    .ceo {
        grid-column: span 3;
    }
    
    .management {
        grid-column: span 3;
    }
    
    ul {
        list-style-type: none;
        padding: 17px;
    }
    
    li {
        margin-bottom: 5px;
    }
    
    .imgborder-head{
        border: solid black 1px;
        width:201px;
        height: 240px;
        margin-top: 20px;
       }
       .imgborder-body{
        border: solid black 1px;
        width: 200px;
        height: 145px;
        margin-top: 22px;
       }
    
       .page-divider {
        /* align-items: center; */
        width: 100%;
        margin: 20px 0;
        border: 10px solid #ff0000; /* สีของเส้นแบ่ง */
    }
    .containeres{
        align-items: center;
        padding-left: 3%;
        padding-right: 3%;
    }
    .boxh{
        margin-top: -85px;
        width:100%; 
        height: 100%;
        /* border-radius: 10px;  */
        text-align:center;
      }
    
      .headall{
        width: 100%;
        display: flex;
        margin-top: 5rem;
        justify-content: center;
        align-items: center;
      }
    
    .board-0{
        width: 100%;
    
    }
    .board{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        font-family: Montserrat, sans-serif;
        height: 104vh; 
        margin: -150px 37px;
        width: 82%;
        margin-top: -240px;
        margin-bottom: 10px;
    }
    .accordion{
        margin-bottom: 25px;
    }
    .h1, h1 {
	font-size: calc(1.375rem + 1.5vw);
    }
    .footer .footer-content {
        padding: 60px 0;
        background-color: black;
        margin-top: 50px;
    }
    .photo {
        width: 86%;
        height: 30%;
        margin-bottom: 23%;
        margin-left: 0%;
    }
        
}