@charset "UTF-8";html {
    font-size: 100%;
}

* {
    margin: 0;
    padding: 0;
}

section img {
    /* aspect-ratio: 4/3; */
    object-fit: cover;
}

header {
    top:0;
    width: 100%;
    background-color: #0E2262;
    position: fixed;
    z-index: 999999;
}

/*----new header------*/
.header {
    background-color: #0E2262;
    position: sticky;
    z-index: 10000;
    top: 0;
    width: 100%;
    transition: 0.2s;
    height: 60px;
}
.header__wrapper {
    height: 60px !important;
    display: flex !important;
    margin: 0 1vw !important;
}
.header__menu {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 0 auto;
    flex-wrap: nowrap;
    z-index: 999999;
}
.logo {
    width: 90px;
    height: auto;
    margin: 9px;
}

.header__item {
    font-size: 20px;
  
    color: #fff;
    font-family: Helvetica;
    margin: auto 10px;
    align-items: center; /* Align items vertically within the link */
}
.header__item a {
    margin: 3px;
    text-decoration: none;
    color: #fff;
    display: flex; /* Ensure anchor tags use flexbox */
   
}
.header__item:hover {
    background-color: #002291;
    height: 60px;
    
    display: flex;
  }
  
.header__item_a{
    margin-right: 8px;
}
.action{
    background-color: black; 
    height: 60px;
    display: flex;
    padding: 10px;
}
/*----new header end------*/

/*----new SP header------*/
/* Responsive styles */
@media (max-width: 768px) {
    /*----new SP header------*/
    .header__wrapper {
        display: block !important;
        margin: 0 0 !important;
    }

    .header__menu {
        top: 80px;
        height: 80px;
        background-color: #0E2262;
        padding-top: 10px;
        /* margin: -20px 0 0 auto; */
        overflow-x: auto;
        justify-content: unset;
    }

    .header__menu.active {
        display: flex;
    }

    .header__item {
        text-align: center;
        
    }

    .hamburger-menu{
        position: absolute;
        width: 10%;
        /* margin-top: 10px !important; */
        /* top:50%; */
    }

    .logo-link{
        /* margin-left: 10% !important; */
        left: 40%;
        position: absolute;
    }

    .close-menu{
        margin-left: 10px !important;
        position: absolute;
    }
}
/*----new SP  header end------*/
.header-wrapper a {
    color: #fff;
    list-style: none;
    text-decoration: none;
}

.mobile-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0E2262;
    padding: 10px 5px;
    height: 60px;
}

/* ハンバーガーメニューのスタイル */
.hamburger-menu {
    display: block;
    /* position:fixed; */
    /* left: 10px; */
    /* top: 10px; */
    cursor: pointer;
    align-items: center;
    margin: 9px;
    margin-top: 15px;
}

.hamburger-menu img{
    height: 20px;
}

/* 国選択メニュー */
.country-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px; /* ヘッダーの高さ分下にずらす */
    left: -100%;
    width: 300px;
    height: 100%;
    background-color: rgba(14, 34, 98, 0.99);
    padding: 20px;
    align-items: left;
    justify-content: top;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
    max-height: 1000px;
}

/* メニューを開いた時 */
.country-menu.active {
    display: flex;
    left: 0;
}

/* 閉じるボタンのスタイル */
.close-menu {
    display: none;
    /* position: fixed; */
    /* right: 15px; */
    /* top: 10px; */
    cursor: pointer;
    text-align: right;
    margin: 9px;
    margin-top: 15px;
    margin-left: 120px;
}

.close-menu img{
    height: 30px;
    width: auto;
}

.close-menu.active {
    display: block;
}

/* 国選択メニューのリスト */
.country-list {
    list-style: none;
    margin: 10px 10px;
    margin-bottom: 100px;
    text-align: center;
}

.country-list li {
    margin: 10px 0;
}

.country-list a {
    text-decoration: none;
    font-size: 16px;
    color: white;
    font-weight: bold;
    display: block;
    padding: 5px;
    text-align: left;
    /* border-radius: 5px; */
    /* background: rgba(255, 255, 255, 0.2); */
}

.country-list a:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ナビゲーションメニューのスタイル */
.header__menu {
    display: flex;
}
/*----new SP  header end------*/

body {
    color: black;
    font-size: 1rem;
    font-family: 'Times New Roman', Times, serif;

}

a {
    text-decoration: none;
}

li {
    list-style: none;

}

img {
    max-width: 100%;

}/*コンテンツ幅*/
.wrapper {
    max-width: 100%;
    padding: 0 16px;
    margin: 0 auto;
}

.top-head1 {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
}

.top-head2 {
    width: 80%;
    margin: 0 auto;
    text-align: left;
    

}.gnavi__lists {
    display: flex;
    text-decoration: none;
    list-style: none;
    width: 80%;
    white-space: nowrap;
    /* justify-content: space-between; */
}.list_right {
    padding-left: 10px;
}/*タイトル*/
h1 {
    
    margin: 0;
    padding-top: 7rem;
    text-align: center;
    padding-bottom: 2rem;
}

.top-title {
  width: 80%;
  margin: 0 auto;
}
.title {
    font-size: 6px;
}a {
    color: black;

}

 

 .title {
    font-size: 12px;

 }
/*メイン*/

main {

    width: 100%;
    margin-bottom: 30px;
    

}

.main-top img {
    width: 100%;
    height: 120 px !important;
     object-fit: cover;   /* crops while keeping aspect ratio */
    display: block;      /* removes inline spacing issues */
    
}

.main-top {
    width:13%;
   padding: 10px 10px;
    word-break: break-word;
    
}.top1 {
    
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap-reverse;
    
}
/*テキスト*/
.main-text {
    font-size: 0.7rem;
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;  /* 👈 change this to 4 */
    overflow: hidden;       /* 👈 required for truncation */
    text-overflow: ellipsis;/* 👈 ensures "..." shows */
}
/*フッター*/
.footer-section {
    background-color: #0E2262;
}

footer {

    background-color: #0E2262;
    padding: 50px;
    
}

footer a {
    color: #fff;
    list-style: none;
    text-decoration: none;
}

.footer-left {
    width: 80%;
    margin: 0 auto;
    /* display: flex; */
    justify-content: space-between;
    padding-top: 25px;
    /* float: left; */
}

.footer a {
    color: #fff;
    text-decoration: none;
    list-style: none;
}

.sns {
    display: flex;
    list-style: none;
    width: 80%;
    /* justify-content: space-between; */
    margin: 0 auto;
    text-align: left;
    padding-top: 10px;
}

.footer-left {
    width: 80%;
}

.sns a {
    color: #fff;
    text-decoration: none;
    width: 100%;
}

.sns-list-right {
    padding-left: 10px;
}

.copyrights {
    text-align: center;
    color: #fff;
    padding-bottom: 5px;
}

/* footer {
    background-color: #0e2262;
    padding-top: 20px;
    line-height: 1px;
    padding-left: 10px;
    width: 100%;

} */

@media screen and (max-width: 768px) {

 h1 {
    font-size: 17px;
    margin: 0;
    padding-top: 7rem;
    padding-bottom: 1rem;
     }

     .header-wrapper a {
        font-size: 0.5rem;
     }

     .main-top img {
        width: 100%;
        height: 80%;


     }
     
    .top1 {
        width: 100%;
    }

     
  .main-text {
    font-size: 1rem;
  }
        
          .main-top {
        width: 100%;
        height: 50vw; 
        margin: 20px;
        padding:0;
        

     }    .logo img {
        width: 80px;
        height: 30px;    }
    .footer-left {
        font-size: 10px;
    }

    .Thema{
       padding-top: 100px;
       width:95%;
       font-size: 1.5rem;
    }

}
