/* Reset style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  color: #e9e9e9;
  text-decoration: none;
}

body, html {
  overflow-x: hidden;
}

/* Normal header style */
.header_bg {
  background-color: #111;
  width: 100%;
  height: 60px;
}

header .logo {
  /* height: 100px; */
  padding-right: 20px;
}

.header_contents {
  width: 100%;
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_contents h1 {
  font-size: 22px;
  margin: 0 0 0 0px;
}

.header_social {
  margin-left: 25px;
}

.header_social_lists {
  display: flex;
}

.header_social_lists li {
  margin: 0 20px 0 0;
}

.social_link {
  font-size: 24px;
}


.header_nav_lists {
  display: flex;
}

.header_nav_lists li {
  padding-left: 15px;
  padding-right: 15px;
}

.header_nav_li+.header_nav_li {
  border-left: 1px solid #333;
}

.nav_link {
  font-size: 16px;
  font-weight: bold;
}

.nav_link:hover {
  color: #ffe4c0;
}


/* Responsive menu button */
.responsive_btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 40px 0 0;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.menu_line {
  background: #fafafa;
  border-radius: 5px;
  width: 100%;
  height: 5px;
  margin: 4px 0;
}

/* Responsive style */
@media screen and (max-width: 768px) {
  .responsive_btn {
    display: flex;
    z-index: 11;
  }

  .header_bg {
    position: relative;
  }

  .header_nav {
    background: #323232;
    width: 100%;
    height: 100vh;
    padding: 80px 0 0 0;
    position: fixed;
    top: 0;
    right: -100%;
    transition: .5s;
    z-index: 10;
  }


  .header_nav_lists {
    display: block;
    text-align: center;
  }

  .header_nav_lists li {
    margin: 0 0 40px;
    text-align: center;
  }

  .nav_link {
    font-size: 20px;
  }
}

/* js function "menuToggle" starting only */
.menu_active {
  right: 0;
}

.menu {
  list-style: none;
  display: flex;
  padding: 20px;
}

.menu li a {
  padding: 10px 15px;
  margin: 5px;
  font-weight: lighter;
  border: 2px solid white;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  color: white;
}

.menu li a.active {
  background-color: rgb(13, 12, 13);
}

.menu li a:not(.active):hover {
  opacity: 0.4;
  transition: .2s;
}

.responsive_btn.menu_active .menu_line:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
  transition: .2s;
}

.responsive_btn.menu_active .menu_line:nth-child(2) {
  opacity: 0;
  transition: .2s;
}

.responsive_btn.menu_active .menu_line:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
  transition: .2s;
}


.container {
  background-color: #1c1c1c;
  background-image: linear-gradient(to bottom, rgb(28, 28, 28), rgb(39, 39, 39));

  /* background-image: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(32, 32, 32, 0.5)), 
    linear-gradient(45deg, rgb(49, 49, 49), rgb(50, 50, 50)); 45度のグラデーション */

    background-image: radial-gradient(
    circle at center,
    #1a1a1a 0%,    /* 中央は白色 */
    #282828 75%,   /* 中央から25%の位置はグレー */
    #333333 100%   /* 端は黒色 */
  );
  min-height: 650px;
}


/* footerの設定 */
footer {
  background-color: #111;
  padding: 20px;
  text-align: center;
}


.footer_contents {
  width: 100%;
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright_lists {
  display: flex;
}

.copyright_li {
  font-size: 12px;
  padding-left: 10px;
  padding-right: 10px;
  color: #6f6f6f;
}

.copyright_li+.copyright_li {
  border-left: 1px solid #333;
}

.social-media_lists {
  display: flex;
}

.social-media_li {
  font-size: 12px;
  padding-left: 10px;
  padding-right: 10px;
}

.footer_link {
  color: #6f6f6f;
}

.social-media_li+.social-media_li {
  border-left: 1px solid #333;
}

.footer_link:hover {
  color: #e9e9e9;
}


/* bodyの範囲を画面いっぱいにする */
.container {
  flex: 1;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* wrapperの高さも100vhにする */
}

body {
  margin: 0;
  min-height: 100vh;
  /* 画面全体の高さを確保 */
  display: flex;
  /* bodyをFlexコンテナーにする */
  flex-direction: column;
  /* 子要素を縦に並べる */
}