@charset "UTF-8";

/*---------------------------------------------

	全ページ共通

---------------------------------------------*/
/* ↓ 色とテキストの定義 ------------------------*/
html {
  scroll-behavior: smooth;
  font-size: 14px;
}

@media screen and (min-width: 1200px) {
  html {
    font-size: 15px;
  }
}

@media screen and (min-width: 1400px) {
  html {
    font-size: 16px;
  }
}

@media screen and (max-width: 540px) {
  html {
    font-size: 3.5vw;
    /*文字量L-3.3vw/文字量M-3.5vw  */
  }
}

body {
  color: #333333;
  letter-spacing: 0.08rem;
  line-height: 1.5;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 400;
  /*bold700 Medium 500 regular400 light 300*/
  position: relative;
  background: white;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer {
  margin-top: auto;
}

/*imgタグトリミング*/
.object-fit-img {
  object-fit: cover;
  font-family: "object-fit: contain;";
}

/* ↓ 共通アニメーション------------------------*/
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ↓ 共通コンテンツ横幅とマージン ------------------------*/
/*pcの横幅*/
.pcWidth-xl {
  width: 1024px;
  max-width: 98%;
  margin: 0 auto;
}

.pcWidth-l {
  width: 960px;
  max-width: 98%;
  margin: 0 auto;
}

.pcWidth-m {
  width: 900px;
  max-width: 98%;
  margin: 0 auto;
}

.pcWidth-s {
  width: 760px;
  max-width: 98%;
  margin: 0 auto;
}

@media screen and (min-width: 1450px) {
  .pcWidth-xl {
    width: 1216px;
  }

  .pcWidth-l {
    width: 1152px;
  }

  .pcWidth-m {
    width: 1080px;
  }

  .pcWidth-s {
    width: 912px;
  }
}

/*spの横幅*/
@media screen and (max-width: 540px) {
  .spWidth-max {
    max-width: 100%;
  }

  .spWidth-l {
    max-width: 94%;
  }

  .spWidth-m {
    max-width: 88%;
  }

  .spWidth-s {
    max-width: 78%;
  }
}

/*セクションの上下のマージン*/
.secOuter-s {
  padding: 4rem 0px 5rem 0px;
}

.secOuter-m {
  padding: 5rem 0px 6.5rem 0px;
}

.secOuter-l {
  padding: 7rem 0px 8rem 0px;
}

@media screen and (max-width: 540px) {
  .secOuter-s {
    padding: 3rem 0px 4.2rem 0px;
  }

  .secOuter-m {
    padding: 3.5rem 0px 4.8rem 0px;
  }

  .secOuter-l {
    padding: 4.2rem 0px 4.8rem 0px;
  }
}

/* ↓ リンクと共通パーツ ------------------------*/
.textalign-center {
  text-align: center;
}

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

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

a {
  color: #333333;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

.btn-area {
  margin-top: 1.5rem;
}

.btn-area-l {
  margin-top: 3rem;
}

@media screen and (max-width: 540px) {
  .btn-area {
    margin-top: 1rem;
  }

  .btn-area-l {
    margin-top: 1.5rem;
  }
}

/* ↓ ナビゲーションバー ------------------------*/
.globalmenu {
  padding: 0.4rem 2rem;
  line-height: normal;
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 540px) {
  .globalmenu {
    padding: 0.1rem 0.5rem;
  }
}

.globalmenu-left {
  width: 4rem;
}

.globalmenu-center {
  display: flex;
  align-items: center;
}

.globalmenu-right {
  width: 4rem;
}

.globalmenu-left img,
.globalmenu-right img,
.globalmenu-center img {
  height: 1.5rem;
}

@media screen and (max-width: 540px) {
  .globalmenu-left img,
  .globalmenu-right img,
  .globalmenu-center img {
    height: 1.2rem;
  }
}

/*　ハンバーガーボタン　*/
.hamburger {
  display: block;
  position: relative;
  z-index: 3;
  right: 0;
  top: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
  transform: scale(0.8, 0.8);
}

@media screen and (max-width: 540px) {
  .hamburger {
    transform: scale(0.6, 0.6);
  }
}

.hamburger span {
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  background: #555;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  margin: 0.5rem;
}

.hamburger span:nth-child(1) {
  top: 5px;
}

.hamburger span:nth-child(2) {
  top: 15px;
}

.hamburger span:nth-child(3) {
  top: 25px;
}

.hamburger.active span:nth-child(1) {
  top: 16px;
  /*    left: 6px;*/
  background: #333;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  background: #333;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* ↓ スマホメニュー ------------------------*/
nav.globalmenu-sp {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  width: 100%;
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  height: 100vh;
}

.globalmenuSp-inner {
  height: 100%;
  color: #333;
  text-align: left;
  margin-left: 6rem;
  margin-top: 6rem;
}

@media screen and (max-width: 540px) {
  .globalmenuSp-inner {
    margin-left: 3rem;
    margin-top: 5rem;
  }
}

nav.globalmenu-sp.active {
  display: block;
  opacity: 10;
}

/*---------------------------------------------

	テストコード

---------------------------------------------*/
/* ↓ セクション ｜ ファーストビュー ------------------------*/

.sec-test {
  background-color: #ff9139;
  padding: 2rem 0;
}

.sec-test2 {
  background-color: #00b300;
}

/*---------------------------------------------

	フッター

---------------------------------------------*/
.footer-menu {
  background: #4d4d4d;
  text-align: center;
  padding: 2rem 1rem;
}

.footerMenu-logo img {
  width: 8rem;
}

.footerMenu-menus {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.footerMenu-menus a {
  color: white;
}

.footerMenu-copy {
  font-size: 0.8rem;
  letter-spacing: normal;
  color: white;
}

/* ↓ PCとSP表示切り替え（末尾に設置） ------------------------*/
.pcArea {
  display: block;
}

.spArea {
  display: none;
}

@media screen and (max-width: 540px) {
  .pcArea {
    display: none;
  }

  .spArea {
    display: block;
  }
}
