/* ============================================
   GLOBAL BASE STYLES
   ============================================ */

* {
  color: #323c44;
  font-weight: normal;
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

a {
  color: #323c44;
}

p {
  letter-spacing: 0.05em;
}

p a {
  text-decoration: underline;
  color: blue;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  align-items: center;
  background-color: rgba(255, 255, 255, 80%);
  display: flex;
  font-size: 16px;
  height: 90px;
  justify-content: space-between;
  padding-right: 50px;
  position: fixed;
  width: 100%;
  z-index: 999;
}

header > a {
  height: 100%;
  display: flex;
  align-items: center;
}

header img {
  display: block;
  width: auto;
  height: 88px;
  max-height: calc(100% - 4px);
  object-fit: contain;
}

header ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  width: 760px;
}

header ul a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

header ul a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #323c44;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform 0.3s;
}

header ul a:hover::after {
  transform: scale(1, 1);
}

.nav-wrapper,
.burger-btn {
  display: none;
}

#footer .logo {
  background: none !important;
  background-image: none !important;
}

#footer .logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
}

/* ============================================
   TYPOGRAPHY & CONTENT
   ============================================ */

h1 {
  letter-spacing: 0.2em;
  font-size: 40px;
  font-weight: bold;
  padding-bottom: 20px;
}

h2 {
  color: #4a69a4;
  border-bottom: 6px #bbe2f1 solid;
  font-size: 25px;
  font-weight: bold;
  padding-top: 30px;
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 30px;
}

h3 {
  letter-spacing: 0.1em;
  font-size: 32px;
  font-weight: normal;
}

.naiyou p,
.content_block p {
  font-size: 18px;
  line-height: 30px;
  width: 800px;
  margin: 0 auto;
}

.naiyou:not(.center-venue) > p + p {
  margin-top: 1em;
}

/* ============================================
   ELEMENTS LAYOUT
   ============================================ */

.title {
  text-align: center;
}

.title1 {
  display: inline-block;
  text-align: center;
  margin: 0 auto;
  width: 500px;
  height: 260px;
  padding-top: 100px;
}

.title1 p {
  margin-top: 30px;
  font-size: 16px;
}

.title2 {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 1120px;
  margin: 0 auto;
  padding-top: 60px;
}

.title_2 {
  background-image: url(../images/title1.png);
  width: 160px;
  height: 96px;
}

.title3 {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 1026px;
  margin: 0 auto 20px;
}

.title_3 {
  background-image: url(../images/title2.png);
  width: 113px;
  height: 70px;
}

.content_block > h2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: min(100%, 1120px);
  margin: 0 auto 16px;
  padding-top: 60px;
  color: #323c44;
  font-size: 32px;
  font-weight: normal;
  letter-spacing: 0.1em;
  border: none;
  text-align: left;
}

.content_block > h2::before {
  content: "";
  flex: 0 0 160px;
  width: 160px;
  height: 96px;
  background-image: url(../images/title1.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

iframe {
  display: flex;
  margin: 30px auto 0;
}

.date {
  font-weight: bold;
}

img {
  display: flex;
  margin: 0 auto;
}

.intro p {
  margin-top: 10px;
}

.second .intro img {
  width: 600px;
  height: 450px;
  background-size: cover;
}

.images {
  text-align: center;
}

.images img {
  display: inline-block;
  margin-left: 10px;
}

ol {
  list-style: decimal;
  width: 750px;
  margin: 0 auto;
}

.last_text {
  margin-top: 200px;
}

.first,
.second,
.third {
  margin-top: 110px;
}

.content_section {
  margin-top: 140px;
}

.content_subsection {
  margin-top: 40px;
}

.content_item {
  padding: 20px 0;
}

footer {
  margin-top: 100px;
  background-color: #4a69a4;
  min-height: 320px;
  padding-top: 100px;
  width: 100%;
  position: relative;
}

.whole_footer {
  display: flex;
  justify-content: space-between;
}

footer a {
  color: #fff;
  font-size: 14px;
}

.prime {
  font-size: 20px;
}

footer p {
  color: #fff;
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  margin-bottom: 10px;
}

.logos {
  margin-left: 80px;
}

.logo {
  display: inline-block;
  width: 150px;
  height: 140px;
}

.texts {
  display: flex;
}

.kikaku {
  width: 180px;
}

.sns {
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
}

.insta {
  background-image: url(../images/insta.png);
  width: 42px;
  height: 42px;
  background-size: contain;
  background-repeat: no-repeat;
}

.twitter {
  background-image: url(../images/twitter.png);
  width: 42px;
  height: 42px;
  background-size: contain;
  background-repeat: no-repeat;
}

.texts a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.texts a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform 0.3s;
}

.texts a:hover::after {
  transform: scale(1, 1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media screen and (max-width: 768px) {
  button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: inherit;
    cursor: pointer;
    margin: 0;
    outline: none;
    padding: 0;
    vertical-align: middle;
  }

  header {
    height: 60px;
    padding-left: 10px;
    padding-right: 10px;
  }

  header img {
    width: auto;
    height: auto !important;
    max-width: 118px;
    max-height: 44px;
    display: block;
  }

  .pcul {
    display: none;
  }

  .nav-wrapper {
    display: initial;
    height: 100vh;
    right: 0;
    position: fixed;
    top: 0;
    transform: translateX(100%);
    transition: transform 0.3s;
    width: 100%;
  }

  .nav-wrapper.slide-in {
    transform: translateX(0);
  }

  .nav-wrapper {
    z-index: 1000;
  }

  .header-nav {
    width: 100%;
    height: 100%;
    background-color: #bbe2f1;
    z-index: 1000;
  }

  .nav-list {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-15%, -50%);
    text-align: left;
  }

  .nav-item {
    margin-right: 0;
    margin-top: 60px;
  }

  .detail {
    margin-left: 30px;
    margin-top: 10px;
  }

  .nav-list a {
    color: #003149;
    font-size: 16px;
    position: relative;
  }

  .burger-btn {
    border: none;
    display: inline-block;
    height: 39px;
    margin-top: 0;
    position: fixed;
    right: 10px;
    top: 10px;
    width: 39px;
    z-index: 1001;
  }

  .bar {
    width: 40px;
    height: 2px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4a69a4;
  }

  .bar_top {
    top: 10px;
  }

  .bar_mid {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .bar_bottom {
    bottom: 10px;
  }

  .burger-btn.close .bar_top {
    transform: translate(-50%, 10px) rotate(45deg);
    background-color: #003149;
    transition: 0.3s;
  }

  .burger-btn.close .bar_mid {
    opacity: 0;
    transition: opacity 0.3s;
  }

  .burger-btn.close .bar_bottom {
    transform: translate(-50%, -8px) rotate(-45deg);
    background-color: #003149;
    transition: 0.3s;
  }

  footer {
    padding-top: 32px;
    padding-bottom: 24px;
    height: auto;
    min-height: 300px;
  }

  .whole_footer {
    display: block;
  }

  .logos {
    margin-left: 0;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #footer .logo {
    width: 80px !important;
    height: 30px !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #footer .logo img {
    transform: scale(2) !important;
  }

  #footer .sns {
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .insta,
  .twitter {
    width: 30px;
    height: 30px;
  }

  footer ul {
    display: block !important;
    margin-top: 8px;
    margin-left: 0;
    padding-left: 16px;
  }

  .texts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
    margin-top: 18px;
    padding: 0 20px;
  }

  .texts a {
    font-size: 13px;
  }

  footer p {
    font-size: 10px;
    position: static;
    margin-top: 16px;
    margin-bottom: 0;
    padding-bottom: 8px;
  }

  .kikaku {
    width: auto;
    min-width: 0;
  }
}
