/*========== common style ==========*/
@charset "utf-8";
/* import font from gg font*/
/* import font from gg font*/

@font-face {
  font-family: "Hiragino Kaku Gothic W8";
  src: url("../fonts/Hiragino-Kaku-Gothic-StdN-W8.otf") format("opentype");
}

.fontW8 {
  font-family: "Hiragino Kaku Gothic W8";
}

@font-face {
  font-family: "Hiragino Kaku Gothic ProN W6";
  src: url("../fonts/Hiragino-Kaku-Gothic-Pro-W6.otf") format("opentype");
}

.fontW6 {
  font-family: "Hiragino Kaku Gothic ProN W6";
}

@font-face {
  font-family: "Hiragino Kaku Gothic ProN W3";
  src: url("../fonts/Hiragino-Kaku-Gothic-ProN-W3.otf") format("opentype");
}

.fontW3 {
  font-family: "Hiragino Kaku Gothic ProN W3";
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
}

html.hidden {
  overflow-y: hidden;
}

body {
  font-weight: 300;
  color: #000000;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
  font-family: "Hiragino Kaku Gothic ProN W3", "Kozuka Gothic Pr6N",
    "Helvetica Neue", "Helvetica", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

a {
  text-decoration: none;
  color: unset;
  transition: 0.2s ease;
}

a:hover {
  text-decoration: none;
  opacity: 0.8;
}

ul,
li {
  list-style-type: none;
  margin: 0px;
}

img {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  transition: 0.2s ease;
}

svg {
  transition: 0.2s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input,
select,
button,
textarea {
  font-family: "Hiragino Kaku Gothic ProN W3", sans-serif;
  transition: 0.3s;
}

.container {
  max-width: 1250px;
  padding: 0 15px;
  margin: 0 auto;
  transition: 0.2s;
}

.container.--1040 {
  max-width: 1070px;
}

.container.--980 {
  max-width: 1010px;
}

.sp {
  display: none !important;
}

.pc {
  display: block !important;
}

.alignleft {
  float: left;
  margin: 0 10px 10px 0;
}

.alignright {
  float: right;
  margin: 0 0 10px 10px;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.pd-t-0 {
  padding-top: 0px !important;
}

.mt-0 {
  margin-top: 0px !important;
}

@media only screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }
  .sp {
    display: block !important;
  }
  .pc {
    display: none !important;
  }
}

.cl-white {
  color: #ffffff !important;
}

.d-flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.align-stretch {
  align-items: stretch;
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.cl-blue {
  color: #006bb1;
}

.cl-note {
  color: #f21111;
}

/* =====start - header===== */
header {
  position: relative;
  overflow: hidden;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 15px;
  height: 115px;
  padding: 10px 4%;
}

.home-link {
  display: block;
}

.home-link img {
  max-width: 405px;
}

.menu {
  display: flex;
  align-items: center;
  padding-top: 10px;
  column-gap: 20px;
}

.menu a {
  display: block;
  padding: 5px 2px;
  font-size: 16px;
  font-family: "Hiragino Kaku Gothic ProN W6";
  font-weight: 600;
  color: #221815;
  white-space: nowrap;

  transition: background-size 0.6s cubic-bezier(0.86, 0, 0.07, 1),
    color 0.6s cubic-bezier(0.86, 0, 0.07, 1);
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#0051bb),
    to(#0051bb)
  );
  background-image: linear-gradient(#0051bb, #0051bb);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  text-decoration: none;
}

.menu a:hover {
  background-position: 0 100%;
  background-size: 100% 2px;
  color: #0051bb;
}

.menu a.menu-contact{
  padding: 10px 20px;
  border-radius: 50px;
  background: linear-gradient(70deg, #1c50a1 40%, #6eb944 100%);
  color: #fff;
  transition: .3s;
}


@media only screen and (max-width: 1200px) {
  .menu a.menu-contact{
    padding: 0;
    background: inherit;
    color: #221815;
  }
}
@media only screen and (max-width: 768px) {
  .menu a.menu-contact{
    margin: 10px 0 20px 0;
  padding: 10px 20px;
  border-radius: 50px;
  color: #fff;
  display: block;
  text-align: center;
  background: linear-gradient(70deg, #1c50a1 40%, #6eb944 100%);
}
}

/* =====end - header===== */

/* =========start - footer========= */
footer {
  padding: 0px !important;
  position: relative;
  overflow: hidden;
  background: linear-gradient(70deg, #1c50a1 40%, #6eb944 100%);
  border: 0px;
}

.footer__inner {
  padding-top: 55px;
  padding-bottom: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  color: #ffffff;
}

.footer__logo {
  font-size: 24px;
  display: inline-block;
  line-height: 1.5;
  color: #ffffff !important;
}

.footer__logo span {
  font-size: 14px;
  display: block;
}

.footer-info .__info {
  margin-top: 14px;
  font-size: 14px;
}

.wrap-ft-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 56px;
  margin-left: 56px;
  padding-left: 50px;
  border-left: 1px solid #ffffff;
}

.ft-menu li {
  margin-bottom: 6px;
  font-size: 14px;
}

.ft-menu li.mt {
  margin-top: 44px;
}

.ft-menu li:last-child {
  margin-bottom: 0px;
}

.ft-menu li ul {
  padding: 4px 0px 4px 12px;
}

.ft-menu a {
  display: block;
  font-size: 14px;
  padding: 4px 6px;
  color: #ffffff !important;
}

.ft-menu a:hover {
  background-color: #ffffff;
  color: #0051bb !important;
  opacity: 1;
}

.footer__bt {
  max-width: 930px;
  margin: 0 auto;
  align-items: center;
  padding-bottom: 15px;
}

.menu-sub-ft {
  display: flex;
  align-items: center;
  column-gap: 20px;
}

.menu-sub-ft li:not(:first-child) {
  position: relative;
}

.menu-sub-ft li:not(:first-child)::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 15px;
  top: 5px;
  left: -10px;
  background-color: #ffffff;
}

.menu-sub-ft a {
  font-size: 14px;
  color: #ffffff !important;
}

.wrap-social {
  display: flex;
  column-gap: 18px;
  align-items: center;
  padding-top: 5px;
}

.wrap-social a {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: .3s;
}

.wrap-social a:hover{
  background-color: inherit;
  opacity: 0.7;
}

/* .wrap-social a svg {
  fill: #fff;
}

.wrap-social a:hover {
  opacity: 0.7;
} */

/* .wrap-social a.__x {
  background-color: #1da1f2;
}
.wrap-social a.__f {
  background-color: #1877f2;
}
.wrap-social a.__y {
  background-color: #fc0000;
} */

/* =========end - footer========= */

/* css button back to top */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 92px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #0051bb;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 5;
  color: #fff;
  font-size: 12px;
  padding-bottom: 10px;
  box-shadow: 0px 0px 7px rgba(255, 255, 255, 0.7);
}

#back-to-top span {
  transform: rotate(-90deg);
  font-size: 16px;
  font-weight: 300;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  opacity: 0.7;
}
/* css button back to top */

.hamburger {
  display: none;
}

.header-nav .wrap-contact {
  display: none;
}

#fixed-txt {
  position: fixed;
  z-index: 10;
  right: 0;
  background-color: #ffffff;
  top: 218px;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  writing-mode: vertical-lr;
  padding: 0px 0px;
  color: #221815;
}

#fixed-txt a:hover {
  color: #fff;
  background-color: #0051bb;
}

#fixed-txt a {
  padding: 8px 10px;
  display: inline-block;
  border: 1px solid #eee;
  background-color: #eeeeee54;
  border-radius: 10px;
}

#fixed-txt a:first-child {
  padding-top: 10px;
  border-top-left-radius: 10px;
}

#fixed-txt a:last-child {
  padding-bottom: 10px;
  border-bottom-left-radius: 10px;
  background: linear-gradient(70deg, #1c50a1 40%, #6eb944 100%);
  color: #fff;
}

/*=========== Responsive style ===========*/
@media only screen and (max-width: 1376px) {
  .header__inner {
    padding: 10px 15px;
  }
  .menu a {
    font-size: 15px;
  }
  .home-link img {
    max-width: 360px;
  }
}

@media only screen and (max-width: 1200px) {
  /* menu SP */
  .header-nav {
    display: block;
    position: fixed;
    width: 100%;
    top: 90px;
    width: 100%;
    left: 0px;
    right: 0px;
    background-color: #fff;
    padding: 10px 15px 10px 15px;
    row-gap: 0px;
    flex: unset;
    height: calc(100vh - 90px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    transform: scaleY(0.7);
    transition: 0.4s ease-in;
    transform-origin: top;
    z-index: 10;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2) inset;
  }
  .header-nav.show {
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
  }
  .header__inner {
    height: 90px;
  }
  .hamburger {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .hamburger span {
    width: 25px;
    height: 3px;
    display: block;
    margin: 3px 0px;
    background-color: #000;
    transition: 0.3s ease;
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
    visibility: hidden;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6.5px, 6px);
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6.5px, -6px);
  }
  .menu {
    display: block;
    padding-top: 0px;
  }
  .menu a {
    font-size: 16px;
    padding: 10px 10px;
    background-image: unset;
  }
  .header-nav .wrap-contact {
    display: flex;
    justify-content: center;
    padding: 20px 0px;
    margin-top: 10px;
    border-top: 1px dashed #000;
  }
  /* menu SP */
}
@media only screen and (max-width: 1024px) {
  #fixed-txt {
    top: 180px;
    font-size: 14px;
  }
  .footer__inner {
    justify-content: flex-start;
    padding-top: 45px;
  }
  .wrap-ft-menu {
    width: 100%;
    padding-left: 0;
    padding-top: 45px;
    margin-left: 0px;
    border-left: 0px;
  }
}

  .forSp{
    display: none;
  }

@media only screen and (max-width: 768px) {
  main{
    margin-top: 59px;
  }
  .forSp{
    display: block;
  }
  .forSp a{
    font-size: 14px;
    font-family: "Hiragino Kaku Gothic ProN W3";
  }
  .forSp.hum-main-menu a{
    font-size: 16px;
    font-family: "Hiragino Kaku Gothic ProN W6";

  }
    #fixed-txt {
    display: none;
  }
  .wrap-ft-menu {
    display: none;
  }
  .footer__bt {
    padding: 12px 0px;
    border-top: 1px dashed #ffffff;
  }
  .menu-sub-ft a {
    font-size: 12px;
  }
  header{
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100vw;
    background: #fff;
  }
  .header-nav .wrap-contact {
    flex-direction: column;
    align-items: center;
    row-gap: 30px;
  }
  .home-link img {
    max-width: 210px;
  }
  .header__inner {
    height: 60px;
    padding: 5px 15px;
  }
  .header-nav {
    top: 60px;
    height: calc(100vh - 60px);
  }
  .menu a {
    padding: 8px 0px;
  }
  #back-to-top {
    width: 60px;
    height: 60px;
    font-size: 9px;
    right: 0;
    bottom: 0;
  }
  #back-to-top span {
    font-size: 12px;
  }
}

@media only screen and (max-width: 479px) {
  #fixed-txt {
    top: 160px;
  }
  #fixed-txt a {
    padding: 6px 8px;
  }
  #fixed-txt a:first-child {
    padding-top: 8px;
    border-top-left-radius: 8px;
  }
  #fixed-txt a:last-child {
    padding-bottom: 8px;
    border-bottom-left-radius: 8px;
  }
}

@media only screen and (max-width: 360px) {
}

@media only screen and (max-width: 320px) {
  html,
  body {
    min-width: 320px;
    overflow-x: hidden;
  }
}
/*=========== Responsive style ===========*/
