@charset "utf-8";

.main {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;;
}

.section__main-visual {
  background-image: url(./main.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: auto;
  text-align: center;
  padding-top: 150px;
  padding-bottom: 100px;
}

.section__main-visual img {
  width: 100%;
  max-width: none;
  min-height: 250px;
  object-fit: cover;
}

.section__main-visual--container {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.section__main-visual--container--items {
  display: flex;
  align-items: center;
  gap: 15px;
}

.section__main-visual--container--items--title {
  background-color: #fff;
  color: #000;
  padding: .5em;
  font-size: 18px;
  border-radius: 10px;
}

.section__main-visual--container--items--text {
  color: #fff;
  font-weight: bold;
  text-align: start;
  font-size: 18px;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
}

.section__main-visual img:nth-child(2) {
  margin: 0 auto;
  width: 130px;
  height: auto;
}

.section__main-visual h1,
.section__main-visual h2 {
  color: #fff;
  text-align: center;
}

.section__main-visual h1 {
  font-size: 40px;
  padding-top: 10px;
  line-height: 1;
  color: rgb(45 48 144);
  background-color: #fff;
}

.section__main-visual h2 {
  font-weight: 600;
  margin: 0 auto 10px;
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
}

.section__main-visual span {
  display: block;
  color: rgb(251 248 0);
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
}

.section__main-visual p {
  color: #fff;
  margin: 15px auto 30px;
  max-width: 50%;
  line-height: 1.8;
  font-weight: bolder;
  font-size: 18px;
  text-align: start;
  letter-spacing: .8px;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
}

/* ----- container ----- */

.container {
  width: 1100px;
  margin: 50px auto 0;
  display: flex;
  justify-content: space-between;
  max-width: 100%;
}

.container__item:first-child {
  width: 750px;
}

.container__item:first-child p {
  font-size: 20px;
  letter-spacing: .8px;
  line-height: 1.7;
  font-weight: 500;
}

.container__item:first-child p:not(.container__item:first-child p:first-child, .profile .profile__text p, .container__item:first-child p:last-of-type) {
  margin: 30px auto;
  text-indent: 1em;
}

.container__item:first-child p:last-of-type {
  margin-bottom: 50px;
  text-indent: 1em;
}

.container__item:nth-child(2) {
  width: 300px;
}

.container__item:first-child .profile {
  margin: 20px auto 50px;
  text-align: center;
}

.container__item:first-child .profile img {
  margin: 0 auto;
  max-width: 300px;
}

.container__item:first-child .profile p:first-child {
  font-weight: bold;
  font-size: 26px;
  margin: 5px auto;
}

.container__item:first-child .profile p:first-child span {
  font-size: 18px;
}

.container__item:first-child .profile p {
  line-height: 1.5;
  font-weight: normal;
}

.content__title {
  background-color: #f2f2f2;
  border-radius: 60px;
  color: #2e3192;
  text-align: center;
  margin: 50px auto;
  font-size: 26px;
  font-weight: 900;
  padding: 3px 0;
}

.container__item--flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container__item--flex--text {
  text-indent: 0 !important;
  margin-bottom: 0 !important;
}

.container__item--flex--text:first-child {
  background: rgb(96,99,172);
  background: linear-gradient(90deg, rgba(96,99,172,1) 0%, rgba(104,55,146,1) 100%);
  color: #fff;
  font-weight: 900 !important;
  border-radius: 30px;
  font-size: 18px;
  text-align: center;
  padding: 0 15px;
  width: 90px;
}

.container__item--flex--text:last-child {
  color: #2E3192;
  font-weight: 900 !important;
}

.container__item--title {
  color: #2E3192;
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  margin: 30px auto;
}

.container__item--title span {
  position: relative;
  display: inline-block;
  padding: 0 40px;
  margin-left: 1em;
}

.container__item--title span::before,
.container__item--title span::after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 30px;
  height: 1px;
  background-color: #2E3192;
}

.container__item--title span::before {
  left: 0;
}

.container__item--title span::after {
  right: 0;
}

.separator {
  flex-grow: 1;
  height: 1px;
  background-color: #2E3192;
  border: none;
  margin: 0 10px 0 0;
}

.aside {
  margin: 40px auto 70px;
  text-align: center;
}

.aside .brand {
  font-size: 30px;
  margin-bottom: 20px;
}

.aside .brand--link {
  font-size: 18px;
  color: #2E3192;
  text-decoration: underline;
  transition: all .3s;
}

.aside .brand--link:hover {
  color: #5257ff;
}

/* ----- nav ----- */

.nav img {
  margin: 20px auto;
  width: 100px;
}

.nav img:first-child {
  margin-top: 0;
}

.nav .nav--title,
.nav .nav--heading--lead {
  font-weight: 600;
  color: #fff;
}

.nav a {
  transition: all .3s;
}

.nav a:hover {
  opacity: .7;
}

.nav .ul .li a .nav--text {
  padding: .25em .5em;
  background-color: #fff;
}

.nav .ul .li a .nav--text:not(.nav .ul:nth-of-type(3) .li:nth-of-type(6) a .nav--text) {
  margin-bottom: 20px;
}

.nav .ul:first-of-type .li:first-of-type a .nav--title {
  background-color: #7D0022;
  font-size: 20px;
  letter-spacing: 1px;
  text-align: center;
}

.nav .ul:first-of-type .li:first-of-type a .nav--title + .nav--text {
  display: block;
  border: 1px solid #7D0022;
	border-top: 0;
  color: #7D0022;
  font-weight: 900;
}

.nav .ul .li a .nav--title:not(.nav .ul:first-of-type .li:first-of-type a .nav--title) {
  background-image: url(../index_back.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: calc(100% - .5em);
  font-size: 18px;
}

.nav .ul .li a .nav--title + .nav--text {
  display: block;
  border: 1px solid #6F6B9D;
	border-top: 0;
  color: #2E3192;
  font-weight: 900;
}

.nav .ul:nth-of-type(3) .li a .nav--title + .nav--text {
  display: block;
  border: 1px solid #2E3192;
	border-top: 0;
  color: #2E3192;
  font-weight: 900;
}

.nav--heading--lead {
  background-color: #676E9E;
  border-radius: 30px;
  font-size: 18px;
  text-align: center;
  padding: 0 30px;
  width: 40px;
  margin: 15px auto;
}

/* ----- movie ----- */

.movie--area img {
  margin-bottom: 20px;
}

.movie--area p {
  text-indent: 0;
  text-align: center;
  font-weight: bold;
}

.movie--area p a {
  color: #2E3192;
  text-decoration: underline;
  transition: all .3s;
}

.movie--area p a:hover {
  color: #5257ff;
}

/* ----- mediaquery ----- */

@media screen and (max-width: 1139.9px) {
  .container {
    justify-content: space-around;
    gap: 20px;
    width: 95%;
  }

  .container__item:first-child {
    flex-shrink: 3;
  }

  .container__item:nth-child(2) {
    min-width: 300px;
  }
}

@media screen and (max-width: 1057.9px) {
  .container__item--title span {
    margin-left: 0;
  }

}

@media screen and (max-width: 790.9px) {
  .container__item:first-child .profile p {
    font-size: 16px;
  }
  .content__title,
  .aside .brand {
    font-size: 22px;
  }

}

@media screen and (min-width: 768px) {
  .nav .ul .li a .nav--title {
    padding: .25em 0 .25em .5em;
  }

  .nav .ul:nth-of-type(3) .li:nth-of-type(2) a .nav--title,
  .nav .ul:nth-of-type(3) .li:nth-of-type(4) a .nav--title {
    padding-top: .5em;
    padding-bottom: .5em;
  }

  .nav .ul:first-of-type .li:nth-of-type(2) a .nav--title,
  .nav .ul:first-of-type .li:nth-of-type(3) a .nav--title,
  .nav .ul:nth-of-type(2) .li a .nav--title {
    height: auto;
  }

  .nav .ul:nth-of-type(3) .li:nth-of-type(2) a .nav--title,
  .nav .ul:nth-of-type(3) .li:nth-of-type(4) a .nav--title {
    font-size: 14px !important;
  }

}

@media screen and (max-width: 767.9px) {
  .section__main-visual {
    padding-top: 100px;
  }

  .container {
    flex-direction: column;
    gap: 0;
    margin-top: 0;
  }

  .container__item--flex {
    margin-top: 50px;
  }

  .container__item:first-child {
    width: auto;
  }

  .container__item:nth-child(2) {
    margin: 0 auto;
    width: auto;
  }

  .container__item:first-child .profile {
    margin-top: 30px;
  }

  .container__item:first-child .profile img {
    max-width: 65.655%;
  }

  .section__main-visual p {
    max-width: 80%;
  }

  .nav .ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav .ul .li {
    width: calc(50% - 5px);
  }

  .nav .ul .li a .nav--title {
    display: flex;
    align-items: center;
    min-height: 35px;
    padding: .1em 0 .1em .5em;
  }

  .nav .ul .li a .nav--text {
    min-height: 80px;
  }

  .nav .ul:nth-of-type(3) .li:nth-of-type(6) a .nav--text {
    margin-bottom: 50px;
  }

}

@media screen and (max-width: 689.9px) {
  .section__main-visual h1 {
    font-size: 5vw;
    margin-bottom: 50px;
  }

  .section__main-visual h2 {
    font-size: 4.5vw;
  }

}

@media screen and (max-width: 620.9px) {
  .nav .ul:first-of-type .li:first-of-type a .nav--title {
    text-align: left;
  }

}

@media screen and (max-width: 575.9px) {
  .section__main-visual {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .section__main-visual img {
    min-height: 150px;
  }

  .section__main-visual--container--items--title,
  .section__main-visual--container--items--text,
  .container__item:first-child p {
    font-size: 16px;
  }

  .container__item:nth-child(2) {
    max-width: 100%;
    min-width: 0;
  }

  .section__main-visual p {
    max-width: 90%;
    font-size: 16px;
  }

  .section__main-visual--container {
    display: inline-block;
  }

  .section__main-visual--container--items:first-child {
    margin-bottom: 10px;
  }

  .nav .ul {
    justify-content: center;
  }

  .nav .ul .li {
    width: 80%;
  }

}

@media screen and (max-width: 406.9px) {
  .section__main-visual img {
    min-height: 100px;
  }

  .content__title {
    font-size: 20px;
  }

  .container__item:first-child .profile p:first-child,
  .content__title,
  .container__item--title {
    font-size: 20px;
  }

  .container__item:first-child .profile p:first-child span,
  .container__item:first-child .profile p {
    font-size: 14px;
  }

}

@media screen and (max-width: 339.9px) {
  .content__title {
    font-size: 18px;
  }
}