html {
  height: 100%;
}

body {
  height: auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Arial, Georgia,  Helvetica, sans-serif;
  padding-top: 50px; 
  padding-right: 0px;
  margin: 0;
  background: url('fon.jpg');
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: darken;
}

.hi{
  flex: 0 0 auto;
  color: white;
  padding-top: 16%;
  padding-bottom: 10%;
  padding-left: 10%;
  margin: 0;
}
.hi p{
  text-align: left;
  width: 50%;
  font-size: 16pt;
}
.hi a{
  padding: 8px;
  font-size: 120%;
  color: #ffffffdf;
  background-color: #214a90;;
  text-decoration: none;
  border-style: double;
}

.hi a:hover {
    background-color: #4479d5;
}

.h{
  color: white;
  padding-top: 30px;
  margin-left: 10%;
}
footer {
    flex-shrink: 0;
    margin-top: 0;
}
.site-footer {
    border: none;
    margin-top: auto;
    flex-shrink: 0; 
    background-color: #19386d; 
    color: #ffffff;
    
}

.logo {
    height: 25px;
}
.nav-toggle {
  display: none;
}
.cont {
    text-align: justify;
    flex: 0 0 auto;
    margin-bottom: 20px;
    margin-top: 5%;
    margin-left: 10%;
    margin-right: 10%;
    background-color: #fbfbfb;
    color: #000000;
    padding: 0px 20px 20px 20px;
    border-radius: 15px;
}

.pc {
    display: block;
}
.mobile{
    display: none;
}

.right p {
    text-align: right;
}

.nav-toggle-label {
  position: fixed;
  top: 20px;
  left: 10px;
  z-index: 100;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #ffffff;
  position: absolute;
  transition: transform 0.3s ease;
}

.nav-toggle-label span::before { content: ''; top: -8px; }
.nav-toggle-label span::after { content: ''; top: 8px; }


.nav-toggle:checked + .nav-toggle-label span {
  background-color: transparent;
}
.nav-toggle:checked + .nav-toggle-label span::before {
  transform: rotate(45deg);
  top: 0;
}
.nav-toggle:checked + .nav-toggle-label span::after {
  transform: rotate(-45deg);
  top: 0;
}


.sidebar {
  position: fixed;
  top: 0;
  left: -200px; 
  width: 250px;
  height: 100vh;
  background-color: #214a90;
  color: #ffffff;
  transition: left 0.3s ease; 
  z-index: 99;
  padding-top: 60px;
}

.nav-toggle:checked ~ .sidebar {
  left: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  text-decoration: none;
}

.nav-toggle:checked ~ .sidebar ul li a:hover {
  background-color: #4479d5;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); 
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 98; 
  cursor: pointer;
}


.nav-toggle:checked ~ .sidebar-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


.top-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 45px;
  background-color: #e4e3e3;
  z-index: 50; 
  transition: transform 0.3s ease-in-out; 
}


.top-menu ul {
  display: flex; 
  justify-content: center; 
  list-style-type: none;
  padding: 8px 20px;
  margin: 0;
}


.top-menu li a {
  display: block;
  padding: 6px 20px;
  color: #000000;
  text-decoration: none;
}
.top-menu li img {
  display: block;
  padding: 0px 20px;
  text-decoration: none;
}
.footer-bottom {
    background-color: #19386d;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    margin: 0;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 100px;
}

.feedback-form-block {
    background-color: white;
    border-radius: 15px;
    padding: 25px 30px;
    margin-top: 20px;
}

.feedback-form-block .form-row {
    margin-bottom: 18px;
}

.feedback-form-block label {
    display: block;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
    font-size: 14px;
}

.feedback-form-block .required-star {
    color: #c73e3e;
    margin-left: 2px;
}

.feedback-form-block .optional-badge {
    font-weight: normal;
    font-size: 11px;
    background: #c4c4c4;
    padding: 2px 8px;
    border-radius: 20px;
    color: #333;
    margin-left: 8px;
}

.feedback-form-block input,
.feedback-form-block textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid #bbb;
    border-radius: 10px;
    background-color: #fff;
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
}

.feedback-form-block input:focus,
.feedback-form-block textarea:focus {
    border-color: #214a90;
    box-shadow: 0 0 0 2px rgba(33, 74, 144, 0.2);
}

.feedback-form-block textarea {
    resize: vertical;
    min-height: 100px;
}

.feedback-form-block .name-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feedback-form-block .name-row .form-row {
    flex: 1;
    min-width: 140px;
}

.feedback-form-block .btn-submit {
    background: #214a90;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-top: 10px;
}

.feedback-form-block .btn-submit:hover {
    background: #0f2f60;
    transform: translateY(-1px);
}

.feedback-form-block .recipient-note {
    background: #d4d4d4;
    border-radius: 12px;
    padding: 10px 15px;
    margin-top: 20px;
    font-size: 12px;
    color: #2c3e50;
    border-left: 4px solid #214a90;
}

.feedback-form-block .recipient-note span {
    font-weight: 600;
    background: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-family: monospace;
}

.feedback-form-footer-note {
    font-size: 11px;
    text-align: center;
    margin-top: 15px;
    color: #555;
}

.res {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: start;
}

.scaled-iframe {
    margin-top: 20px;
    border: none;
    width: 100%;
    max-width: 324px;
    height: auto;
    aspect-ratio: 300 / 200;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.article-item {
    margin-top: 20px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.article-item h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 20px;
    color: #1e3c5c;
}

.article-date {
    font-size: 12px;
    color: #777;
    margin-bottom: 12px;
}

.article-preview {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 15px;
}

.article-readmore {
    color: #214a90;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.article-readmore:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .res {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .top-menu {
        height: auto;
        padding: 5px 0;
    }

    .top-menu ul {
        gap: 5px;
        padding: 5px 10px;
    }
    .top-menu li img {
        height: 30px;
        padding: 10px;
    }
    
    .top-menu li a {
        padding: 25px 12px 10px 12px;
        font-size: 14px;
    }
    .top-menu {
        width: 100%;
    }

    .hi p {
        width: 70%;
        font-size: 18px;
    }
    
    .footer-bottom {
        padding: 10px 30px;
    }
}


@media (max-width: 768px) {
    .pc {
        display: none;
    }
    .mobile{
        display: block;
    }
    .res {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .top-menu {
        display: block;
        background-color: #e4e3e3;
        padding: 5px 0;
    }
    
    .top-menu ul li:not(:first-child) {
        display: none;
    }
    
    .top-menu ul {
        justify-content: center;
        padding: 10px 0;
    }
    
    .top-menu li img {
        padding: 5px;
        height: 35px;
    }
    
    .nav-toggle-label {
        width: 44px;
        height: 44px;
        top: 4px;
        left: 8px;
        z-index: 101;
        background: transparent;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    
    .nav-toggle-label span {
        position: relative;
        display: block;
        width: 28px;
        height: 3px;
        background-color: #000000;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
        width: 28px;
        height: 3px;
        background-color: #000000;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .nav-toggle-label span::before {
        top: -10px;
    }
    
    .nav-toggle-label span::after {
        top: 10px;
    }
    
    .nav-toggle:checked + .nav-toggle-label span {
        background-color: transparent;
    }
    
    .nav-toggle:checked + .nav-toggle-label span::before {
        background-color: #ffffff;
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle:checked + .nav-toggle-label span::after {
        background-color: #ffffff;
        transform: rotate(-45deg);
        top: 0;
    }
    
    .sidebar {
        width: 100%;
        left: -100%;
        background-color: #214a90;
        padding-top: 80px;
        z-index: 100;
    }
    
    .nav-toggle:checked ~ .sidebar {
        left: 0;
    }
    
    .sidebar ul li a {
        padding: 20px 25px;
        font-size: 20px;
        text-align: left;
        font-weight: 500;
    }
    
    
    
    .sidebar-overlay {
        z-index: 99;
    }
    
    body {
        padding-top: 20px;
    }
    
    .h {
  
      margin-top: 70px;
      font-size: 24px;
      margin-left: 5%;
      padding-top: 15px;
    }
    
    .cont {
        margin-left: 5%;
        margin-right: 5%;
        margin-top: 15%;
        padding: 15px;
    }
    
    .hi {
        padding-top: 25%;
        padding-bottom: 40%;
        padding-left: 5%;
    }
    
    .hi p {
        width: 90%;
        font-size: 16px;
    }
    
    .hi h1 {
        font-size: 28px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
        font-size: 12px;
    }
    
    .feedback-form-block {
        padding: 15px;
    }
    
    .feedback-form-block .name-row {
        flex-direction: column;
        gap: 0;
    }
    
    .feedback-form-block .btn-submit {
        font-size: 14px;
        padding: 10px 20px;
    }
     .top-menu {
        height: auto;
        padding: 5px 0;
    }
    
    .top-menu ul {
        padding: 5px 10px;
    }
    
    .top-menu li img {
        height: 30px;
        padding: 0;
    }
    
    .top-menu {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .pc {
        display: none;
    }
    .mobile{
        display: block;
    }
    .h {
        font-size: 20px;
        margin-left: 5%;
    }
    
    .cont p {
        font-size: 14px;
    }
    
    .hi h1 {
        font-size: 28px;
    }
    
    .hi p {
        width: 95%;
        font-size: 18px;
    }
    
    .hi a {
        font-size: 18px;
    }
    
    .nav-toggle-label {
        width: 36px;
        height: 36px;
        top: 8px;
        left: 8px;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        width: 24px;
        height: 3px;
    }
    
    .nav-toggle-label span::before {
        top: -8px;
    }
    
    .nav-toggle-label span::after {
        top: 8px;
    }
    
    .feedback-form-block input,
    .feedback-form-block textarea {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .feedback-form-block label {
        font-size: 13px;
    }
    
    .recipient-note {
        font-size: 10px;
    }
     .top-menu {
        height: auto;
        padding: 5px 0;
    }
    
    .top-menu ul {
        padding: 5px 10px;
    }
    
    .top-menu li img {
        height: 30px;
        padding: 0;
    }
    
    .top-menu {
        width: 100%;
    }
}

.cont, .hi {
    flex-shrink: 0;
}

.spacer {
    flex: 1;
    min-height: 50vh;
}

table {
    border-collapse: collapse;
}
table, th, tr, td {
    border: 1px solid #ccc;
    padding: 3px;
    min-height: 80px; 
}

