@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-size: 16px;
  color: #000;
  line-height: 1.5;
  background: url(../img/background_img.png) no-repeat center center / cover;
  background-attachment: fixed;
}

img {
  max-width: 100%;
}

nav a,
main,
small {
  font-family: "Kaisei Opti", serif;
  font-weight: 700;
  font-style: normal;
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.header_area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px auto;
}

.header_logo img {
  max-width: 250px;
}


header nav ul {
  display: flex;
  padding: 15px;

}

nav a {
  justify-content: center;
  font-size: 1em;
  padding: 15px;
}

header nav ul li:hover {
  color: #d8b500;
}

header,
footer {
  color: #fff;
  background-color: #000;
}


/* メインここから */
main {
  width: 70%;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 25px;
  max-width: 1300px;
  margin: 200px auto;
}

section {
  padding: 30px auto;
}

h1 {
  font-size: 48px;
  color: #fff;
  text-shadow: 2px 2px 10px #67bf21, -2px 2px 10px #67bf21, 2px -2px 10px #67bf21, -2px -2px 10px #67bf21;
  ;
  text-align: center;
  padding-top: 15px;
}

h2 {
  font-size: 30px;
  padding: 10px 0;
  color: #fff;
  text-shadow: 2px 2px 10px #00ddff, -2px 2px 10px #00ddff, 2px -2px 10px #00ddff, -2px -2px 10px #00ddff;
  ;
  text-align: center;
}
.program_contents{
  display: flex;
  flex-direction: column;
}

.program_contents div:nth-child(even){
  align-self: flex-end;
}

.contents_01 h2,
.contents_02 h2,
.contents_03 h2,
.contents_04 h2,
.contents_05 h2,
.contents_06 h2 {
  font-size: 30px;
  padding: 10px 0;
  color: #ffb56f;
  text-shadow: 2px 2px 3px #030672, -2px 2px 3px #030672, 2px -2px 3px #030672, -2px -2px 3px #030672;
  ;
  text-align: center;
}

.contents_01 h3,
.contents_02 h3,
.contents_03 h3,
.contents_04 h3,
.contents_05 h3,
.contents_06 h3 {
  font-size: 24px;
  padding: 10px 0;
  color: #fff;
  text-shadow: 2px 2px 3px #030672, -2px 2px 3px #030672, 2px -2px 3px #030672, -2px -2px 3px #030672;
  ;
  text-align: center;
}

.contents_01,
.contents_02,
.contents_03,
.contents_04,
.contents_05,
.contents_06 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: #000;
  font-size: 16px;
  text-align: center;
  padding: 10px;
}

.program_01,
.program_02,
.program_03,
.program_04,
.program_05,
.program_06 {
  width: fit-content;
}

.program_01,
.program_03,
.program_05 {
  position: relative;
}

.program_02,
.program_04,
.program_06 {
  position: relative;
  text-align: left;
}



.contents_01 p,
.contents_02 p,
.contents_03 p,
.contents_04 p,
.contents_05 p,
.contents_06 p,
.contents_06 ul li {
  font-size: 24px;
  padding: 10px 0;
  color: #000;
  font-size: 16px;
  line-height: 1;
  text-shadow: 2px 2px 3px #fff571, -2px 2px 3px #fff571, 2px -2px 3px #fff571, -2px -2px 3px #fff571;;
  text-align: center;
  list-style: disc inside;
}

/* フッター */
footer {
  padding: 50px auto;
  font-size: 20px;
  width: 100%;
}
.footer-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
}

footer img {
  max-width: 250px;
}

.footer_logo {
  width: 100px;
  margin-top: 20px;
}

.footer_nav {
  margin-top: 20px;
}

footer a {
margin: 10px auto;
}

footer nav ul li:hover {
  color: #d8b500;
}

.copy {
  text-align: center;
  padding-top: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

/* 開いたときのアニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* メニュー（スマホ時非表示） */
#nav-menu {
  display: flex;
  gap: 10px;
}


/* レスポンシブ */
@media screen and (max-width: 768px) {
  body {
    background-size: auto;
  }
  
  .header_area {
    position: relative;
  }

  .header_area nav {
    padding: 20px;
    max-height: 130px;
  }

  .header_logo img  {
    width: 150px;
  }

  header nav a {
    display: block;
    justify-content: center;
    font-size: 24px;
  }

  main {
    width: 90%;
    padding-top: 15px;
    padding-bottom: 70px;
    margin-top: 100px;
    margin-bottom: 30px;
  }

  h1 {
    font-size: 36px;
    padding-top: 20px;
  }

  .program_title h2 {
    font-size: 20px;
  }

  .program_01,
  .program_02,
  .program_03,
  .program_04,
  .program_05,
  .program_06 {
    position: relative;
  }

  
  /* プログラム画像を中央寄せ */
  .program_contents img {
    display: block;
    text-align: center;
    margin: 15px auto;
  }

  .contents_06 {
    height: fit-content;
    padding-bottom: 10px;
  }

  #nav-menu {
    display: none;
    /* デフォルトは非表示 */
    flex-direction: column;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 auto;
  }

  #nav-menu.active {
    display: block;
    text-align: center;

  }

  .hamburger {
    display: flex;
    cursor: pointer;
  }

  .footer-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
  }

  .footer_logo {
    width: 100px;
    margin-top: 20px;
  }
  
  .footer_nav {
    margin-top: 20px;
  }
  
  footer a {
    font-size: 16px;
  }

}