@charset "UTF-8";


/* font-size:62.5%の指定のあるページ */
body {
  --f10px: 1rem;
  --f12px: 1.2rem;
  --f16px: 1.6rem;
  --f20px: 2rem;
}
/* font-size:62.5%の指定のないページ */
body.adjustment-rem {
  --f10px: 0.625rem;
  --f12px: 0.75rem;
  --f16px: 1rem;
  --f20px: 1.25rem;
}

header *,
footer *,
.fix-btn * {
  box-sizing: border-box;
}

/* uritai用 */
.h-nav, 
.h-nav_item,
.copyright {
  all: unset;
}

#top-contents {
  padding-top: 70px;
}
@media (min-width: 600px) {
  #top-contents {
    padding-top: 90px;
  }
}
@media (min-width: 850px) {
  #top-contents {
    padding-top: 110px;
  }
}

header .img_pc,
footer .img_pc,
.fix-btn .img_pc {
  display: none;
}
@media (min-width: 600px) {
  header .img_pc,
  footer .img_pc,
  .fix-btn .img_pc {
    display: block;
  }
}

header .img_sp,
footer .img_sp,
.fix-btn .img_sp {
  display: block;
}
@media (min-width: 600px) {
  header .img_sp,
  footer .img_sp,
  .fix-btn .img_sp {
    display: none;
  }
}

header .openbtn,
header #g-nav {
  display: block;
}
@media (min-width: 600px) {
  header .openbtn,
  header #g-nav {
    display: none;
  }
}

html body header .site-header a {
  text-decoration: none;
  color: #0063b2!important;
}

header {
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  z-index: 10;
  background-color: #ffffff;
}

.site-header {
  position: relative;
  height: 70px;
}
@media (min-width: 600px) {
  .site-header {
    height: 90px;
  }
}
@media (min-width: 850px) {
  .site-header {
    height: 110px;
  }
}

.site-header_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  height: 100%;
}
@media (min-width: 600px) {
  .site-header_wrapper {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.top-img {
  margin-left: 3%;
  width: 150px;
  height: auto;
}
@media (min-width: 600px) {
  .top-img {
    width: 160px;
  }
}
@media (min-width: 850px) {
  .top-img {
    margin-left: 20px;
    width: 170px;
  }
}

.top-img a {
  display: block;
  width: 100%;
  height: auto;
}

.top-img a img {
  display: block;
  width: 100%;
  height: auto;
}

.top-right {
  display: none;
}
@media (min-width: 600px) {
  .top-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-flow: column;
    gap: 4px 4px;
    padding-right: 20px;
    height: 90px;
  }
}
@media (min-width: 850px) {
  .top-right {
    height: 110px;
  }
}

.top-contacts {
  display: flex;
  align-items: flex-end;
  gap: 10px 10px;
}
@media (min-width: 850px) {
  .top-contacts {
    gap: 20px 20px;
  }
}

.top-tel {
  width: 160px;
  height: auto;
}
@media (min-width: 850px) {
  .top-tel {
    width: 190px;
  }
}

.top-tel img {
  width: 100%;
  height: auto;
}

.top-contact {
  width: 150px;
  height: auto;
}
@media (min-width: 850px) {
  .top-contact {
    width: 180px;
  }
}

.top-contact img {
  width: 100%;
  height: auto;
}

.h-nav_item--open {
  position: relative;
  transition: all 0.3s ease;
}

.h-nav_accordion {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% - 8px));
  z-index: 1;
  white-space: nowrap;
  padding: 8px;
  min-width: 180px;
  background: #ffffff;
}

.h-nav_item--open:hover .h-nav_accordion {
  opacity: 1;
  visibility: visible;
}

.h-nav_item a {
  display: block;
  padding: 8px;
  font-size: var(--f12px);
  border-bottom: 1px solid #0063b2;
  
}
@media (min-width: 850px) {
  .h-nav_item a {
    padding: 8px 12px;
    font-size: var(--f16px);
  }
}

.h-nav_item a:last-of-type {
  border-bottom: none;
}

.h-nav_item a.h-nav_sublink {
  padding: 8px;
}

.h-nav_item--open > a {
  padding: 8px 20px 8px 8px;
}
@media (min-width: 850px) {
  .h-nav_item--open > a {
    padding: 8px 24px 8px 12px;
  }
}

.h-nav_item--open > a::after {
  box-sizing: border-box;
  content: '';
  position: absolute;
  right: 9px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid #0063b2;
  border-bottom: 2px solid #0063b2;
  transform: translateY(-50%) rotate(45deg); /* → 下向き矢印に */
  transition: transform 0.3s ease;
}

.h-nav_item--open:hover a::after {
  transform: translateY(-50%) rotate(-135deg); /* ↑ に回転 */
}

.h-nav_wrapper {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: -1;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
@media (min-width: 600px) {
  .h-nav_wrapper {
    position: static;
    display: flex;
    z-index: auto;
    visibility: visible;
    opacity: 1;
    transform: none;
    color: #000
  }
}

/* .h-nav_wrapper.active { */
  /* visibility: visible; */
  /* opacity: 1; */
  /* transform: translateY(0); */
/* } */


/*========= ナビゲーションのためのCSS ===============*/

#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top: -120%;
  left: 0;
  width: 100%;
  height: 75%;
  /*ナビの高さ*/
  background-color: #ededed;
  /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 75%;
  /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
}

/*リストのレイアウト設定*/

#g-nav li {
  list-style: none;
  border-bottom: 1px solid #0063b2;
}

#g-nav li a {
  color: #0063b2;
  text-decoration: none;
  padding: 20px;
  display: block;
  text-transform: uppercase;
  font-weight: bold;
  font-size: var(--f16px);
}
#g-nav li a.sublink {
  padding: 0 0 8px 40px;
}
#g-nav li a.sublink:last-of-type {
  margin-bottom: 20px;
}
#g-nav li:last-of-type {
  border-bottom: none;
}

#g-nav .g-nav-contacts {
  display: flex;
  align-items: center;
  flex-flow: column;
  gap: 10px 10px;
  margin-top:10px;
}

#g-nav .g-nav-tel {
  padding: 0;
  width: 190px;
  height: auto;
}

#g-nav .g-nav-tel img {
  width: 100%;
  height: auto;
}

#g-nav .g-nav-contact {
  padding: 0;
  width: 180px;
  height: auto;
}

#g-nav .g-nav-contact img {
  width: 100%;
  height: auto;
}



/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: absolute;
  z-index: 9999;
  /*ボタンを最前面に*/
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #0063b2;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 50%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 50%;
}


/* フッター */
footer {
  background-color: #ededed;
}

.footer {
  margin: 0 auto;
  padding: 60px 0 80px;
  width: 94%;
  max-width: 1000px;
}
@media (min-width: 600px) {
  .footer {
    padding: 80px 0 80px;
  } 
}

.footer a {
  text-decoration: none;
}

.footer .footer_logo {
  display: block;
  margin: 0 auto 40px;
  width: 300px;
  max-width: 60%;
}
@media (min-width: 600px) {
  .footer .footer_logo {
    margin: 0 auto 40px;
  }
}

.footer .footer_logo img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.footer .f-nav {
  margin-bottom: 20px;
}

.footer .f-nav_list {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 10px;
}

.footer .f-nav_item {
  display: flex;
  justify-content: flex-start;
  gap: 16px 10px;
}
@media (min-width: 600px) {
  .footer .f-nav_item {
    gap: 16px;
  }
}

.footer .f-nav_wrap {
  flex: 1;
  display: flex;
  flex-flow: column;
}

.footer .f-nav_inner {
  display: flex;
  justify-content: flex-start;
  gap: 2px 10px;
  flex-wrap: wrap;
}

.footer .f-nav_title {
  color: #0063b2;
  font-size: var(--f12px);
}
@media (min-width: 600px) {
  .footer .f-nav_title {
    font-size: var(--f16px);
  }
}

.footer .f-nav_subtitle {
  color: #0063b2;
  font-size: var(--f12px);
}
@media (min-width: 600px) {
  .footer .f-nav_subtitle {
    font-size: var(--f16px);
  }
}

.footer .f-nav_link {
  position: relative;
  padding-right: 10px;
  color: #0063b2!important;
  font-size: var(--f12px);
}
@media (min-width: 600px) {
  .footer .f-nav_link {
    font-size: var(--f16px);
  }
}

.footer .f-nav_link::after {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: block;
  content: "";
  width: 1px;
  height: 62%;
  background-color: #0063b2;
}

.footer .f-nav_link:last-of-type {
  border-right: none;
}

.footer .f-nav_link:last-of-type::after {
  display: none;
}

.footer .footer_corporate {
  display: flex;
  justify-content: center;
  gap: 10px 20px;
  font-size: var(--f12px);
  margin-bottom: 20px;
}
@media (min-width: 600px) {
  .footer .footer_corporate {
    gap: 10px 40px;
    font-size: var(--f16px);
  }
}

.footer .footer_link {
  color: #000000!important;
}

.footer .copyright {
  display: block;
  text-align: center;
  color: #000000;
  font-size: var(--f12px);
}

.footer .copyright_link {
  color: #0063b2!important;
  font-size: var(--f12px);
}

/* ページ下部固定リンク */
.fix-btn {
  display: none;
  width: 100%;
  position: fixed;
  bottom: 16px;
  z-index: 100;
  padding: 0 10px;
}

.fix-btn.is-show {
  display: block;
}

.fix-btn .fixed-btn_link_sp {
  display: block;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background-color: #0063b2;
  width: 33%;
  height: 60px;
  float: left;
  font-size: var(--f12px);
  padding: 10px 0;
}
@media (min-width: 600px) {
  .fix-btn .fixed-btn_link_sp {
    display: none;
  }
}

.fix-btn .fixed-btn_link_sp i {
  font-size: var(--f20px);;
}

.fix-btn .fixed-btn_link_sp:nth-of-type(2n) {
  margin: 0 0.5%;
}

.fix-btn .fix-btn-box {
  clear: both;
  max-width: 1200px;
  margin: auto;
}

.fix-btn .footer_btn_tel,
.fix-btn .footer_btn_form,
.fix-btn .footer_btn_top {
  width: 33%;
  float: left;
}

.fix-btn .footer_btn_tel,
.fix-btn .footer_btn_form {
  margin-right: 0.5%;
}
