* {
  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;
}

body {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
}

a {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  transition: all 0.3s;
}

.sp{
  display: none !important;
}

.common_top {
  position: relative;
  display: grid;
  min-height: 400px;
  grid-template-columns: auto;
  grid-template-rows: 1fr auto;
}

.common_top_img {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: -1;
}

.mokuzi {
  position: relative;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 15px;
  list-style: none;
  font-size: 14px;
  margin: 20px 5vw; 
}

.mokuzi li {
  display: flex;
  align-items: center;
}

.mokuzi li:not(:last-child)::after {
  display: inline-block;
  transform: rotate(45deg);
  width: 0.3em;
  height: 0.3em;
  margin-left: 10px;
  border-top: 1px solid #333333;
  border-right: 1px solid #333333;
  content: '';
}

.section_title {
  display: flex;
  height: fit-content;
  margin-left: 7vw;
  margin-right: 10px;
  word-break: break-all;
}

.section_img1 {
  max-height: 64px;
  height: 100%;
  width: auto;
}

.section_title h1 {
  margin-left: -0.5em;
  font-size: 36px;
}

.common_btn {
  display: flex;
  width: fit-content;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  white-space: nowrap;
  padding: 5px 10px 5px 15px;
  border-radius: 50px;
  transition: all 0.5s;
  font-weight: medium;
}
.common_btn_img{
  position: relative;
  width: 48px;
  height: 48px;
  margin-left: 5px;
}

.common_btn_img img{
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: auto;
  transition: all 0.5s;
}

.common_btn:hover {
  outline: 2px solid #ea3700;
  background-color: #ffffff;
  color: #ea3700;
}

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

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

/*以下ヘッダー部分のCSS*/
header {
  position: fixed; /*← fixedで固定 */
  top: 0;
  width: 98%;
  max-height: fit-content;
  z-index: 10;
  margin:20px 1%;
}


.menu{
  color: #000000;
  transition: all 0.3s;
  cursor: pointer;
  white-space: nowrap;
  min-width: 100px;
}

.menu:hover,
.dropdown-content div:hover a{
  color: #ea3700;
  text-decoration: underline; 
}

.logo img {
  width: auto;
  height: 72px;
}

.header_container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  text-align: center;
  align-items: center;
  margin: 0 20px;
  height: 80px;
}

.header_container > div {
  margin: 0 10px;
}

.header_item{
  display: flex;
  flex-wrap: wrap;
  justify-content:space-around;
  row-gap: 10px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  border-radius: 15px;
  min-width: 120px;
  width: fit-content;
  white-space: nowrap;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-content > div {
  margin: 7px;
  cursor: pointer;
  transition: all 0.5s;
}

.dropdown-content > div:hover {
  color: #ea3700;
  text-decoration: underline;
} 
.dropdown input{
  display: none;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.language_switch {
  display: flex;
  background-color: #ffffff;
  align-items: center;
  padding: 10px;
  border-radius: 50px;
  color: #000000;
}
.language_switch img {
  margin-right: 7px;
}

.header_apply img{
  position: fixed;
  bottom: 20px;
  right: 35px;
  width: 180px;
  height: auto;
}

.header_apply2 {
  opacity: 0;
}

.header_apply:hover .header_apply1 {
  opacity: 0;
  transition: all 0.5s;
}
.header_apply:hover .header_apply2 {
  opacity: 1;
  transition: all 0.5s;
}

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

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

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

footer{
  background-color: #ffffff;
}
.footer1 {
  background-color: #adaaaa;
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.footer1_btn {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 50px;
  row-gap: 20px;
  margin-bottom: 20px;
}

.footer1_text{
  padding:0 20px;
}

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

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

.footer2_subject {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding:0 10px;
}

.footer2_subject p {
  font-size: 24px;
  font-weight: bold;
  margin: auto 0;
  white-space: nowrap;
}

.footer2 ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  margin: 20px auto;
  padding: 0;
}

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

.footer_bottom{

  text-align: center;
  padding-bottom: 50px;
}
#icp {
  display: block;
  text-align: center;
  font-size: small;
  text-decoration: none;
}
/*ここまでフッターのCSS*/

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


@media screen and (max-width: 700px) {
  .pc{
    display: none !important;
  }
  .sp{
    display: block !important;
  }

  .common_top{
    min-height: 250px;
  }
  
  .section_img1 {
    max-height: 32px;
  }

  .section_title h1 {
    margin-left: -0.5em;
    margin-top: 12px;
    font-size: 24px;
  }

  header.scroll-nav {
    background-color: transparent;
  }
  .logo img {
    position: absolute;
    height: 58px;
    margin: 8px;
    z-index: -1;
  }
  header{
    min-width: 100px;
    width: 100vw;
    right:0;
    margin: 0;
    display: flex;
  }

  .header_container{
    display: none;
    height: fit-content;
    max-width: 700px;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 0 10px #d3d2d2;
    margin: 0;
    padding: 50px 0 30px 0;
  }

  /* ハンバーガーメニューのスタイル */
  .hamburger-menu {
    padding: 10px;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #ffffff;
    border-radius: 50px;
    box-shadow: 0 0 10px #d3d2d2;
    position: absolute;
    right: 0;
    margin: 15px 5px;
  }

  /* ハンバーガーメニューのアイコンのスタイル */
  .hamburger-line {
    width: 30px;
    height: 2px;
    background-color: #ea3700;
    transition: all 0.7s;
    margin: 6px auto ;
  }
  .hamburger-line:nth-child(3) {
    width: 20px;
    margin-left: 0;
  }

  /* activeクラスのスタイル */
  .active .hamburger-line:nth-child(1), 
  .active .hamburger-line:nth-child(3) {
    opacity: 0;
  }
  /* activeクラスが付与されたときのメニューのスタイル */
  .active + .header_container{
    display: block;
  }

  .dropdown label,
  .menu{
    color: #000000 !important;
  }
  .header_item{
    flex-flow: column;
  }

  .dropdown{
    margin: 10px auto;
  }

  .dropdown:hover .dropdown-content{
    display: none;
  }

  .dropdown label:has(input:checked) ~ .dropdown-content {
    display: block;
    position: relative;
  }

  .header_apply img{
    bottom: 15px;
    right: 10px;
    width: 138px;
    height: auto;
  }
  .footer2{
    display: flex;
    flex-flow: column-reverse;
    margin-bottom: 20px;
  }

  .footer2 ul {
   flex-flow: column;
  }
}

.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;
}
