@charset "UTF-8";

html {
  font-size: 2vw;
}
/* *{
    outline: 2px red solid;
} */

* {
  margin: 0;
  padding: 0;
}

body {
  color: black;

  font-family: "Times New Roman", Times, serif;
}
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__wrapper img {
  object-fit: cover;
}

.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 */
/*----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;
  width: 30px;
}

/* 国選択メニュー */
.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;
  z-index: 9999;
}

/* メニューを開いた時 */
.country-menu.active {
  display: flex;
  left: 0;
  z-index: 9999;
}

/* 閉じるボタンのスタイル */
.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------*/

.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;
}

.gnavi {
  margin: 10px;
}

h1 {
  font-size: 1rem;
} /*container*/
#content {
  width: 60%;
  display: flex;
  justify-content: space-between;
  margin: 1.2rem auto;
  max-width: 1040px;
}

main {
  width: 70%;
}

main img {
  width: 100%;
  height: 20vw;
  object-fit: cover;

  display: flex;
  margin: auto;
}
main .text {
  padding: 10px 0 0;
  font-size: 0.7rem;
  color: #000000;
}
/*aside*/
#sidebar {
  width: 25%;
  margin-top: 40px;
}
#sidebar img {
  width: 100%;
  height: 100%;
}

.slidebar-ad-sp {
  display: none;
}

.ranking {
  margin-bottom: 10px;
}

.article-title {
  font-size: 0.7rem;
  text-align: left;
  margin: 10px 0 0 0;
}

.article_title {
  font-size: 0.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ranking a,
p {
  text-decoration: none;
}

.gnavi__lists a {
  font-size: 0.7rem;
}
.ranking a {
  color: #000000;
  font-size: 0.56rem;
  font-weight: bold;
}

section h3 {
  margin-bottom: 10px;
  font-size: 13px;
  text-align: left;
}

/*フッター*/
.footer-section {
  background-color: #0e2262;
  font-size: 1vw;
  line-height: 1.6;
  font-family: proxima-nova, sans-serif;
}

footer {
  width: 100%;
  background-color: #0e2262;
  padding: 50px 0;
}

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; */
}

.bottom-category {
  /* display: flex; */
  text-decoration: none;
  list-style: none;
  max-width: 80%;
  /* justify-content: space-between; */
  color: #fff;
  text-align: left;
  flex-wrap: wrap;
  /* white-space: nowrap; */
}

.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;
}

.special-article-wrapper {
  padding: 30px;
}

.special-article-wrapper h3 {
  color: #000;
  font-size: 14px;
}

.special-article-wrapper a {
  text-decoration: none;
  list-style: none;
}

@media screen and (max-width: 768px) {
  /*----new SP header------*/

  .header__wrapper {
    display: block !important;
    margin: 0 0 !important;
    /* position: fixed !important; */
  }

  .header__menu {
    top: 120px !important;
    height: 80px;
    background-color: #0e2262;
    padding-top: 10px;
    margin: 10px 0 0 auto;
    overflow-x: auto;
    justify-content: unset;
    z-index: -1;
    overflow-x: scroll;
    /* display: flex; */
  }

  .header__menu.active {
    display: flex;
  }

  .header__item {
    text-align: center;
    margin-right: 30px;
  }

  .Thema {
    margin: 80px 0 5px 0;
  }

  .hamburger-menu {
    position: absolute;
    width: 10%;
    margin-top: 50px !important;
    /* top:50%; */
  }

  .logo-link {
    margin-top: 40px;
    left: 40%;
    position: absolute;
  }

  .close-menu {
    margin-left: 10px !important;
    position: absolute;
  }

  /*----new SP  header end------*/

  /*----For new ads ----*/
  .slidebar-ad-pc {
    display: none;
  }
  .slidebar-ad-sp {
    margin-top: 5px;
    margin-bottom: 10px;
    display: flex;
    background-size: center;
    text-align: center;
  }
  /*----ENd  new ads ----*/

  a {
    font-size: 20px;
  }

  #content {
    width: 85%;
    flex-direction: column;
    position: relative;
  }

  h1 {
    font-size: 2rem;
    padding-top: 2rem;
  }

  .logo img {
    width: 70px;
    height: 30px;
  }

  main img {
    height: 40vw;
  }

  #navi {
    overflow-x: scroll;
  }

  .gnavi__lists a {
    font-size: 1.5rem;
  }

  main {
    width: 100%;
    top: 60px;
  }

  main .text {
    font-size: 2rem;
  }

  .article-title {
    font-size: 2rem;
  }

  .ranking {
    margin-bottom: 10%;
  }

  .ranking a {
    font-size: 1.8rem;
  }

  #sidebar {
    width: 100%;
    padding: 0;
    margin: 30px auto 0;
  }

  #sidebar img {
    width: 100%;
  }
  .article_title {
    font-size: 1.5rem;
  }
  .footer-left {
    font-size: 10px;
  }
}
