@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.page-container {
  max-width: 1400px;    /* Restrict the content width to 1400px */
  margin: 0 auto;       /* Center the content horizontally */
  padding: 0 20px;      /* Optional: Padding to prevent content from touching the edges */
}

body {
  margin:0; 
    font-family: 'Noto Sans JP', sans-serif;
  }


/*header {
  background-color: white;
  padding: 20px 0;
  

}*/


h1 {
  margin: 30px 0 30px 0; /* Consistent spacing with px */
}

.video-container {
  max-width: 100%; /* Limit the width of the video */
  width: 100%; /* Make it responsive */
  margin: 20px auto; /* Center the container and add space above and below */
  overflow: hidden;
  position: relative;
  padding-bottom: 56%; 
  height: 0; /* Set height to 0 to allow padding-bottom to control the aspect ratio */
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Fill the container */
  border: none; /* Remove the border */
}

h2{
  font-size: 36px;
  font-weight: bold;
  margin-top:70px;
  padding: 0 10px;
  line-height: 1.7;
  text-align: center;
}

h3{
  font-size: 24px;
  font-weight:bold;
  margin-bottom:50px;
  text-align: center;
  padding: 0 10px;
}

.container{
  margin:0 auto; /* Centers the container */
  display: flex;
  flex-direction: row;
  align-items: center; /* Align items to the start of the container */
  gap: 63px; 
  padding:0 20px;
  width:100%;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;  /* Stack items vertically on smaller screens */
    gap: 20px;
  }
}

h4{
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  padding-top: 37px;
  
}

.content2{
  margin: 70px 0;
}

.content, .content2{
  flex: 1;                    /* Ensure they expand equally */
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
}

.content img, .content2 img {
  display: block;
  margin: 0 auto;
}

.select-container{
  height: 285px;
  max-width: 889px;
  background-color:#024;
  margin:0 auto; /* Centers the container */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .8); /* Adds shadow around the container */
  padding: 42.5px 0;
}

.custom-heading {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
  color: white;
  margin-bottom:45px;
}

.button-container{
  display:flex;
  justify-content: center;
  gap:100px;
  padding: 0 10px;
  margin-top: 45px;
}

.button{
  height: 99px;
  max-width: 283px;
  padding: 37px 57px;
  background-color: #33D27E; 
  color: white;
  border: none;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;  
  display: inline-flex;  
  justify-self: center;
  align-items: center; /* Center the text inside the button */
  line-height: 99px;
  transition: background-color 0.3s ease; 
  width: auto;
  min-width: 200px;
}

.button:hover{
  background-color: rgba(51, 210, 126, 0.7);
}

@media (max-width: 768px) {
  .button {
    width: 100%;  /* Make button full width on smaller screens */
    font-size: 32px;
    padding: 20px 30px;
    height: auto;
    min-width: 150px;
  }
}

@media (max-width: 480px) {
  .button {
    font-size: 28px;
    padding: 15px 25px;
  }
}

.ceoimage{ 
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 55px;
}

.ceoimage img {
  max-width: 100%;
  height: auto;
}
