@charset "UTF-8";

/* base
================================================================== */

body {
  font-size: 1.7rem;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.7;
  letter-spacing: 0.03em;
  word-wrap: break-word;
  color: var(--black);
  background-color: var(--white);
  width: 100%;
}
main {
  overflow: hidden;
}
a {
  -webkit-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
}
a:hover {
  opacity: 0.7;
}

/* @media only screen and (max-width: 1024px) {
  body {
    letter-spacing: 0.03em;
  }
} */
@media only screen and (max-width: 599px) {
  body {
    font-size: 1.6rem;
  }
}

/* var
---------------------------------------------------------------- */
:root {
  /* theme color */
  --cl-main: #011e6a;
  --cl-l-main: #ebedf0;
  --cl-accent: #d53b17;

  /* basic color */
  --black: #3c3c3c;
  --white: #fff;

  /* border-radius */
  --box-br: 45px;
  --btn-br: 30px;
}
@media only screen and (max-width: 599px) {
  :root {
    --box-br: 30px;
    --btn-br: 20px;
  }
}
/* display
---------------------------------------------------------------- */
.d-i {
  display: inline;
}
.d-ib {
  display: inline-block;
}
.d-b {
  display: block;
}

/* PC,SP表示
---------------------------------------------------------------- */
@media only screen and (max-width: 1024px) {
  .d-pc {
    display: none !important;
  }
}
@media only screen and (min-width: 1025px) {
  .d-tb {
    display: none !important;
  }
}
@media only screen and (max-width: 599px), (min-width: 1025px) {
  .d-tb-only {
    display: none !important;
  }
}
@media only screen and (min-width: 768px) {
  .d-tb-sp {
    display: none !important;
  }
}
@media only screen and (max-width: 767px) {
  .d-pc-tb {
    display: none !important;
  }
}
@media only screen and (min-width: 600px) {
  .d-sp {
    display: none !important;
  }
}

/* layout
--------------------------------------------------------------- */
/* inner */
.inner {
  margin-left: auto;
  margin-right: auto;
  max-width: calc(1000px + 12%);
  padding: 80px 6% 110px;
  width: 100%;
}
@media only screen and (max-width: 1024px) {
  .inner {
    width: 100%;
  }
}
@media only screen and (max-width: 767px) {
  .inner {
    padding: 80px 6%;
  }
}
@media only screen and (max-width: 599px) {
  .inner {
    padding: 50px 6%;
  }
}
/* 高さ打消し */
.link-space {
  padding-top: 100px;
  margin-top: -100px;
}
/* flex */
.flex-basic {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.flex-row-reverse {
  display: flex;
  flex-direction: row-reverse;
}
.flex-nowrap {
  display: flex;
  flex-wrap: nowrap;
}
.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}
.flex-between {
  display: flex;
  justify-content: space-between;
}
.flex-around {
  display: flex;
  justify-content: space-around;
}
.flex-flexend {
  display: flex;
  justify-content: flex-end;
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-h-center {
  display: flex;
  justify-content: center;
}
.flex-v-center {
  display: flex;
  align-items: center;
}

/* text-style
--------------------------------------------------------------- */
/* align */
.text-left {
  text-align: left;
}
.text-just {
  text-align: justify;
}
.text-center {
  text-align: center;
}
.text-c-l {
  text-align: center;
}

@media only screen and (max-width: 599px) {
  .text-c-l {
    text-align: left;
  }
}

/* animation
--------------------------------------------------------------- */
/* hover img */
.img-big {
  cursor: pointer;
  overflow: hidden;
  width: 100%;
}
.img-big img {
  height: auto;
  transition: transform 0.3s ease;
}
/* box-slide */
.box-slide {
  position: relative;
  overflow: hidden;
}
.box-slide::before {
  content: "";
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  animation-name: box-slide;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}
@keyframes box-slide {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(100%, 0);
  }
}
/* img-zoomout */
.img-zoomout {
  animation: zoomout 1.6s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}
@keyframes zoomout {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
