* {
  font-family: YakuHanJP, 'Noto Sans JP', 'Roboto', 'Roboto Condensed', sans-serif;
  font-feature-settings: 'palt' 1;
  -webkit-font-smoothing: antialiased;
}

.noto-sans-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.roboto-regular {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-condensed {
  font-family: 'Roboto Condensed', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.barlow-condensed-regular {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 400;
  font-style: normal;
}

a:hover {
  transition: opacity 0.3s;
}

/*以下ヘッダー部分のCSS*/

header {
  position: fixed; /*← fixedで固定 */
  top: 0;
  width: 96%;
  max-height: 72px;
  align-items: center;
  z-index: 10;
  padding-bottom: 1.5em;
  margin-top: 1em;
  margin-right: 2%;
  margin-left: 2%;

  /* ロゴとメニューを横並びにする */
  justify-content: space-between;
}

header nav {
  width: 100%;
  display: flex;
  margin-top: 10px;
}

header ul {
  display: flex;
  justify-content: space-between;
  max-height: 72px;
  width: 95%;
  padding: 0px;
  align-items: center;
  margin: auto;
}

header a {
  color: #000000;
}

header a:hover {
  color: #ea3700;
  text-decoration: underline;
}

.logo img {
  width: auto;
  height: 72px;
}
.item {
  display: flex;
  width: 70%;
  justify-content: space-between;
}

.logo2 {
  display: flex;
  background-color: #ffffff;
  padding: 0.5em 1em;
  border-radius: 64px;
  color: #000;
}

.logo2 img {
  height: 16px;
  width: auto;
  margin: auto 0;
  padding-right: 0.5em;
}

header li {
  align-items: center;
  display: flex;
  height: 40px;
}

a {
  text-decoration: none;
}

.item {
  min-height: 40px;
}

body {
  max-width: 1440px;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.apply_btn {
  overflow: hidden;
  cursor: pointer;
  opacity: 1;
}

.apply {
  position: fixed;
  bottom: 1em;
  right: 2em;
  max-width: 233px;
  width: 13vw;
  height: auto;
}

.apply_btn img:nth-of-type(2) {
  opacity: 0;
}

.apply_btn:hover img:nth-of-type(1) {
  opacity: 0;
  transition: opacity 0.2s;
}
.apply_btn:hover img:nth-of-type(2) {
  opacity: 1;
  transition: opacity 0.5s;
}

/*以下ボディ部分のCSS*/

.home {
  position: relative;
  z-index: 1;
}

.home_img {
  width: 100%;
  height: auto;
}

/*以下にフッターのCSS*/
/*以下にフッターの第1要素CSS*/

.footer1 {
  background-color: #adaaaa;
  text-align: center;
  padding-top: 2%;
  padding-bottom: 5%;
}

.footer1_btn {
  display: flex;
  justify-content: center;
}

.footer1_btn .btn {
  width: 15%;
  margin: 3%;
  justify-content: center;
}

.footer1_btn .btn_img {
  width: 48px;
  justify-content: center;
}

.footer1_text,
.footer1_text a {
  color: #ffffff;
}

.btn {
  align-items: center;
  display: flex;
  padding: 16px;
  padding-left: 40px;
  background-color: #ffffff;
  border-radius: 100vh;
  height: 5%;
  max-height: 80px;
}
.btn:hover {
  outline: 2px solid #ea3700;
  background-color: #ffffff;
  color: #ea3700;
}

.btn_img {
  height: 100%;
  padding-left: 1rem;
}

.btn img:nth-of-type(2) {
  opacity: 0;
  display: none;
}

.btn:hover img:nth-of-type(1) {
  opacity: 0;
  display: none;
  transition: opacity 0.2s;
}
.btn:hover img:nth-of-type(2) {
  opacity: 1;
  display: block;
  transition: opacity 0.5s;
}

/*以下にフッターの第2要素CSS*/
.footer2 {
  text-align: center;
  padding: 5%;
}

.footer2_subject {
  display: flex;
  justify-content: center;
}

.footer2_subject p {
  font-size: 24px;
  font-weight: bold;
  padding-left: 2%;
  margin: auto 0;
}

.footer2 ul {
  display: flex;
  justify-content: space-between;
  max-height: 72px;
  width: 50%;
  padding: 0px;
  align-items: center;
  margin: auto;
  padding-bottom: 4%;
}

.footer2 li {
  align-items: center;
  display: flex;
  height: 40px;
  padding-top: 10%;
}

.tablet {
  display: none;
}

/* スクロールして「scroll-navクラス」がついたときのヘッダーデザイン */
header.scroll-nav {
  /* 背景を白にする */
  background-color: rgba(234, 55, 0, 0.2);
  border-radius: 64px;
}

/* 「scroll-navクラス」がヘッダーについたときに、ロゴとナビゲーションの文字を黒にする */
header.scroll-nav a {
  color: #000;
}

header.scroll-nav a:hover {
  color: #ea3700;
}

header.scroll-nav .apply_btn {
  position: fixed;
  bottom: 1em;
  right: 2em;
  max-width: 250px;
  width: 19%;
  height: auto;
  opacity: 1;
}

.menu > li.menu__single {
  position: relative;
}

li.menu__single ul.menu__second-level {
  display: flex;
  position: absolute;
  top: 40px;
  flex-flow: column;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  margin: 0 auto;
  opacity: 0;
  visibility: hidden;
}

.menu__second-level li {
  padding: 20px;
  width: 100px;
  background-color: #ffffff;
}

.menu__second-level_fist {
  padding-top: 10%;
  border-radius: 16px 16px 0px 0px;
}

.menu__second-level_end {
  padding-bottom: 10%;
  border-radius: 0px 0px 16px 16px;
}

li.menu__single input:checked ~ ul.menu__second-level {
  top: 50px;
  visibility: visible;
  opacity: 1;
}

li.menu__single input {
  display: none;
}

/*検討中

.logo2:hover img {
  opacity: 0;
}

.logo2:hover .init-bottom::before {
  content: '';
  position: absolute;
  top: 17px;
  left: -25px;
  width: 10px;
  height: 10px;
  border-radius: 0px;
  border-left: 2px solid #ea3700;
  border-top: 2px solid #ea3700;
  transform: rotate(45deg);
}*/

.sp_header {
  display: none;
}

.uni_news { font-size:0.33em; margin-top: 5px; line-height: 1.33rem; display: block; }


@media screen and (max-width: 1040px) {
  /* 1040px以下に適用されるCSS（タブレット用） */
  .PC_header {
    display: none;
  }

  header.scroll-nav {
    background-color: transparent;
  }

  header {
    display: flex;
    justify-content: end;
    padding: 0;
    width: fit-content;
    position: fixed;
    top: 10px;
    right: 0px;
  }

  .sp_header {
    display: block;
  }
  
  .hamburger {
    width: 60px;
    height: 60px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 64px;
  }

  .hamburger .bar {
    width: 40px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    display: block;
    position: absolute;
    left: 40;
    transition: all 0.3s;
  }

  .hamburger .bar-top {
    transform: translate(0, -12px);
  }

  .hamburger .bar-bottom {
    transform: translate(0, 12px);
  }

  .checkbox:checked ~ .hamburger .bar-middle {
    opacity: 0;
  }

  .checkbox:checked ~ .hamburger .bar-top {
    transform: translate(0, 0) rotate(45deg);
  }

  .checkbox:checked ~ .hamburger .bar-bottom {
    transform: translate(0, 0) rotate(-45deg);
  }

  .checkbox {
    display: none;
  }

  .nav-menu {
    position: fixed;
    max-width: 235px;
    width: 100%;
    height: 100%;
    background: #ffffff;
    opacity: 1;
    color: #fff;
    top: 0;
    left: -100%;
    transition: all 0.5s;
  }

  .nav-menu ul {
    margin-top: 40px;
    flex-flow: column;
  }

  .nav-menu li {
    margin-bottom: 20px;
  }

  .nav-menu a {
    text-align: center;
  }

  .checkbox:checked ~ .nav-menu {
    left: 0;
  }

  .logo2 {
    display: flex;
    background-color: #f8f7f7;
    padding: 0.5em 1em;
    border-radius: 64px;
    color: #000;
    max-height: 42px;
    margin-top: 10px;
  }

  .logo2 ul {
    margin-top: 0px;
  }

  .logo2 li {
    margin-bottom: 0px;
    background-color: #f8f7f7;
  }
}

.mente {
  text-align: center;
  margin: 250px auto;
}

.mente button {
  max-width: 300px;
  margin: 1em auto;
  background-color: #ea3700;
  color: #ffffff;
  border: none;
  padding: 2em;
  margin-top: 10em;
}
