@charset "utf-8";
/*全ページ範囲共通デザイン*/
*,
::before,
::after {
  padding: 0;
  margin: 0;
}
body{
  font-family: 'Times New Roman', Times, Noto-Serif-JP, serif;
}
main{
  padding-bottom: 40px;
}

/*ヘッダーデザイン*/
/*ヘッダー上部デザイン*/
.header_upper{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #85023e;
  position: relative;
}
/*ヘッダーロゴ*/
.logo_header{
  display: block;
  width: 450px;
  height: auto;
  padding-top: 10px;
  padding-bottom: 8px;
  margin-left: 10%;
}

/*ハンバーガーメニュー(PC非表示)*/
.menu_hamberger{
  display: none;
}
.icon_hamberger{
  margin-right: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 25px;
  cursor: pointer;
}
.icon_hamberger span{
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.619s;
}
.menu_list_hamberger{
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 0px;
  background-color: #121212de;
  position: absolute;
  top: 100%;
  right: 0;
  width: 60%;
}
.menu_list_hamberger :hover{
  background-color: #85023d90;
  ;
}
.menu_list_hamberger li{
  text-decoration: none;
}
.menu_list_hamberger a{
  color: #f6f6f6;
  display: block;
  width: 100%;
  padding: 10px;
  text-decoration: none;
}
/* メニュー表示時のスタイル */
.menu_hamberger.active .menu_list_hamberger{
  display: flex;
}
.menu_hamberger.active .icon_hamberger span:nth-child(1){
  transform: rotate(45deg) translate(6px, 6px);
}
.menu_hamberger.active .icon_hamberger span:nth-child(2){
  opacity: 0;
}
.menu_hamberger.active .icon_hamberger span:nth-child(3){
  transform: rotate(-45deg) translate(6px, -6px);
}

/*ヘッダー下部デザイン*/
.header_lower{
  background-color: #85023d80;
}
.menu_list_header{
  display: flex;
  list-style: none;
  margin-left: 10%;
}
.bs,
.bu{
  display: flex;
  width: 65px;
  height: 35px;
  line-height:35px;
  text-align: center;
  justify-content: center;
  text-decoration: none;
  color: black;
}
.bs{
  position: relative;
}
.bs::after{
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: black;
}
.bu{
  position: relative;
  text-decoration: none;
  display:inline-block;
}
.bu::before{
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0px;
  width: 100%;
  height: 2px;
  background: black;
  display: block;
  -webkit-transform-origin: right top;
  -ms-transform-origin: right top;
  transform-origin: right top;
  -webkit-transform: scale(0, 1);
  -ms-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transition: transform 0.4s cubic-bezier(1, 0, 0, 1);
  transition: transform 0.4s cubic-bezier(1, 0, 0, 1)
}
.bu:hover::before{
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1)
}

/*メインコンテンツ共通デザイン*/
main{
  width: 95%;
  max-width: 1080px;
  margin: auto;
  text-align: center;
}

/*ページタイトル*/
.top{
  margin-top: 15px;
  margin-bottom: 30px;
}
.title{
  font-size: 25px;
  margin-bottom: 3px;
}
.page_desc{
  font-size: 15px;
  margin-bottom: 2px;
}

/*スクロールトップアイコン*/
.scrollTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  width: 50px;
  height: 50px;
  background-color: #85023e;
  color: white;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  z-index: 1000;
}
.scrollTop:hover {
  background-color: #67002e;
}


/*フッターデザイン*/
.footer{
  background-color: #85023e;
  display: flex;
  padding-left: 7%;
  padding-top: 7px;
  padding-bottom: 7px;
  justify-content: space-between;
  margin-top: 0px;
}
.footer_left{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 350px;
}
.menu_list_footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 8px;
  list-style: none;
  padding: 0;
}
.menu_contents_footer{
  text-decoration: none;
  color: #f6f6f6;
}
.menu_contents_footer:hover {
  color: gray;
}
.footer_right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: right;
  margin-right: 6%;
}
.logo_footer{
  text-align: right;
  width: 350px;
  height: auto;
  padding-top: 10px;
  padding-bottom: 8px;
  margin: auto;
}
.copyright{
  text-align: right;
  font-size: 10px;
  color: #f6f6f6;
}




/*スマホ版*/
@media (max-width: 634px) {
  .logo_header{
    width: 75%;
  }
  .menu_hamberger{
    display: block;
  }
  .menu_header{
    display: none;
  }
  .footer_left{
    display: none;
  }
  .logo_footer{
    width: 90%;
    align-items: center;
    margin: auto;
  }
  .footer_right{
    align-items: center;
    margin: auto;
  }
}



/* 追加の微調整 */
.header_upper {
  padding: 5px 0;
}

/* リンクのホバー効果を優しくする */
a {
  transition: 0.3s;
}
a:hover {
  opacity: 0.6;
}

/* フッター内の文字を少し整理 */
.footer {
  border-top: 3px solid #67002e; /* 境界をはっきり */
}

.menu_contents_footer {
  font-size: 13px;
}