@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
}
body {
  color: #333; /* RGB */
  font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
  font-weight: 500;
  font-size: 1.6em;
  line-height: 2.4rem;
  text-align: center;
}
section h2 {
  font-size: 2.4rem;
}
a:hover {
  opacity: 0.5;
}
*, *:before, *:after {
  box-sizing: border-box;
}
/* header */
.header {
  height: 50px;
  width: 100%;
  background-color: #fff;
}
.header h1 {
  color: #333;
  text-align: left;
  padding: 0 24px 0 0;
  font-size: 1.6rem;
}
.header h1 a {
  color: #333;
  text-decoration: none;
}
/* navigation */
.open-button, .close-button {
  display: none;
}
@media(max-width:1160px) {
  .open-button {
    display: block;
    position: absolute;
    right: 10px;
    top: 15px;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }
  .open-button span, .open-button span:before, .open-button span:after {
    position: absolute;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    display: block;
    content: "";
  }
  .open-button span:before {
    bottom: -8px;
  }
  .open-button span:after {
    bottom: -16px;
  }
  .close-button {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    color: #333;
    font-size: 30px;
    padding: 8px 30px 0 0;
  }
  .header nav {
    display: none;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    width: 80%;
    height: 100%;
    padding-top: 67px;
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.4);
  }
  .header nav ul li {
    border-bottom: solid 1px #eee;
  }
  .header nav ul li a {
    font-weight: 600;
    line-height: 40px;
    vertical-align: middle;
    text-decoration: none;
    color: #333;
  }
	.header nav img {
    width: 50px;
    height: auto;
    padding-bottom: 30px;
  }
}
/* header PC */
@media(min-width:1160px) {
  .header {
    height: 83px;
  }
  .header h1 img {
    padding-top: 14px;
    height: 70px;
    max-width: 100%;
    float: left;
  }
  .header-content-wrapper {
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
  }
  .header nav {
    display: block;
    text-align: right;
  }
  .header nav ul {
    display: flex;
    justify-content: space-between;
  }
  .header nav li a {
    display: block;
    padding: 28px 21px 0;
    color: #333;
    text-decoration: none;
    font-size: 2.0rem;
    font-weight: 600;
    height: 83px;
  }
  nav li:not(:last-child){
    border-right:2px solid #eee;
    }
  .logo {
    display: none;
  }
}
/*==================================================
　5-3-1 中心から外に線が伸びる（下部）
===================================*/
.gnavi li a {
  /*線の基点とするためrelativeを指定*/
  position: relative;
}
.gnavi li.current a, .gnavi li a:hover {
  color: #0481A2;
}
.gnavi li a::after {
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0;
  left: 10%;
  /*線の形状*/
  width: 80%;
  height: 2px;
  background: #0481A2;
  /*アニメーションの指定*/
  transition: all .3s;
  transform: scale(0, 1); /*X方向0、Y方向1*/
  transform-origin: center top; /*上部中央基点*/
}
/*現在地とhoverの設定*/
.gnavi li.current a::after, .gnavi li a:hover::after {
  transform: scale(1, 1); /*X方向にスケール拡大*/
}
/* footer スマホ */
.footer {
  background-image: url("../images/top/footer.webp"); /* 画像のパス指定*/
  background-size: cover; /* 画像を要素に合わせて表示 */
  background-position: center; /* 画像の位置を中央に設定 */
  color: #333; /* テキストの色を白に設定（任意の色に変更可能） */
  padding: 20px 6px 150px 6px; /* 必要に応じてフッターのパディングを設定 */
  text-align: center; /* テキストを中央に配置 */
}
.footer a {
  color: #333;
  text-decoration: none;
}
.footer li {
  padding-bottom: 10px;
}
.site-map {
  display: flex;
  text-align: left;
  justify-content: space-around; /* 均等に配置 */
  align-items: center; /* 上下中央揃え */
  padding: 0 12px;
  font-size: 1.4rem;
  font-weight: 600;
}
.site-map__service-links {
  justify-content: center;
  margin-left: 30px;
}
.footer__copyright {
  position: relative;
  bottom: -20px;
  left: 0px;
  width: 100%;
  text-align: center;
}
.footer ul img {
  width: 50px;
  border-radius: 8px;
}
/* footer PC */
@media(min-width:1160px) {
  .footer {
    background-image: url("../images/top/footer.webp"); /* 画像のパス指定*/
    background-size: cover; /* 画像を要素に合わせて表示 */
    background-position: center; /* 画像の位置を中央に設定 */
    color: #333; /* テキストの色を白に設定（任意の色に変更可能） */
    padding: 40px 0 45px;
    text-align: center; /* テキストを中央に配置 */
  }
  .footer a {
    color: #333;
    text-decoration: none;
  }
  .site-map {
    display: flex;
    text-align: left;
    justify-content: space-around;
    font-size: 1.2rem;
    font-weight: 600;
  }
  .site-map__service-links {
    margin-left: 30px;
  }
  .footer__copyright {
    margin-bottom: 10px;
    left: 0px;
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
  }
}
/***追従するトップへ戻るボタン***/
#scroll-top {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 30px;
  bottom: 30px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  outline: 0;
  background-color: #666;
  cursor: pointer;
  z-index: 999;
}
#scroll-top::before {
  content: "";
  width: 10px;
  height: 10px;
  margin: 0px 0px -4px;
  border-top: 3px #fff solid;
  border-right: 3px #fff solid;
  transform: rotate(-45deg);
}
#scroll-top:hover {
  background-color: #000;
}