.et_pb_post {
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom: 1px dashed #AAAAAA !important;
}

#glt-translate-trigger {
    background: #f89406;
    display: none;
} 
@media screen and (max-width: 640px) {
  .last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
  }
  .tbl-r02 {
    width: 80%;
		text-align:left;
  }
  .tbl-r02 th,
  .tbl-r02 td {
　　border-bottom: none;
    display: block;
    width: 100%;
  }
	div.wpcf7 table th {
    text-align: left !important;
}
	.table tbody tr td .form-control, .table tbody tr th .form-control, .table td .form-control, .table th .form-control, .table thead tr td .form-control, .table thead tr th .form-control, table tbody tr td .form-control, table tbody tr th .form-control, table td .form-control, table th .form-control, table thead tr td .form-control, table thead tr th .form-control {
    max-width: 100%; 
}
	
	input.wpcf7-form-control.wpcf7-submit.btn.btn-lg.btn-red {
    background: #d01126;
    border: 1px solid #d01126;
    color: white;
    width: 90%;
}
	
.contactform-submit{  text-align: center;}

	.nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    flex-direction: column;
} 
	ul.inpage-nav >li {
    border-right: 0px solid #1d2088;
    padding: 0.5rem 1rem;
		border-bottom:1px #82aacb dotted;
}
	ul.inpage-nav >li:last-child {
		border-bottom:none;
}
	

}

.lcp_thumbnail { float: left; margin-right: 10px;}


.sns_navSM {
    text-align: center;
	    margin: 2em auto;
}

@media screen and (min-width: 480px)
{
.sns_navSM {
    display: none;
}
	}

@media screen and (max-width: 480px)
{
	.wp-block-columns.has-background {
     padding: 10px !important;
    border-radius: 5px !important;
}

	.wp-block-columns.has-background {
    padding: 20px;
    border-radius: 10px;

}	.wp-block-column {
			margin-bottom:10px;
}

	}


ul.inpage-nav {
    border: 1px solid #1d2088;
    border-radius: 5px;
    padding: 10px;
}

.nav li a {
    color: #337ab7;
	font-size:1.1em;
	font-weight:bold;
}

ul.inpage-nav {
    background-color: aliceblue;
}

.topbannerimg {
    max-width: 400px;
    height: auto;
    width: 100%;
}



.wp-block-columns.has-background {
    padding: 20px;
    border-radius: 10px;
}
	h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.has-background, h6.has-background {
    padding: 15px;
}
.h2, .h3, .h4, .h5, .h6, .mainSection-title, h2, h3, h4, h5, h6 {
    margin: 15px 0;
    clear: both;
}




.slider{
        width:100%;
        margin:0 auto;
    }
    .slider img{
        width:100%;
    }
    .slider .slick-slide{
        height:auto!important;
    }
    .slider .slick-arrow{
        z-index:2!important;
    }
    .slider .slick-next{
        right:0!important;
    }
    .slider .slick-prev{
        left:0!important;
    }
    .slick-slide{
        margin-right: 1vw!important;
        margin-left: 1vw!important;
    }
    .banner_box{ border-radius: 20px;}

.slick-dotted.slick-slider {
    margin-bottom: 50px !important;
    margin-top: 30px;
}

@media (max-width: 767px) {
       .slick-dotted.slick-slider {
    margin-bottom: 35px !important;
    margin-top: 0px;
}

    .slick-slide{
        margin-right: 5vw!important;
        margin-left: 5vw!important;
    }
    }


.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}
video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
    font-family: 'Sawarabi Mincho', serif;

}
.line {
    font-size: 3rem;
    color: white;
    opacity: 0;
    animation: fadeInDiagonal 1s ease-out forwards;
    margin: 10px 0;
}
.line1 {
    animation-delay: 0.5s;
}
.line2 {
    animation-delay: 1.5s;
}
@keyframes fadeInDiagonal {
0% {
opacity: 0;
transform: translate(0px, 20px);
}
100% {
opacity: 1;
transform: translate(0, 0);
}
}
.highlight {
    display: inline-block;
    position: relative;
}
.highlight.blue::after, .highlight.green::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 8px;
    height: 20px;
    width: 0;
    border-radius: 0px;
    z-index: -1;
    animation: underlineExpand 1s ease-out forwards;
}
.highlight.blue::after {
    background-color: rgba(110,147,255,0.50);
    animation-delay: 0.5s;
}
.highlight.green::after {
    background-color: rgba(151,255,151,0.50);
    animation-delay: 1.5s;
}
@keyframes underlineExpand {
0% {
width: 0;
}
100% {
width: 100%;
}
}

@media (max-width: 768px) {
.line {
    font-size: 2rem;
}
.highlight.blue::after, .highlight.green::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    height: 12px;
    width: 0;
    border-radius: 0px;
    z-index: -1;
    animation: underlineExpand 1s ease-out forwards;
}
}


.hero {
      position: relative;
      width: 100%;
      height: 50vh;
      overflow: hidden;
    }
    
    .video-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    
    .video-container::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      z-index: 1;
    }
    
    .video-container video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(0.8);
    }
    
    .text-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      z-index: 2;

    }
    
    .line {
      font-size: 2.5rem;
      color: white;
      opacity: 0;
      transform: translateY(30px);
      animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
      margin: 15px 0;
      font-weight: 300;
      letter-spacing: 0.1em;
      line-height: 1.8;
      width: 100%;
      padding: 0 20px;
    }
    
    .line1 {
      animation-delay: 1s;
      transform: translateX(-20px);
    }
    
    .line2 {
      animation-delay: 2s;
      transform: translateX(20px);
    }
    
    @keyframes fadeInUp {
      0% {
        opacity: 0;
        transform: translateY(30px) ;
      }
      100% {
        opacity: 1;
        transform: translateY(0) ;
      }
    }
    
    .highlight {
      display: inline-block;
      position: relative;
      padding: 0 10px;
      white-space: nowrap;
    }
    
    .highlight::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 15%;
      height: 30%;
      width: 0;
      background: linear-gradient(100deg, 
        rgba(110,147,255,0.2) 0%,
        rgba(110,147,255,0.5) 50%,
        rgba(110,147,255,0.2) 100%
      );
      z-index: -1;
      animation: underlineExpand 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
      backdrop-filter: blur(3px);
      transform: skew(-15deg);
    }
    
    .line1 .highlight::after {
      animation-delay: 1.5s;
    }
    
    .line2 .highlight::after {
      animation-delay: 2.5s;
    }
    
    @keyframes underlineExpand {
      0% { 
        width: 0;
        transform: skew(-15deg) translateX(-10px);
      }
      100% { 
        width: 100%;
        transform: skew(-15deg) translateX(0);
      }
    }
    
    @media (max-width: 768px) {
      .text-overlay {
        padding: 0 15px;
      }
      
      .line {
        font-size: 1.8rem;
        letter-spacing: 0.03em;
        margin: 10px 0;
        white-space: nowrap;
        transform: none;
      }
      
      .line1, .line2 {
        transform: none;
      }
      
      .highlight {
        padding: 0 5px;
      }
      
      .highlight::after {
        height: 25%;
        bottom: 10%;
      }
      
      @keyframes fadeInUp {
        0% {
          opacity: 0;
          transform: translateY(20px);
        }
        100% {
          opacity: 1;
          transform: translateY(0);
        }
      }
    }

    @media (max-width: 480px) {
      .line {
        font-size: 1.7rem;
line-height: 1em;
      }
.hero {
margin-top: -2em;
margin-bottom: 2em;
height: 35vh;
    }

    }


.department-container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0px;
    }

    .department-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: flex-start;
    }
      .department-grid a:hover { 
    text-decoration: none !important;
 }

    .department-card {
      width: calc(50% - 10px);
      margin-bottom: 20px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      background: #fff;
      position: relative;
      text-decoration: none;
      color: inherit;
    }

    .department-title {
      width: 100%;
      background: #12b4b4;
      color: white;
      padding: 10px 15px;
      font-weight: bold;
      font-size: 16px;
      text-align: center;
    }

    .image-container {
      height: 200px;
      overflow: hidden;
      position: relative;
    }

    .image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
      transition: transform 0.3s ease;
    }

    .image-container:hover img {
      transform: scale(1.1);
    }

    .ribbon {
      position: absolute;
      top: 10px;
      left: 10px;
      background: rgb(85 36 202 / 75%);
      color: white;
      padding: 4px 10px 2px 10px;
      font-size: 12px;
      font-weight: bold;
      border-radius: 20px;
      z-index: 3;
    }

    .department-description {
      padding: 15px;
      font-size: 14px;
      color: #333;
      line-height: 1.6;
      position: relative;
      padding-bottom: 3em;
    }

    .details-link {
      position: absolute;
      bottom: 10px;
      right: 15px;
      font-weight: bold;
      color: #12b4b4;
      text-decoration: none;
      display: flex;
      align-items: center;
    }

    .details-link svg {
      width: 16px;
      height: 16px;
      margin-left: 5px;
      fill: #12b4b4;
    }

    .details-link:hover {
      text-decoration: underline;
    }

    @media (min-width: 768px) {
      .department-card {
        width: calc(33.333% - 14px);
      }
    }

    @media (max-width: 768px) {

.department-container {
    }

      .department-title {
        font-size: 11px;
        padding: 8px 10px;
      }

      .department-description {
        font-size: 10px;
        padding: 10px;
        padding-bottom: 4em;
      }

      .department-grid {
        gap: 10px;
      }


      .ribbon {
        font-size: 10px;
        padding: 3px 8px;
      }

      .image-container {
        height: 90px;
      }
.sns_navSM {
    text-align: center;
    margin: 2em auto;
    margin-bottom: 4em;
}
.slick-prev:before, .slick-next:before {
    color:#12b4b4 !important
}

}

    a {
      text-decoration: none;
    }

.siteContent{ 
padding:0px;
}
.mainNav-nav {
    background-image: linear-gradient(150deg, #008f51 17%, #50b67f 51%, #12b4b4 83%) !important;
}
.nge-openbtn1 {
    background-image: linear-gradient(150deg, #008f51 17%, #50b67f 51%, #12b4b4 83%) !important;
}

.dls-list .excerpt {
    font-size: .9rem;
    color: #888;
}

.dls-excerpt {
    font-size: .9rem;
    color: #888;
}



:root{
  --title-accent:#1e88e5;   
  --title-fg:#111;                
  --title-sub:#6b7280;             
  --title-gap: clamp(10px, 1.2vw, 14px);
  --title-mt: clamp(24px, 4vw, 48px);
  --title-mb: clamp(12px, 2.2vw, 20px);
}

@media (prefers-color-scheme: dark){
  :root{
    --title-fg:#f3f4f6;
    --title-sub:#9ca3af;
    --title-accent:#60a5fa;
  }
}

.section-head{
  margin-block: var(--title-mt) var(--title-mb);
}

.section-title{
  align-items: baseline;
  gap: var(--title-gap);
  color: var(--title-fg);
  line-height:1.15;
  margin:0; 
  position: relative;
}

.section-title .jp{
  font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: .01em;
}


.section-title .sep::before{
  content:"/";
  opacity:.35;
  font-size: clamp(14px, 1.6vw, 18px);
  transform: translateY(-2px);
}

.section-title .en{
  font-family: "Inter","Helvetica Neue",Arial,sans-serif;
  font-weight: 650;
  font-size: clamp(12px, 1.4vw, 16px);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--title-sub);
}

@media (max-width: 480px){
  .section-title{
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .section-title .sep{ display:none; }
  .section-title .en{ order:2; width:100%; }
}

.submenu-container-wrapper {
	background-color: rgb(0 143 81);}

.nge-overlay {
    background-color: rgb(0 143 81 / 90%);
 }

.siteFooter {
    border-top: 3px solid #1d6407 !important;
    background-color: rgb(0 143 81);
}
.mainSection-title, h2 {
    border-top: 2px solid #008f51;
    border-bottom: 1px solid ##008f51;
    color: #008f51;
    border-bottom: 2px solid #008f51;
    background-color: #008f510a;
}

.entry-full {
    margin-top: 3em;
}

.lead {
    color: #008f51;
    background: #feffec;
}

.lead:before {
    background: #3da272;
}



.submenu::before {
    background-color: #ffffff;
}

.submenu:last-child::after {
    background-color: #ffffff;
}

.submenu a:hover {
    color: #329a63;
    font-weight: bold;
}