@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Tokumin:wght@500&display=swap');

/* RESET
----------------------------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video,picture {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  line-height: 1.5em;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  vertical-align: bottom;
  border: none;
}
picture {
  display: block;
}
/* ----------------------------------------------

 * 設定をしなおす

---------------------------------------------- */
html {
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0 auto;
  padding: 0;
  font-size: 15px;
  line-height: 1.8em;
  color: #000;
  height: 100%;
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  position: relative;
}
.gosic {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
}
.kaimin {
  font-family: 'Kaisei Tokumin', serif;
  font-weight: 400;
}

@media only screen and ( max-width : 767px ) {
  body {
  }
}
table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  vertical-align: bottom;
  border: none;
  max-width: 100%;
  height: auto;
}
main {
  display: block;
  position: relative;
}

a {
  outline:none;
  color: #2e2e2e;
}

a:hover {
  text-decoration: none;
}

a,a:hover,a:hover img,button,input {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none;
}

a:hover {
  filter: alpha(opacity=80);
  -moz-opacity:0.80;
  opacity:0.80;
}

* {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  *behavior:url(/scripts/boxsizing.htc);
}

::selection
{
    background: #e1e1e1;
    color: #2e2e2e;
}

/* for Firefox */
::-moz-selection
{
    background: #e1e1e1;
    color: #2e2e2e;
}
/* -----------------------------------------------
 * COMMON
----------------------------------------------- */
input[type=text]:focus {
    outline: none;
}

section {
  position: relative;
}
.taR {
  text-align: right;
}

@media only screen and ( max-width : 767px ) {
  .section {
    padding: 40px 0;
  }
  .br_pc {
    display: none;
  }
  .br_sp_mini {
    display: none;
  }
  .pc {
    display: none !important;
  }
}
@media only screen and ( max-width : 412px ) {
  .br_sp_mini {
    display: block;
  }
}
@media print, screen and ( min-width : 768px ) {
  .section {
    padding: 90px 0;
  }
  .br_sp {
    display: none;
  }
  .br_sp_mini {
    display: none;
  }
  .sp {
    display: none !important;
  }
}


/* ---------------------------------------------------------------------------------------------

　   HEADER

--------------------------------------------------------------------------------------------- */
#mv img {
  width: 100%;
}
#gnav li {
  width: 33.3333%;
  border-right: #595757 dotted 1px;
  position: relative;
}
#gnav li:first-child {
  border-left: #595757 dotted 1px;
}
#gnav li a {
  display: block;
  padding: 5px 0;
  color: #595757;
  text-align: center;
}
  #gnav li a span {
  display: inline;
  text-align: center;
  position: relative;
  z-index: 2;
}
#gnav li.on:nth-child(1) a span:after {
  content: url(../img/nav01.jpg);
  position: absolute;
  right: -15px;
  z-index: -1;
}
#gnav li.on:nth-child(2) a span:after {
  content: url(../img/nav02.jpg);
  position: absolute;
  left: -15px;
  z-index: -1;
}
#gnav li.on:nth-child(3) a span:before {
  content: url(../img/nav03_01.jpg);
  position: absolute;
  left: -15px;
  z-index: -1;
}
#gnav li.on:nth-child(3) a span:after {
  content: url(../img/nav03_02.jpg);
  position: absolute;
  right: -5px;
  z-index: -1;
}
#gnav li.on:nth-child(1) a {
  color: #51b996;
}
#gnav li.on:nth-child(2) a {
  color: #f5aa00;
}
#gnav li.on:nth-child(3) a {
  color: #ec4875;
}
#gnav li:nth-child(1) a:hover {
  color: #639b88;
}
#gnav li:nth-child(2) a:hover {
  color: #f5aa00;
}
#gnav li:nth-child(3) a:hover {
  color: #ec4875;
}

@media only screen and ( max-width : 767px ) {
  #gnav li a {
    font-size: 12px;
  }
  #gnav li.on:nth-child(1) a span:after {
    right: -5px;
  }
  #gnav li.on:nth-child(2) a span:after {
    left: -15px;
  }
  #gnav li.on:nth-child(3) a span:before {
    left: -15px;
  }
  #gnav li.on:nth-child(3) a span:after {
    right: -10px;
  }
}
@media only screen and ( max-width : 412px ) {
  #gnav li.on:nth-child(1) a span:after {
    right: -15px;
  }
  #gnav li.on:nth-child(2) a span:after {
    left: -15px;
  }
  #gnav li.on:nth-child(3) a span:before {
    left: -15px;
  }
  #gnav li.on:nth-child(3) a span:after {
    right: -10px;
  }
}
@media print, screen and ( min-width : 768px ) {
  #gnav li a {
    font-size: 13px;
  }
  #gnav li.on:nth-child(1) a span:after {
    right: -15px;
  }
  #gnav li.on:nth-child(2) a span:after {
    left: -15px;
  }
  #gnav li.on:nth-child(3) a span:before {
    left: -15px;
  }
  #gnav li.on:nth-child(3) a span:after {
    right: -5px;
  }
}

/* ---------------------------------------------------------------------------------------------

　   FOOTER

--------------------------------------------------------------------------------------------- */
#footer {
  /* border-top: #ddd solid 1px; */
  background: #fff;
  color: #fff;
  text-align: center;
  position: relative;
}
#footer:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 35px;
  left: 0;
  background: url(../img/fot-nami.jpg) repeat-x left top;
  z-index: 10;
}
#footer p {
  font-weight: bold;
  margin-top: 1.5rem;
  color: #595757;
  font-size: 12px;
}
#footer p span {
  display: block;
  font-size: 11px;
}

@media only screen and ( max-width : 767px ) {
  #footer {
    padding: 40px 0 90px 0;
  }
  #footer:after {
    bottom: 30px;
  }
  #footer img {
    width: 300px;
  }
}
@media print, screen and ( min-width : 768px ) {
  #footer {
    padding: 60px 0 120px 0;
  }
  #footer:after {
    bottom: 40px;
  }
}

/* ---------------------------------------------------------------------------------------------

　   PAGE TOP

--------------------------------------------------------------------------------------------- */
#pageTop {
  position: fixed;
  /* bottom: 20px; */
  right: 20px;
  z-index: 99;
}
#pageTop a {
  display: block;
  width: 60px;
  height: 60px;
}
#pageTop a:hover {
}
@media only screen and ( max-width : 767px ) {
  #pageTop a {
    width: 40px;
    height: 40px;
  }
}

/* ---------------------------------------------------------------------------------------------

　   COMMON

--------------------------------------------------------------------------------------------- */
.wave_bg {
  background: url(../img/wave_bg.jpg) repeat-y top left / cover;
  position: relative;
  z-index: 1;
}
.wave_bg_wrap {
  position: relative;
  z-index: 2;
}
@media only screen and ( max-width : 767px ) {
  .wave_bg {
    padding-bottom: 80px;
  }
  .wave_bg:before {
    content: "";
    width: 100%;
    height: 15px;
    background: url(../img/wave-top_sp.jpg) no-repeat left top / 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  .wave_bg:after {
    content: "";
    width: 100%;
    height: 15px;
    background: url(../img/wave-bottom_sp.jpg) no-repeat left top / 100%;
    position: absolute;
    bottom: -5px;
    left: 0;
  }
}
@media print, screen and ( min-width : 768px ) {
  .wave_bg:before {
    content: "";
    width: 100%;
    height: 19px;
    background: url(../img/wave-top.jpg) no-repeat left top / 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  .wave_bg:after {
    content: "";
    width: 100%;
    height: 19px;
    background: url(../img/wave-bottom.jpg) no-repeat left top / 100%;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

/* ---------------------------------------------------------------------------------------------

　   ANIMATION

--------------------------------------------------------------------------------------------- */

.fadein {
  opacity: 0;
  transition: .8s;
}
.fadein.fadein__active {
  opacity: 1;
  transition-delay: .1s;
}
.fadein_up {
  opacity: 0;
  transition: .8s;
  animation-timing-function:cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fadein_up.fadein_up__active {
  opacity: 1;
  animation-name: fadein_up__active;
  animation-duration: 1.2s;
}
@media screen and (min-width:768px) {
  .order2_anim .fadein_up.fadein_up__active:nth-child(2n) {
    transition-delay: .3s;
    animation-delay: .3s;
  }
  .order3_anim .fadein_up.fadein_up__active:nth-child(3n+2) {
      transition-delay: .3s;
      animation-delay: .3s;
  }
  .order3_anim .fadein_up.fadein_up__active:nth-child(3n) {
      transition-delay: .6s;
      animation-delay: .6s;
  }
}
@keyframes fadein_up__active {
    from {
        transform: translateY(30px);
    }
    to {
        transform: translateY(0);
    }
}
