/*reset*/
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Segoe UI,
    Hiragino Kaku Gothic ProN, Hiragino Sans, ヒラギノ角ゴ ProN W3, Arial,
    メイリオ, Meiryo, sans-serif;
  font-feature-settings: 'palt';
  letter-spacing: 1px;
  color: #333;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  list-style: none;
}

dt {
  float: left;
  width: 140px;
}

dd {
  margin-left: 140px;
}

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

a:hover,
a.current {
  color: #4679bd;
}

a:visited {
  color: inherit;
}

.center_wrp {
  text-align: center;
}

button {
  padding: 0;
  background-color: transparent;
  border: none;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.connect_btn {
  background: #4679bd;
  color: #fff;
  font-weight: 600;
  margin-top: 40px;
  padding: 12px 24px;
  letter-spacing: 2px;
  transition: 0.2s;
}

.connect_btn::before {
  content: url(../img/mail.svg);
  vertical-align: middle;
  padding-right: 8px;
}

.connect_btn:hover {
  opacity: 0.5;
}

.back {
  display: block;
  border: 1px #979797 solid;
  margin: 56px auto 0 auto;
  padding: 12px 40px;
  transition: 0.2s;
  color: #333;
  letter-spacing: 1px;
}

.normal_btn {
  position: relative;
  display: inline-block;
  border: 1px #979797 solid;
  margin: 16px auto 0 auto;
  padding: 12px 54px 12px 40px;
  transition: 0.2s;
  color: #333;
  letter-spacing: 1px;
  font-size: 14px;
}

.normal_btn a {
  color: #666 !important;
}

.back:hover,
.normal_btn:hover {
  background: #f5f5f5;
  opacity: 0.6;
}

.normal_btn::before {
  content: '';
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 16px;
  margin-top: -9px;
  border: 1px #666 solid;
}

.normal_btn::after {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 1px #666;
  border-right: solid 1px #666;
  position: absolute;
  top: 50%;
  right: 23px;
  margin-top: -3px;
  transform: rotate(45deg);
}

.normal_btn.read {
  display: block;
  margin: 30px 0;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: 0;
  border: 1px rgba(255, 255, 255, 0.3) solid;
}

.normal_btn.read::before {
  background: none;
  border: 1px rgba(255, 255, 255, 0.8) solid;
}

.normal_btn.read::after {
  border-top: solid 1px rgba(255, 255, 255, 0.8);
  border-right: solid 1px rgba(255, 255, 255, 0.8);
}

.view_link {
  display: inline-block;
  color: #4679bd;
  border-bottom: 1px #4679bd solid;
  font-weight: 600;
  transition: 0.2s;
}

.view_link:hover {
  opacity: 0.5;
}

img {
  max-width: 100%;
}

svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

h1,
h2,
h3,
h4,
p {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.wrapper {
  min-height: calc(100vh - 139px);
}

/*contents title*/
.c_ttl {
  margin: 60px auto 40px auto;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #000;
}

/*header*/
header {
  display: flex;
  align-items: center;
  /*max-width: 1280px;*/
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  margin: auto;
  padding: 0 40px;
  background: #fff;
  z-index: 10;
}

.lang {
  position: fixed;
  top: 0;
  right: 0;
  padding: 4px 8px;
  background: #333;
  color: #fff;
  font-size: 14px;
  z-index: 10;
}

.lang .selected {
  color: #4679bd !important;
}

.content-jp,
.content-en {
  display: none;
}

.header_nav {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 26px 0 0 0;
  color: #000;
  letter-spacing: 0;
}

.logo {
  margin-right: auto;
}

.sns {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 62px;
  color: #333;
}

.sns img {
  transition: 0.3s;
}

.sns img:hover {
  filter: invert(37%) sepia(4%) saturate(5382%) hue-rotate(174deg)
    brightness(121%) contrast(104%);
}

.header_nav li {
  padding: 0 8px;
  font-weight: 600;
  text-align: center;
}

.header_nav li.sns {
  padding-right: 0;
}

.header_nav .narrow {
  width: 80px;
}

.header_nav .middle {
  width: 100px;
}

.header_nav .wide {
  width: 118px;
}

.header_nav a {
  display: block;
}

/*a .hover {
  display: none;
}

a:hover .normal {
  display: none;
  transition: all 0.3s ease;
}

a:hover .hover {
  display: inline;
  font-size: 15px;
  color: #4679BD;
}*/

/*Go to top*/
/*******/
a.arrow {
  padding-top: 60px;
  cursor: pointer;
}

a.arrow span {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 100%;
  box-sizing: border-box;
}

a.arrow span::after {
  position: absolute;
  top: 64%;
  left: 50%;
  content: '';
  width: 14px;
  height: 14px;
  margin: -10px 0 0 -7px;
  border-left: 3px solid #333;
  border-bottom: 3px solid #333;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {
  a.arrow span {
    bottom: 15px;
    right: 15px;
  }
}

.navigation,
#infscr-loading {
  margin: 40px auto 0 auto;
  font-size: 14px;
  color: #666;
}

/*footer*/
footer {
  margin-top: 160px;
  height: 139px;
  background: #f5f5f5;
  color: #666;
}

.footer_nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 16px 16px 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.footer_nav .narrow {
  width: 80px;
  text-align: center;
}

.footer_nav .middle {
  width: 100px;
  text-align: center;
}

.privacy {
  margin-bottom: 32px;
  text-align: center;
  font-size: 14px;
}

.copy {
  padding: 8px 16px;
  background: #333;
  color: #fcfcfc;
  font-size: 10px;
  text-align: center;
}

/**hamburger*****/
.btn-gNav {
  display: none;
}

main {
  margin-top: 90px;
  opacity: 0;
  animation: main 1s ease forwards;
}

@keyframes main {
  100% {
    opacity: 1;
  }
}

/**767↓******************************************************/
@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  .lang {
    position: static;
    background: none;
    text-align: right;
    padding: 80px 16px 32px 16px;
    color: #fff;
    font-size: 16px;
  }

  .lang a {
    display: inline-block;
    margin-left: 8px;
    padding: 6px 20px;
    background: #333;
  }

  .lang a.current {
    color: #fff;
  }

  header {
    height: 64px;
    padding: 0 16px;
  }

  .header_nav li {
    text-align: left;
  }

  .logo {
    margin: 0;
  }

  .logo img {
    max-width: 120px;
  }

  .sns {
    width: 88px;
  }

  .sns img {
    filter: invert(100%);
    height: 24px;
    margin-right: 24px;
  }

  .footer_menu {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 32px;
    font-size: 16px;
    flex-wrap: wrap;
  }

  .footer_menu span {
    width: 100%;
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    margin-top: 32px;
  }

  .footer_menu span a {
    display: inline-block;
    margin-right: 16px;
  }

  /**hamburger****/

  .header_nav {
    /*display: flex;*/
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    height: 100%;
    margin-top: 80px;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.9);
  }

  header li {
    margin: 0 0 16px 0;
    font-size: 20px;
  }

  .header_nav .narrow,
  .header_nav .middle,
  .header_nav .wide {
    width: 100%;
  }

  #hamburger .btn-gNav {
    display: block;
    position: fixed;
    top: 24px;
    right: 16px;
    width: 30px;
    height: 24px;
    z-index: 11;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
  }

  #hamburger .btn-gNav span {
    position: absolute;
    width: 100%;
    height: 1px;
    background: #777;
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms;
  }

  #hamburger .btn-gNav span:nth-child(1) {
    top: 0;
  }

  #hamburger .btn-gNav span:nth-child(2) {
    top: 10px;
  }

  #hamburger .btn-gNav span:nth-child(3) {
    top: 20px;
  }

  #hamburger .btn-gNav.open span:nth-child(1) {
    background: #777;
    top: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  #hamburger .btn-gNav.open span:nth-child(2),
  #hamburger .btn-gNav.open span:nth-child(3) {
    top: 6px;
    background: #777;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #gNav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    font-size: 16px;
    box-sizing: border-box;
    z-index: 10;
    transition: 0.3s;
  }

  #gNav.open {
    right: 0px;
    background: rgba(0, 0, 0, 0.9);
  }

  dd {
    margin-left: 0px;
  }

  main {
    margin-top: 64px;
  }
}

/*.fadein {
  opacity: 0;
  animation: fadein 1s ease forwards;
}

@keyframes fadein {
  100% {
    opacity: 1;
  }
}*/

/**thumb mouseover***********/
.grid_text_wrp {
  opacity: 0;
  transition: 0.2s;
}

.grid_text_wrp:hover {
  opacity: 1;
}

/**dropdown menu*****/
#dropdown_btn li {
  position: relative;
  padding: 6px 8px;
}

.dropdown_head:hover {
  background: #333;
  color: #fff;
}

.dropdown_body {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  padding: 8px 4px;
  background: #333;
  color: #fff;
}

.dropdown_body li {
  padding-bottom: 8px;
  font-weight: 400;
  font-size: 14px;
  white-space: nowrap;
  text-align: left;
  min-width: 140px;
}

.anchor {
  padding-top: 50px;
  margin-top: -50px;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  #dropdown_btn li {
    padding: 8px 4px;
    font-size: 14px;
  }
}

/**767↓******************************************************/
@media screen and (max-width: 767px) {
  #gNav.open {
    overflow: scroll;
  }

  .dropdown_body {
    display: block;
    position: static;
    top: 0px;
    background: none;
  }

  .dropdown_body li {
    font-size: 18px;
    margin: 12px 0;
  }

  .dropdown_head:hover {
    background: none;
  }

  .sp.footer_menu:last-child {
    padding-bottom: 140px !important;
  }

  /* ------ acordion menu ------ */

  .accordion-header span {
    position: relative;
    display: inline-flex;
    transition: ease-in-out 100ms;
    cursor: pointer;
  }

  .accordion-header span::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 6px);
    right: -20px;
    transform: rotate(135deg);
    transition: border-top 0.3s ease-out, padding-top 0.3s ease-out,
      padding-bottom 0.3s ease-out;
  }

  .acd-cnt {
    display: none;
    padding: 0 20px;
  }

  .acd-cnt:last-child {
    padding-bottom: 16px;
  }

  .nav-items__item .acd-cnt a {
    padding: 12px 0px 12px 10px;
  }

  .fa {
    transition: ease-in-out 300ms;
  }

  .accordion-header.rotate span::after {
    transform: rotate(-45deg) !important;
    top: calc(50% - 0px);
  }

  .grid_text_wrp {
    opacity: 1;
    transition: none;
  }

  .grid_text_wrp:hover {
    opacity: 1;
  }
}
