/* 00. COMMON SETTING
-------------------------------------------------------------------- */

/* GLOBAL VARIABLES
-------------------------------------------------------------------- */

/* MIXIN
-------------------------------------------------------------------- */

/* FUNCTION
-------------------------------------------------------------------- */

/* 01. ELEMENTS
-------------------------------------------------------------------- */

/* 02. COMPONENT
-------------------------------------------------------------------- */

.c-topsectionInner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 4.8rem 3% 4.8rem;
  box-sizing: content-box;
}

.c-topsectionTitle {
  background: url(../img/icon/icon-logo.svg) no-repeat left top 0.4em/23px 33px;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 2.5em 0 1em;
  text-indent: 1em;
  background-image: url(../shared/img/icon/icon-logo.svg);
  background-size: 1em;
  border-bottom: #e9e9e9 solid 1px;
  font-size: 2.4rem;
  padding: 0.5rem 0;
  text-indent: 1.2em;
  position: relative;
}

.c-topsectionTitle:first-child {
  margin-top: 0;
}

.c-topsectionTitle__sub {
  color: #005bac;
  font-size: 1.4rem;
  font-weight: 600;
  position: absolute;
  bottom: 1rem;
  right: 0;
}

.p-main {
  display: flex;
  flex-direction: column;
}

.p-notice {
  order: 1;
}

.p-keyVisual {
  order: 2;
}

.p-menu {
  order: 3;
}

.p-publication {
  order: 4;
}

.p-banner {
  order: 5;
}

.p-movie {
  order: 6;
}

.p-news {
  order: 7;
}

.p-glFooter {
  order: 8;
}

/* 03. NOTICE
-------------------------------------------------------------------- */

.p-notice {
  background: #f4f4f4;
}

.p-notice .c-topsectionInner {
  display: flex;
  align-items: stretch;
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}

.p-notice__title {
  flex: 0 0 162px;
  background: #eb7b29;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 0.4rem 2.4rem;
  text-align: center;
}

.p-notice__title span {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
}

.p-noticeList {
  list-style: none;
  margin-left: 2.4rem;
}

.p-noticeList__item {
  line-height: 1.2;
}

.p-noticeList__item a {
  color: #006dce;
}

.p-noticeList__item:not(:last-child) {
  margin-bottom: 1rem;
}

/* 04. KEYVISUAL
-------------------------------------------------------------------- */

.p-keyVisual--sp {
  display: none;
}

.p-keyVisual--sp .slick-dots li {
  width: 10px;
  height: 10px;
}

.p-keyVisual--sp .slick-dots li button {
  width: 10px;
  height: 10px;
}

.p-keyVisual--sp .slick-dots li button::before {
  width: 10px;
  height: 10px;
  content: "";
  border: #005bac solid 1px;
  border-radius: 20px;
  opacity: 1;
}

.p-keyVisual--sp .slick-dots li.slick-active button::before {
  background: #005bac;
}

.p-keyVisual--sp .slick-dotted.slick-slider {
  margin-bottom: 0;
}

.p-keyVisualList__item img {
  width: 100%;
}

.p-keyVisualThumb {
  background: #f4f4f4;
}

.p-keyVisualThumbList .slick-track {
  display: flex;
  justify-content: center;
  transform: none !important;
}

.p-keyVisualThumbList .slick-slide {
  width: auto !important;
  margin: 10px 5px;
  position: relative;
}

.p-keyVisualThumbList .slick-current::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent #005bac transparent;
}

.p-keyVisualThumbList .slick-current::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  border: #005bac solid 3px;
}

/* 05. MENU
-------------------------------------------------------------------- */

.p-menu .c-topsectionTitle {
  border-bottom: none;
  font-size: 2.2rem;
  margin-bottom: 0;
}

.p-indexMenu {
  width: 32%;
}

.p-indexMenu:nth-child(even) {
  margin-left: 0;
}

.p-indexMenu:nth-child(3n),
.p-indexMenu:nth-child(4n) {
  margin-left: 2%;
}

.p-indexMenu--wide {
  flex-basis: 100%;
  width: 100%;
  display: flex;
  align-items: stretch;
}

.p-indexMenu--contact {
  border: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: url(../shared/img/bg-circle-lightBlue.svg) no-repeat center center/contain;
  margin-left: 2%;
}

.p-indexMenu--contact__text {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.2;
}

.p-indexMenu--contact__text span {
  display: block;
  font-weight: 500;
}

.p-indexMenu--contact__text:nth-of-type(n+2) {
  margin-top: 1rem;
}

.p-indexMenu--contact__tel {
  margin: 1.6rem 0;
}

.p-indexMenu--contact__tel a {
  color: #005bac;
  font-size: 3.2rem;
  font-weight: 700;
}

.p-indexMenu--contact__tel a::before {
  display: inline-block;
  content: "";
  text-align: center;
  vertical-align: middle;
  background: url(../shared/img/icon/phone-blue.svg) no-repeat center top 1px;
  background-size: 0.5em;
  margin-right: 0.5rem;
  width: 3.2rem;
  height: 3.2rem;
  background-size: contain;
}

_:-ms-fullscreen,
:root .p-indexMenu--contact__tel a::before {
  width: 32px;
  height: 32px;
  background-size: 32px contain;
}

.p-indexMenu--wide .p-indexMenu__innerBlock {
  flex: 1 1 auto;
  padding: 2rem 0;
}

.p-indexMenu--wide .p-indexMenu__titleWrapper {
  flex: 0 0 22%;
  padding-top: 2rem;
}

.p-indexMenu--public .p-indexMenu__titleWrapper {
  background: url(../img/menuThumb-public--top.jpg) no-repeat left bottom/100%;
}

.p-indexMenu__contents {
  padding-bottom: 4rem;
}

.p-indexMenu--wide .p-indexMenu__contents {
  flex: 1 1 auto;
  display: flex;
}

/* 06. PUBLICATION
-------------------------------------------------------------------- */

.p-publication {
  background: #f4f4f4;
}

.p-publicationList {
  padding: 0 3.2rem;
}

.p-publicationList__item {
  text-align: center;
}

.p-publicationList__item img {
  width: 112px;
  margin: 0 auto;
}

/* 07. BANNER
-------------------------------------------------------------------- */

.p-bannerList {
  display: flex;
  align-items: flex-start;
}

.p-bannerListItem {
  flex: 0 1 25%;
}

.p-bannerListItem:nth-of-type(n + 2) {
  margin-left: 1.6rem;
}

.p-bannerListItem.double {
  flex-basis: calc(50% + 1.6rem);
}

.double .p-bannerListItem__inner {
  display: flex;
  align-items: flex-start;
}

.double .p-bannerListItem__inner a {
  flex-basis: 50%;
}

.p-bannerListItem__inner a {
  transition: all 0.3s;
}

.p-bannerListItem__inner a:hover {
  opacity: 0.7;
}

.p-bannerListItem__inner a:nth-of-type(n + 2) {
  margin-left: 1.6rem;
}

.p-bannerListItem__caption {
  font-size: 1.4rem;
  letter-spacing: 0;
  margin-top: 0.8rem;
  text-align: center;
}

/* 08. MOVIES
-------------------------------------------------------------------- */

.p-movie {
  background: #f4f4f4;
}

.p-movieList {
  padding: 0 3.2rem;
}

.p-movieListItem {
  text-align: center;
  margin: 0 2.4rem;
}

.p-movieListItem__inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  text-align: center;
}

.p-movieListItem__inner iframe {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.p-movieListItem__caption {
  margin-top: 0.5rem;
  text-align: left;
}

/* 09. TOPICS & PRESSRELEASES
-------------------------------------------------------------------- */

.p-news .c-mainTitle {
  margin-bottom: 1.6rem;
}

.p-news .c-topsectionInner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding-top: 5.6rem;
  padding-bottom: 0;
}

.p-news .c-article__title {
  font-size: 1.4rem;
}

.p-news .c-btnWrapper {
  margin-top: auto;
}

.p-topics,
.p-press {
  flex: 0 1 48%;
  width: 48%;
  display: flex;
  align-items: stretch;
  flex-direction: column;
}

@media screen and (max-width: 1024px) {
  .p-noticeList__item {
    font-size: 1.4rem;
  }

  .p-menu .c-topsectionTitle {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .c-topsectionInner {
    padding: 2.4rem 14px 2.4rem;
  }

  .c-topsectionTitle {
    background-size: 18px auto;
    font-size: 2.2rem;
  }

  .c-topsectionTitle {
    background-position: left top;
  }

  .c-topsectionTitle__sub {
    font-size: 0.9rem;
  }

  .p-notice {
    order: 2;
  }

  .p-keyVisual {
    order: 1;
  }

  .p-notice .c-topsectionInner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .p-notice__title {
    flex-basis: auto;
    flex-direction: row;
    max-width: inherit;
    text-align: left;
    padding: 0.4rem 1rem;
  }

  .p-notice__title span {
    font-size: 1.4rem;
  }

  .p-noticeList {
    margin-left: 0;
    margin-top: 1.4rem;
  }

  .p-keyVisual {
    display: none;
  }

  .p-keyVisual--sp {
    display: block;
    margin-bottom: 40px;
  }

  .p-keyVisualThumb {
    display: none;
  }

  .p-menu .c-topsectionInner {
    padding-top: 1.2rem;
  }

  .p-menu .c-topsectionTitle {
    font-size: 1.6rem;
    background-position-y: center;
  }

  .p-menu .c-topsectionTitle::after {
    display: inline-block;
    content: "";
    text-align: center;
    vertical-align: middle;
    background: url(../shared/img/icon/chevron-right-blue.svg) no-repeat center top 1px;
    background-size: 0.5em;
    margin-right: 0;
    width: 1.4rem;
    height: 1.4rem;
    margin-left: 0.5rem;
    transition: 0.3s;
  }

  _:-ms-fullscreen,
  :root .p-menu .c-topsectionTitle::after {
    width: 14px;
    height: 14px;
    background-size: 14px contain;
  }

  .p-menu .c-topsectionTitle.is-open::after {
    transform: rotate(90deg);
  }

  .p-indexMenu {
    width: 100%;
  }

  .p-indexMenu:nth-child(3n),
  .p-indexMenu:nth-child(4n) {
    margin-left: 0;
  }

  .p-indexMenu--wide {
    display: block;
  }

  .p-indexMenu--contact {
    background: rgba(94, 180, 255, 0.34);
    margin: 3.2rem 0 0;
    padding: 1.6rem;
  }

  .p-indexMenu--contact__text {
    font-size: 1.6rem;
  }

  .p-indexMenu--contact__text span {
    display: inline;
  }

  .p-indexMenu--contact__text:nth-of-type(n+2) {
    margin-top: 0.5rem;
  }

  .p-indexMenu--contact__tel {
    margin: 1rem 0;
  }

  .p-indexMenu--contact__tel a {
    font-size: 2.8rem;
  }

  .p-indexMenu--contact__tel a::before {
    width: 2.6rem;
    height: 2.6rem;
  }

  .p-indexMenu--wide .p-indexMenu__innerBlock {
    margin-left: 0;
    margin-right: 0;
  }

  .p-indexMenu--wide .p-indexMenu__innerBlock:last-child {
    margin-bottom: 0;
  }

  .p-indexMenu--wide .p-indexMenu__titleWrapper {
    padding: 1.6rem 1rem;
  }

  .p-indexMenu--public .p-indexMenu__titleWrapper {
    background: url(../img/menuThumb-public--sp.jpg) no-repeat right top/contain;
  }

  .p-indexMenu__contents {
    padding-bottom: 0;
  }

  .p-indexMenu--wide .p-indexMenu__contents {
    display: none;
  }

  .p-bannerList {
    flex-wrap: wrap;
    max-width: 516px;
    margin: 0 auto;
  }

  .p-bannerListItem {
    flex-basis: calc(50% - 0.8rem);
  }

  .p-bannerListItem:nth-of-type(n + 2) {
    margin-left: 0;
    margin-top: 1.6rem;
  }

  .p-bannerListItem:nth-of-type(odd) {
    margin-left: 1.6rem;
  }

  .p-bannerListItem.double {
    flex-basis: 100%;
    margin-left: 0;
  }

  .p-bannerListItem__caption {
    margin-top: 0.2rem;
  }

  .p-bannerListItem__caption span {
    display: block;
  }

  .p-movieListItem {
    margin: 0;
  }

  .p-movieListItem__caption {
    font-size: 1.4rem;
  }

  .p-news .c-topsectionInner {
    display: block;
    padding-top: 2.4rem;
  }

  .p-news .c-article {
    margin-bottom: 2.4rem;
  }

  .p-topics,
  .p-press {
    flex-basis: 100%;
    width: 100%;
  }

  .p-press {
    margin-top: 4.8rem;
  }
}