/*---------------------------------お問い合わせ--------------------------*/
body{
.text-overlay9 {
  text-align: center !important ;
 }
.text-overlay9 .line1 {
  color: white !important; 
   font-size: 48px;
   font-weight: bold;
   margin-top: -130px;
 }
 .centered-box5 {
  width: 100%;
  max-width: 1780px;
  height: 400px;
  margin: 40px auto;
  position: relative;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  justify-content: center;  
  align-items: center;      
}

.centered-box6 {
  display: flex;                  
  justify-content: center;        
  gap:150px;                      
  margin-top: -200px;                 
}
.contact-box {
  width: 280px;                    
  background-color: white;         
  padding: 20px;                   
  border-radius: 10px;           
  text-align: center;              
}
.contact-box .line1, .line3 {
  font-size: 18px;              
  color: gray;                   
  margin: 5px 0;                   
}
.contact-box .line2 {
  font-size: 22px;               
  font-weight: bold;               
  color: #61bcc9;                
  margin: 5px 0;                   
}
.contact-box .line3 a {
  color: #61bcc9;  
  text-decoration: none !important;    
  font-weight: bold;  
  font-size: 18px;  
}
.contact-box .line3 a:hover {
  color: #ff9900; 
}

.line2-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  pointer-events: auto;
  z-index: 10;
  position: relative;
  text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.15);
}
 
   .social-img img {
  width:  40px !important;
  height:  40px !important;
  object-fit: cover;   
  border-radius: 12px;
  transition: 0.3s;
}

.social-img img:hover {
  transform: scale(1.05);
}


@media screen and (max-width: 1280px) {
  .text-overlay9 {
    margin-top: -20px;            
    padding-top: 20px;
  }

  .text-overlay9 .line1 {
   font-size: 36px;   
   color: #61bcc9 !important;
   margin-bottom: 100px;
   margin-top:0;
  }

 .centered-box6 {
    flex-direction: column;  
    gap: 30px;                
    align-items: center;       
    margin-top: -80px;            
  }

  .contact-box {
    width: 90%;                
    max-width: 220px;
    background-color:#a9d9e0;         
    margin-bottom: 50px;
    margin-top: -40px;
  }
  .contact-box .line2 {
    font-size: 18px;  
    color:#fff !important;
    text-decoration: none !important; 
  }

  .centered-box5 {
    height: auto;            
    padding: 5px 10px;
  }
}
}

  /*---------------------------------under header--------------------------*/
 body{
   
.nav-section {
  position: relative;
  text-align: center;
  padding: 40px 0;
 }
 
  .line {
    width: 90%;
    height: 2px;
    background-color: white;
    margin: 20px auto;
  }
  .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 10px 0;
  }
  .nav-link {
    color: white;
    text-decoration: none !important;   
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;  
    padding: 0 15px;
    transition: color 0.3s;
    text-shadow: 2px 3px 5px rgba(0,0,0,0.1);

  }
  .nav-link:hover {
    color: #f8b62d;
  }
  .nav-button {
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    height: 46px;
    line-height: 50px;
    padding: 0 15px;  
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-button.yellow {
    background-color: #f8b62d;
    color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);

  }
  .nav-button.blue {
    background-color: #61bcc9;
    color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);

  }
  .nav-section {
    margin-top: 80px;  
  }
@media screen and (max-width: 1280px) {
  .nav-section {
    display: none;
  }
}

}
  /*------------------------- under------------------------- */
  body{
.background-with-text {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 550px;
  background-color: rgba(0, 73, 79, 0.7);  
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
  color: white;
}

 .background-with-text .top-left-image {
  position: absolute;
  top: 50px;
  left: 70px;
  width: 450px;
  height: 120px;
  object-fit: cover;
  transition: all 0.3s ease;
}

 .background-with-text .text-content {
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  text-align: center;
  max-width: 100%;
  z-index: 2;
}

 .three-blocks {
  position: absolute;
  right: 80px;
  bottom: 150px;
  display: flex;
  justify-content: flex-end;
  gap: 50px;
  color: white;
  font-family: sans-serif;
  transition: all 0.3s ease;
}

 .block {
  width: 60%;
  text-align: left;
  color: white;
}

.block h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.block-content p {
  margin: 5px 0;
  white-space: nowrap;
  font-weight:500;
}

.block-content a {
  color: #baf6ff;
  text-decoration: none !important;
}

.block-content a:hover {
  text-decoration: underline !important;
}

.bottom-container {
  width: 100%;
  text-align: center;
  margin-top:100px; 
}

.bottom-white-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 1px;
  background-color: white;
  opacity: 0.6;
}

.bottom-copyright {
  position: relative;
  padding: 20px 0;
  color: white;  
  z-index: 10;
  flex-wrap: nowrap;
  margin-bottom:-20px;
  font-size:14px;
}

  @media screen and (max-width: 768px) {
  .background-with-text {
    min-height: 400px;  
    padding:16px 10px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-bottom:40px;
  }

  .background-with-text .top-left-image {
    position: static;   
    width: 260px;
    height: auto;
    margin-bottom: 10px;
  }

  .three-blocks {
    position: static;  
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
    bottom: 10px;
    right: auto;
    align-items: center;  
  }

  .block {
    width: 100%;   
    text-align: center;  
    white-space: normal; 
  }
  
 .block-content{
  margin-bottom:-10px;
  }
  
  .block-content p {
    white-space: normal;
    font-size:12px;
  }
.bottom-container {
  margin-top:10px; 
}
  .bottom-white-line {
   display:none;
  }

 .bottom-copyright {
  font-size:11px;
  top:10px;
  margin-bottom:-10px;
color: rgba(225, 225, 225, 0.8);
}
body{
   @media screen and (max-width: 1036px) {
    .text-overlay {
      left: 40px;
      top: 30px;
    }
    .line1 {
      font-size: 24px; }
    .line2 {
      font-size: 16px; }
  
    .extra-image1 {
      width: 90%;
      right: 5%;
      top: 200px; }
  
    .text-container {
      flex-direction: column; 
      align-items: center;  
      justify-content: center;
    }
  
    .left-text-container {
      position: relative;   
      left: 25px;     
      width: 90%;       
      padding: 10px;       
      top: 0;
    }
    .left-text {
      font-size: 16px;  
    }
  }
  }