@charset "utf-8";
/*
  文字色 #FFF;
  文字色 #333;
  強調色(青) #1A5096;
  強調色(赤) #B40707;
  背景色 #2C578F;
*/

html, body {
  margin: 0;
  font-size: 1rem;
}

.sp {
  display: none;
}

.pc {
  display: block;
}

@media (max-width: 480px) { /* 480px以下 */
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}

.all_wrap {
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: #2C578F;
  color: #FFF;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/** ヘッダ **/
HEADER {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 1rem 2rem;
  margin: 0;
  width: 100%;
  min-height: 4rem;
  min-height: 6rem;
  height: 4rem;
  height: 6rem;

  box-sizing: border-box;
  z-index: 99999;
  font-size: 0;
}

HEADER H1 {
  margin: 0;
}

HEADER H1 IMG {
  width: auto;
  height: 3rem;
  vertical-align: top;
}

HEADER NAV UL {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin: 0;
  padding-inline-start: 0;
}

HEADER NAV UL LI {
  margin: 0 0.5rem;
  list-style-type: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 2rem;
  line-height: 4rem;
}

HEADER NAV UL LI A {
  position: relative;
  text-decoration: none;
  color: #FFF;
  display: inline-block;
}

HEADER NAV UL LI A::after {
  position: absolute;
  content: '';
  top: 3rem;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #FFF;
  opacity: 0;
  transition: .3s;
}

HEADER NAV UL LI A:hover::after {
  opacity: 1;
  width: 100%;
}

HEADER NAV UL LI.current {
  position: relative;
}

HEADER NAV UL LI.current::after {
  position: absolute;
  content: '';
  top: 1.75rem;
  top: 2.75rem;

  left: calc(50% - 0.375rem);
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 0.375rem solid transparent;
  border-left: 0.375rem solid transparent;
  border-bottom: 0.625rem solid #FFF;
  border-top: 0;
}

@media (max-width: 551px) { /* 767px以下 */
  HEADER {
    flex-direction: column;
    justify-content: space-between;
    justify-content: start;
    padding: 0.5rem 1rem;
    padding: 1rem 1.5rem;
    padding: 1rem 10vw;
  }
  HEADER H1 {
    text-align: center;
    text-align: left;

  }
  HEADER H1 IMG {
    height: 2rem;
    height: 1.5rem;
  }
  HEADER NAV UL {
    justify-content: center;
    justify-content: space-between;
  }
  HEADER NAV UL LI {
    margin: 0.25rem 0.25rem 0;
  }
  HEADER NAV UL LI:first-child {
    margin: 0.25rem 0.25rem 0 0;
  }
  HEADER NAV UL LI {
    font-size: 0.8rem;
    line-height: 1.6rem;
    line-height: 2.0rem;
  }
  HEADER NAV UL LI.current::after {
    top: 1.4rem;
    top: 1.6rem;
    left: calc(50% - 0.3rem);
    border-right: 0.3rem solid transparent;
    border-left: 0.3rem solid transparent;
    border-bottom: 0.5rem solid #FFF;
  }
  HEADER NAV UL LI A::after {
    top: 1.6rem;
    top: 1.8rem;
  }
}

/** メイン **/
MAIN {
  display: flex;
  flex: 1;
  margin:0;
  padding:0;
  flex-direction: column;
}

MAIN SECTION.head {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: -4rem;
  margin-top: -6rem;
  padding-bottom: 5vw;
  width: 100%;
  height: 30vw;
}

@media (max-width: 1199px) { /* 1199px以下 */
  MAIN SECTION.head {
    height: 40vw;
  }
}

@media (max-width: 767px) { /* 767px以下 */
  MAIN SECTION.head {
    height: 70vw;
  }
}


MAIN SECTION.head DIV.chg_head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/bg01.jpg);
  background-size: cover;
  background-position: center bottom;
  opacity: 0;
  animation-name: bg-change;
  animation-duration: 30s;   /* 10s×3枚 */
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: infinite;
}

MAIN SECTION.head DIV.chg_head:nth-child(1) {
  background-image: url(../img/bg01.jpg);
  animation-delay: 0s;
}

MAIN SECTION.head DIV.chg_head:nth-child(2) {
  background-image: url(../img/bg02.jpg);
  animation-delay: 10s;
}

MAIN SECTION.head DIV.chg_head:nth-child(3) {
  background-image: url(../img/bg03.jpg);
  animation-delay: 20s;
}

@keyframes bg-change { 
  0%   { opacity: 0;}
  3%   { opacity: 1;}
  33%  { opacity: 1;}
  36%  { opacity: 0;}
  100% { opacity: 0;}
}

MAIN SECTION.head DIV.chg_head DIV.text {
  width: 40vw;
  width: 50vw;
  text-align: center;
  height: 40%;
}

MAIN SECTION.head DIV.chg_head DIV.text P.title  {
  margin: 0;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px  2px 3px #1A5096,
              -2px  2px 3px #1A5096,
               2px -2px 3px #1A5096,
              -2px -2px 3px #1A5096,
               2px  0px 3px #1A5096,
               0px  2px 3px #1A5096,
              -2px  0px 3px #1A5096,
               0px -2px 3px #1A5096;
}

MAIN SECTION.head DIV.chg_head DIV.text P.sub {
  margin: 0;
  margin-top: 1rem;
  font-weight: 500;
  text-align: justify;
  line-height: 2rem;
  text-shadow: 2px  2px 2px #1A5096,
              -2px  2px 2px #1A5096,
               2px -2px 2px #1A5096,
              -2px -2px 2px #1A5096,
               2px  0px 2px #1A5096,
               0px  2px 2px #1A5096,
              -2px  0px 2px #1A5096,
               0px -2px 2px #1A5096;
}

@media (max-width: 767px) { /* 767px以下 */
  MAIN SECTION.head DIV.chg_head DIV.text {
    width: 70vw;
  }
  MAIN SECTION.head DIV.chg_head DIV.text P.title  {
    font-size: 2.5rem;
  }
  MAIN SECTION.head DIV.chg_head DIV.text P.sub {
    margin-top: 0.5rem;
    font-size: 1.0rem;
    line-height: 1.5rem;
  }
}

@media (max-width: 480px) { /* 480px以下 */
  MAIN SECTION.head DIV.chg_head DIV.text {
    width: 80vw;
  }
  MAIN SECTION.head DIV.chg_head DIV.text P.title  {
    font-size: 2rem;
    font-size: 1.5rem;
  }
  MAIN SECTION.head DIV.chg_head DIV.text P.sub {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.25rem;
  }
}


MAIN SECTION.whatsnew {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  background-color: #FFF;
  color: #333;
  padding-top: 3vw;
  padding-bottom: 3vw;
  margin-top: 0;
  margin-bottom: 0vw;
}

MAIN SECTION.whatsnew DIV {
  width: 50vw;
  width: 64vw;
}

@media (max-width: 1199px) { /* 1199px以下 */
  MAIN SECTION.whatsnew DIV {
    width: 70vw;
    width: 64vw;
  }
}

@media (max-width: 768px) { /* 768px以下 */
  MAIN SECTION.whatsnew DIV {
    width: 80vw;
  }
}


MAIN SECTION.whatsnew DIV P {
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  padding-bottom: 4px;
  border-bottom: 2px solid #1a5096;
}

MAIN SECTION.whatsnew DIV UL {
  margin: 1rem 0 0 0;
  padding: 0;
}

MAIN SECTION.whatsnew DIV UL LI {
  display: flex;
  align-items: flex-start;
  list-style-type: none;
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5rem;
}

MAIN SECTION.whatsnew DIV UL LI SPAN:nth-child(1) {
  display: block;
  margin-right: 1rem;
  color: #1A5096;
  font-weight: 500;
}

MAIN SECTION.whatsnew DIV UL LI SPAN:nth-child(2).new::after {
  content: 'New!';
  color: #B40707;
}

/* 新着情報上下の三角を描画 */
MAIN SECTION.whatsnew::before,
MAIN SECTION.whatsnew::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: calc(5vw + 1px);
  background-color: #FFF;
}
MAIN SECTION.whatsnew::before {
  top: -5vw;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
MAIN SECTION.whatsnew::after {
  bottom: -5vw;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}


MAIN SECTION.main {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 8vw;
  width: 100%;
  color: #333;
}

MAIN SECTION.main DIV {
  display:flex;
  flex-direction: column;
  justify-content: center;
  width: 15vw;
  background-color: #FFF;
  margin-right: 2.5vw;
  margin-right: 1.33vw;
}

MAIN SECTION.main DIV IMG {
  width: 18vw;
  width: 14vw;
  width: 13vw;
  margin: 0.5vw 0.5vw 0 0.5vw;
  margin: 1vw 1vw 0 1vw;
}

MAIN SECTION.main DIV A.alink {
  position: relative;
  display: block;
  margin: 0.5rem;
  text-align: center;
  font-weight: 700;
  height: 1rem;
  text-decoration: none;
  color: #333;
  line-height: 1rem;
  font-feature-settings: "palt";

}

MAIN SECTION.main DIV A.alink:after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  margin-left: 4px;

  border-style: solid;
  border-top: 0.4rem solid transparent;
  border-bottom: 0.4rem solid transparent;
  border-left: 0.4rem solid #2c578f;
  border-right: 0;
  top: 20%;
}

MAIN SECTION.main DIV:last-child {
  margin-right: 0;
}

@media (max-width: 1199px) { /* 1199px以下 */
  MAIN SECTION.main DIV {
    width: 20vw;
    width: 15vw;
    margin-right: 2vw;
    margin-right: 1.33vw;
  }
  MAIN SECTION.main DIV IMG {
    width: 13vw;
    margin: 1vw 1vw 0 1vw;
  }
}

@media (max-width: 767px) { /* 767px以下 */
  MAIN SECTION.main {
    flex-wrap: wrap;
  }
  MAIN SECTION.main DIV {
    width: 38vw;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  MAIN SECTION.main DIV:nth-child(odd) {
    margin-right: 1rem;
  }
  MAIN SECTION.main DIV IMG {
    width: 34vw;
    margin: 2vw 2vw 0 2vw;
  }
  MAIN SECTION.main DIV A {
    font-size: 0.9rem;
  }
  MAIN SECTION.main DIV A:after {
    margin-left: 3px;
    top: 10%;
  }
}


/** フッタ **/
FOOTER {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
  padding: 1rem 0 1rem;
}

FOOTER P {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  font-size: 0.75rem;
  margin: 0 auto;
}

FOOTER P:first-child {
  font-size: 0.8rem;
}

FOOTER P A {
  color: #FFF;
}

FOOTER P A::before,
FOOTER P A::after {
  content: &nbsp;
}

