@charset "UTF-8";
/* ===================================
   CSSファイルのインポート
=================================== */
@import url('reset.css');
@import url('top.css');
@import url('contact.css');
@import url('privacy.css');

/* ===================================
   共通スタイル
=================================== */
* {
  font-family: 'Noto Sans JP', sans-serif;
  color: #30313a;
}

body {
  line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.4;
}

a {
  transition: 0.2s;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
}

main {
  padding-top: 130px;
}

/* ===================================
   ヘッダー
=================================== */
header {
  position: fixed;
  width: 100%;
  z-index: 100;
  top: 0;
  background-color: #fff;
}

.header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  max-width: 1100px;
  padding: 12px 2%;
  margin: 0 auto;
  height: 70px;
}

.header_logo a {
  display: block;
}

.header_logo img {
  height: 36px;
  width: auto;
}

.header_nav {
  background: #2c22d8;
  height: 60px;
}

.header_nav ul {
  display: flex;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
}

.header_nav li a {
  display: block;
  padding: 12px 25px;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 500;
  height: 60px;
}

.header_nav li a:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

/* ハンバーガーメニュー */
.hamburger_btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger_btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #30313a;
  transition: 0.3s;
}

/* SPメニュー */
.sp_menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  visibility: hidden;
}

.sp_menu.active {
  transform: translateX(0);
  visibility: visible;
}

.sp_menu_inner {
  padding: 20px;
}

.close_btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: #30313a;
}

.sp_menu nav {
  margin-top: 50px;
}

.sp_menu nav ul li {
  border-bottom: 1px solid #eee;
}

.sp_menu nav ul li a {
  display: block;
  padding: 15px 0;
  font-size: 1.6rem;
  font-weight: 500;
}

/* オーバーレイ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===================================
   フッター
=================================== */
footer {
  /* background: #30313a; */
  padding: 30px 10% 30px 2%;
  border-top: solid 10px #30313a;
  /* max-width: 1100px; */
}

.footer_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5% 0 0%;
}

.footer_logo img {
  height: 28px;
  width: auto;
  /* filter: brightness(0) invert(1); */
}

footer small {
  /* color: rgba(255, 255, 255, 0.7); */
  font-size: 1.2rem;
}

#page-top {
  position: fixed;
  bottom: -100px; /* 初期状態で隠す */
  right: 15px;
  font-size: 10px;
  z-index: 1000;
  transition: bottom 0.2s ease; /* アニメーションはCSSで */
}

#page-top.show {
  bottom: 20px;
}

#page-top a {
  text-decoration: none;
  width: 70px;
  text-align: center;
  display: block;
  color: #fff;
  background-color: #30313a;
  padding-top: 21px;
  padding-right: 0;
  padding-bottom: 21px;
  padding-left: 0;
  font-size: 18px;
}

#page-top a:hover {
  text-decoration: none;
  color: #fff;
  background-color: #30313a;
}

/* ===================================
   SP対応
=================================== */
@media screen and (max-width: 768px) {
  main {
    padding-top: 60px;
  }

  .header_inner {
    padding: 10px 15px;
  }

  .header_logo img {
    height: 28px;
  }

  .header_nav {
    display: none;
  }

  .hamburger_btn {
    display: flex;
  }

  footer {
    padding: 25px 15px;
  }

  .footer_inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
