@charset "UTF-8"; /* 2026.11.24 */

/* == ↓↓↓↓↓ WEB出願を非表示にする
      ↓↓↓↓↓（必要な場合はコメントアウト） == */
/*
.bnr_common .f_bnr01 {width: 100%!important;}
.bnr_common .f_bnr02 {display: none;}
*/
/* == ↑↑↑↑↑ WEB出願がない場合 == */



/* ==================================
文字サイズボタン
=================================== */
/* JavaScriptで付与されるクラスごとのフォントサイズ */
html.is-small {
  font-size: 58%
}
html.is-large {
  font-size: 68%;;
}
/* ボタンのスタイル（シンプル） */
.font-switcher {
  display: flex;
  margin-left: 5px;
}
.font-switcher button {
  padding: 5px 10px;
  cursor: pointer;
  color: var(--main);
  border: 1px solid #fff;
  background: #fff;
}
.font-switcher button.active {
  background: var(--main);
  color: #fff;
  border-color: #fff;
}



header a {transition: inherit;}
main {
  padding-top: 70px;
}
@media (min-width: 1081px) {
  main {
    padding-top: 100px;
  }
}
header a:hover, footer a:hover {
  color: var(--main);
}
body:not(.open) header ._open { display: none!important;}
body.open header ._open { display: block!important;}


/* header */
header {
  position: fixed;
  padding: 0 0 5px;
  font-size: 1.6rem;
  line-height: 1.2;
  top: 0;
  left: 0;
  z-index: 100;
  backface-visibility: hidden;
  width: 100%;
  -webkit-backface-visibility: hidden;
}
header::after {
  content: '';
  width: 100vw;
  height: 70px;
  left: 0;
  top: 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  position: absolute;
  z-index: -1;
}
header span[class^="material-symbols"] {
  color: var(--main);
}
body.open header span[class^="material-symbols"] {
  color: #fff;
}
header .container-l {
  padding-inline: max(15px, calc(100vw * 15 / 375));
  position: relative;
}

@media (min-width: 1081px) {
  header {
    padding: 0 0 18px;
  }
  header::after {
    height: 100px;
  }
  header .inner {
    display: flex;
    justify-content: space-between;
  }
}
@media (min-width: 1600px) {
  header .container-l {
    padding-right: 80px;
  }
}
@media (min-width: 1900px) {
  header .container-l {
    padding-right: 60px;
  }
}
@media (min-width: 2044px) {
  header .container-l {
    padding-inline: 0;
  }
}
header .h_right_top {
  font-size: 1.4rem;
  line-height: 1.6rem;
  padding-bottom: .3rem;
  text-align: left;
}
header .h_right_top .txt_bold {
  font-weight: bold;
  filter: contrast(0.5);
}
header .btn_link {
  padding: 0 .3rem;
}
header .btn_link a {
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 5px;
  transition: .2s;
}
.btn_rec {
  width: 58px;
  height: 58px;
  font-size: 1.2rem;
  right: 70px;
  top: -10px;
  position: absolute;
}
.btn_rec a {
  padding: 5px 0 0;
  border-radius: 0 0 5px 5px;
  line-height: 2;
  background: linear-gradient(to bottom, var(--gra01) 0%, var(--gra02) 100%);
  border: solid 1px var(--main);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: #fff;
}
.btn_rec a:hover {
  color: #fff;
}
.btn_rec a img {
  max-width: 50%;
}
@media (min-width: 900px) {
  header .btn_link a {
    padding: 10px;
  }
}
header .btn_link a img {
  margin: 0 5px;
  max-width: 50% !important;
}
header .h_logo {
  margin-top: 10px;
  max-width: 70%;
  text-align: left;
}
@media (min-width: 1081px) {
  header .h_logo {
    margin-top: 18px;
  }
/*
  body.open .h_logo {
    margin-left: calc(50% - 319px);
  }
*/
  header .nav_top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 10px 10px 0;
  }
}
@media (min-width: 1200px) {
    header .h_logo {
        margin-top: 20px;
    }
}


@media (min-width: 576px) {
  header > .container {
    max-width: 1920px;
    position: relative;
  }
}
@media (min-width: 768px) {
  header .container .inner {
    display: flex;
    justify-content: space-between;
  }
  header .h_right_top {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
  }
}
@media (max-width: 767px) {
  header .lead {
    display: none;
  }
  header .h_logo > a > img {
    max-width: 100%;
    padding-top: 0;
  }
  header .h_right_top {
    max-width: calc(100% - 6rem);
    padding: 1rem;
    border-radius: .5rem;
  }
  header .btn_link a {
    border: 1px solid #fff;
  }
  header .btn_link {
    padding: 0;
    position: absolute;
    bottom: 20px;
    right: 0;
    left: 0;
    width: 240px;
    margin: auto;
    background-color: #222;
    z-index: 991;
  }
  body.open header .gnav_menu {
    padding: 0 4vw;
  }
}
@media (min-width: 768px) {
  body.open header .gnav_menu {
    padding: 0;
  }
}
/*
.is-fixed {
  max-width: 1250px;
  width: 100%;
  padding-top: 10px!important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 2;
  padding-bottom: 10px!important;
  transition: .5s;
}
.is-fixed::after {
  top: -15px;
  left: -50vw;
  width: 150vw;
  height: 80px;
  background-color: rgba(255,255,255,0.8);
  position: absolute;
  content: '';
  z-index: -2;
}*/
/* Gloval Nav  */
header #gnav a {
  display: block;
  text-decoration: none;
}
header #gnav a:hover, #gnav a:focus {
  text-decoration: none;
}
/*PC Gloval Nav */
@media (min-width: 1081px) {
  header .h_logo img {
    max-width: 100%;
  }
  header #gnav nav {
    text-align: right;
  }
  header .btn_rec {
    top: 0;
    right: 660px;
    width: 90px;
    height: 82px;
  }
  header .btn_rec a {
    font-size: 1.6rem;
  }
  header .gnav_menu {
    padding: 0;
    display: inline-flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    position: relative;
  }
  body.open header .gnav_menu {
    justify-content: flex-start
  }
  body:not(.open) header .gnav_menu > li {
    margin: 0;
    padding: 0;
    position: inherit;
    display: flex;
    align-items: center;
  }
  header .gnav_menu > li .ac-btn {
    white-space: nowrap;
    padding-right: 14px;
    margin-right: 4px;
  }
  header .gnav_menu a {
    font-size: 1.6rem!important;
  }
  #h-nav > li > a::before {
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 2em;
    height: 2em;
    filter: blur(5px);
    content: "";
    z-index: -1;
    transition: .2s;
  }
  #h-nav > li > a:hover::before {
    width: 100%;
  }
  header #gnavArea {
    margin-right: 70px;
    padding-top: 28px;
    width: 704px;
  }
}
/* GNAV dropdownMenu */
#h-nav > li .dropdown__lists > li > a {
  padding: 20px;
  text-align: left;
  display: block;
}
#h-nav .dropdown__lists {
  display: none;
  width: 160px;
  position: relative;
}
#h-nav .dropdown__list {
  display: block;
  padding: 0;
  width: 100%;
  height: auto;
  text-align: center;
  transition: .2s;
}
@media (max-width: 1080px) {
  #h-nav > li {
    position: relative;
  }
  #h-nav .dropdown__lists {
    width: 100%;
  }
  #h-nav .ac-btn.open + .dropdown__lists {
    width: auto;
    padding-bottom: 10px;
    border-bottom: solid 1px var(--light01);
  }
  #h-nav > li .dropdown__lists > li > .ttl_menu01 {
    padding: 10px 0 5px 1em;
  }
  #h-nav > li .dropdown__lists > li > .ttl_menu02 {
    padding: 5px 0 5px 1.5em;
    font-size: 1.3rem;
    font-weight: 400;
  }
  #h-nav > li .dropdown__lists > li > .ttl_menu02.indent1 {
    margin-left: 1.5em;
  }
}
body.siteBody.open #h-nav > li.js-dd.open > .dropdown__lists {
  display: block;
  position: relative;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: solid 1px var(--light01);
  background: transparent;
}
@media (min-width: 1081px) {
  #h-nav .dropdown__lists {
    background: #fff;
  }
  body.siteBody:not(.open) #h-nav > li:hover .dropdown__lists {
    padding: 10px 5px;
    display: block;
    height: auto;
    position: absolute;
    top: 95%;
    left: 0;
    right: 30%;
  }
  #h-nav > li .dropdown__lists > li > a {
    padding: 6px 10px;
    font-size: 1.3rem;
  }
  #h-nav > li .dropdown__lists > li > .indent1 {
    margin-left: 1em;
  }
  #h-nav > li .dropdown__lists > li > .ttl_menu01 {
    font-size: 1.6rem;
    font-weight: 500;
  }
  #h-nav > li .dropdown__lists > li > .ttl_menu01 span {
    font-weight: bold;
    padding-bottom: 5px;
    width: 100%;
    border-bottom: solid 1px var(--light);
    display: block;
  }
  .siteBody.open #h-nav > li .dropdown__lists > li > .ttl_menu01 span {
    border: none;
  }
}
/*SP Gloval Nav
@media (max-width: 1080px) { */
/* 三ボタン */
header #gnav_btn > div > span:nth-of-type(1) {
  top: 0;
}
header #gnav_btn > div > span:nth-of-type(2) {
  top: calc(50% - 1px);
}
header #gnav_btn > div > span:nth-of-type(3) {
  width: 50%;
  bottom: 0;
}
.open header #gnav_btn > div > span:nth-of-type(1) {
  transform: translateY(9px) rotate(45deg);
}
.open header #gnav_btn > div > span:nth-of-type(2) {
  opacity: 0;
}
.open header #gnav_btn > div > span:nth-of-type(3) {
  width: 100%;
  transform: translateY(-11px) rotate(-45deg);
}
header .pc_only {
  display: none;
}
header {
  top: 0;
  left: 0;
  z-index: 9;
}
html.bk_fixed {
  /*背景固定
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;*/
}
html.bk_fixed header::after {
  background: var(--main);
}
header #gnav .d_sp {
  display: block;
}
header #gnav_btn {
  right: 25px;
  top: 15px;
  padding: 0;
  margin: 0;
  border: 0;
  background-color: transparent;
  position: absolute;
  z-index: 9999;
  cursor: pointer;}
@media (min-width: 768px) {
  header #gnav_btn {right: 35px;}
}
body.open #gnav_btn {
  top: 10px;
  background-color: var(--main);
  border: solid 1px #fff;
  padding: 20px 10px;
  z-index: 99999;}
body.open {
  /*背景固定*/
  overflow: hidden;
  /*position: fixed;*/
}
/*  .open header #gnav_btn {
    position: fixed;
  }*/
header #gnav_btn > div {
  width: 46px;
  height: 20px;
  position: relative;
}
header #gnav_btn > div::after {
  width: 5em;
  height: 15px;
  left: 9px;
  top: 30px;
  position: absolute;
  display: block;
  z-index: -1;
  content: 'Menu';
  font-size: 11px;
}
body.open header .h_logotype {
  filter: brightness(0) invert(1);
}
body.open header #gnav_btn > div::after {
  content: none;
}
header #gnav_btn > div > span {
  background: var(--main);
  width: 100%;
  height: 1px;
  left: 0;
  display: block;
  position: absolute;
  transition: .5s;
}
body.open header #gnav_btn > div > span {
  background: #fff;
}
header #gnav {
  text-align: center;
  background-color: #fff;
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1999;
  visibility: hidden;
  opacity: 0;
  transition: .2s;
}
body.open #gnav {
  visibility: visible;
  opacity: 1;
}
header #gnav > nav {
  text-align: left;
  width: 85%;
  margin-top: 3rem;
  margin-bottom: 2rem;
  overflow: auto;
  /*スクロール時メニュー固定*/
}
header #gnav > nav::-webkit-scrollbar {
  display: none;
}
header .gnav_menu {
  height: 100%;
  display: none;
  font-family: var(--font-go);
}
body.open header .gnav_menu {
  display: block;
  font-family: var(--font-min);
}
header .gmenu._sp.h_btn .hbtn {
  font-size: 12px!important;
  width: 100%;
  line-height: 1;
}
@media (min-width: 1081px) {
  header #gnav_btn {
    right: 45px;
    top: 25px;
  }
  header .gnav_menu {
    font-size: 1.4rem;
    padding-top: 25px;
    display: inline-flex;
    width: 100%;
  }
  /*
  body.open header li.gmenu._sp,
  header .gnav_menu .gmenu._pc {
    display: none;
  }
*/
  header .gmenu._sp.h_btn .hbtn {
    font-size: 1.3rem;
  }
  body.open header .gnav_menu .gmenu._pc {
    display: flex;
  }
  body:not(.open) header .gmenu._m {
    display: none;
  }
  body:not(.open) header .gmenu._sp.h_btn {
    width: 494px;
    height: 30px;
    position: absolute;
    right: 0;
    top: 0;
  }
  header .gmenu._sp.h_btn .hbtn {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  body.open header .gmenu._sp.h_btn .hbtn {
    display: block;
  }
  header .gmenu._sp.h_btn .hbtn a {
    font-size: 13px!important;
  }
}
@media (min-width: 1300px) {
  header #gnav_btn {
    right: 55px;
  }
}
@media (min-width: 1600px) {
  header #gnav_btn {
    right: 4vw;
  }
}

body.open header .gnav_menu {
  max-width: 100%;
  width: 100%;
}
header .fs_btn {
  display: flex;
  align-items: center;
  font-family: var(--font-go);
}
header .fs_btn .ico_04,
header .ico_marker,
header .ico_earth {
  filter: brightness(0) invert(1);
  display: inline-block;
}
header .fs_btn .ico_04 { background: url(../images/ico_aa.svg) no-repeat center / contain;}
header .ico_marker { background: url(../images/ico_marker.svg) no-repeat center / contain;}
header .ico_earth  { background: url(../images/ico_earth.svg) no-repeat center / contain;}
@media (min-width: 1081px) {
  body.open header .fs_btn {
    display: none;
  }
  .font-switcher button,
  .font-switcher button.active {
    border-color: var(--main);
  }
  header .fs_btn .ico_04,
  header .ico_marker,
  header .ico_earth {
    filter: none;
  }
  body.open header .fs_btn .ico_04,
  body.open header .ico_marker,
  body.open header .ico_earth  {
    filter: brightness(0) invert(1);
  }
}
body.open header #h-nav li > a .ic {
  position: relative;
  width: 30px;
  height: 20px;
  display: inline-block;
  z-index: 10000;
}
body.open header #h-nav li > a .ic::before, body.open header #h-nav li > a .ic::after {
  content: '';
  position: absolute;
  background: #fff;
  left: 50%;
  top: 50%;
}
body.open header #h-nav li > a.open .ic::after {
  width: 0;
  height: 0;
}
body.open header #h-nav li > a .ic::before {
  width: 14px;
  height: 2px;
  margin-left: -7px;
  margin-top: -1px;
}
body.open header #h-nav li > a .ic::after {
  width: 2px;
  height: 14px;
  margin-left: -1px;
  margin-top: -7px;
}
body.open header #h-nav li.js-dd.open > a .ic::after {
  width: 0;
}
body.open header #h-nav li > .ac-btn img {
  display: none;
}
body.open header #h-nav > li > a {
  border-bottom: solid 1px var(--light01);
}
body.open header #h-nav li > a {
  padding-right: 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body.open header #h-nav li > a:hover {
  opacity: .7;
}
body.open header .gmenu._sp {
  font-size: 1.8rem;
}
body.open header .h_btn {
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  order: -1;
}
body.open header .h_btn .h_btn_01,
body.open header .h_btn .h_btn_02 {
  display: none;
}

body.open header .gmenu._open {
  font-family: var(--font-go);
  display: flex!important;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 60px;
  margin-top: 20px;}
body.open header .h_btn_01,
body.open header .h_btn_02,
body.open header .h_btn_03 {
  border: none !important;
  margin-top: 10px;
  justify-content: center!important;
}
body.open header .h_btn_01,
body.open header .h_btn_02 {
/*  flex: 0 1 49%;*/
  width: 100%;
  background: var(--sub02);
}
body.open header .h_btn_03 {
  color: #fff;
  background: var(--sub01);
  width: 100%;
}
header .h_btn_03 .ico_03 {
  background: url("../images/ico_note.svg") no-repeat center / contain;
  filter: brightness(0) invert(1);
}
body.open header .gnav_menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  right: 0;
  top: 70px;
  margin: 0 auto;
  padding-top: 10px;
  width: 100%;
  max-width: 638px;
  height: calc(100vh - 72px);
  box-sizing: border-box;

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  /* Firefox */
  scrollbar-width: none;

/*  background: var(--main);*/
  color: #fff;
  z-index: 9999;
}

/* Chrome / Safari / Edge */
body.open header .gnav_menu::-webkit-scrollbar {
  display: none;
}
html.bk_fixed,
body.open {
  overflow: hidden;
}


/*
@media (min-width: 1080px) {
  body.open header .gnav_menu {
    max-height: 560px;
  }
}
*/
body.open::after {
  width: 240px;
  max-width: 100vw;
  height: 100vh;
  top: 0;
  right: 0;
  display: block;
  background: var(--main);
  position: fixed;
  content: '';
  z-index: 8;
}
body.open header .gnav_menu > li > a {
  color: #fff;
}
body.open header .gnav_menu::-webkit-scrollbar {
  display: none;
}
header .gnav_menu a {
  text-decoration: none;
  padding: 15px 0;
  display: block;
  position: relative;
}
body.open header .gnav_menu a {
  color: #fff;
}
header .btn_link a {
  padding-top: 1rem;
}
header .gnav_menu a:hover {
  opacity: 1;
}
header .gnav_menu .trigger a:hover {
  opacity: inherit;
}
header .h_btn_03:hover {
  color: #fff;
}
header .gnav_menu > li > a::after {
  font-size: 1rem;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 1rem;
  top: calc(50% - .5rem);
  speak: none;
}
@media (max-width: 300px) {
  body.open header .nav_top {
    display: none;
  }
}

body.open header .nav_top {
  flex-direction: column;
}
body.open header .gnav_menu {
  width: 240px;
  margin-right: 0;
  padding-top: 30px!important;
  top: 60px;
  padding: 15px;
}
body.open header .gnav_menu a {
  font-size: 1.3rem!important;
}
body.open header .counter {
  margin: 10px 50px 0 0;
}

/*
　2026.08.19　修正
@media (min-width: 1081px) {
  body.open header .gnav_menu {
    flex-direction: row;
    flex-wrap: wrap;
  }
  body.open header .gmenu._sp.h_btn {
    display: none;
  }
  body.open header .gnav_menu li {
    width: 48%;
  }
  body.open header #h-nav li > a {
    padding: 30px 0;
    font-size: 1.6rem;
  }
  body.open header #h-nav .gmenu._sp > a {
    font-size: 2.4rem;
  }
  body.open header #h-nav .gmenu._open > a {
    padding: 15px 0!important;
  }
  body.open header .gmenu._open {
    width: 100%;
  }
  body.open header .gmenu._open {
    row-gap: 8px;
  }
}
*/





.pageTop a {
  opacity: .6;
  position: fixed;
  bottom: 20px;
  right: 15px;
  z-index: 8;
}
.pageTop a:hover {
  opacity: .7;
}
/* google検索 */
.header-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
/* 「検索」ボタン（通常表示） */
.search-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: #222;
  font-size: 13px;
  padding: 0;
  line-height: 1;
}
body.open .search-toggle {
  color: #fff;
}
.search-toggle:hover {
  color: #000;
}
/* 展開する検索フォーム */
.header-search-box {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 3px;
  padding: 3px 6px 3px 8px;
  gap: 4px;
  /* 初期状態：非表示 */
  width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
}
/* 展開状態 */
.header-search-box.open {
  width: 260px;
  height: 55px;
  top: 62px;
  right: -132px;
  opacity: 1;
  pointer-events: auto;
  border: solid 10px var(--main);
}
.header-search-box input[type="search"] {
  border: none;
  outline: none;
  font-size: 13px;
  flex: 1;
  min-width: 0;
  background: transparent;
  color: #222;
}
.header-search-box button[type="submit"] {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  color: #555555;
  flex-shrink: 0;
}
.header-search-box button[type="submit"]:hover {
  color: #222;
}

body.open .header-search-box {
  width: 88%;
  opacity: 1;
  border: none;
  pointer-events: auto;
}
body.open .header-search-wrap {
  margin: 20px 0;
  padding: 15px 10px;
  background: #fff;
}
body.open .search-toggle {
  color: #222;
  pointer-events: none;
  display: none;
}
body.open .search-toggle svg {
  display: none;
}


/* ================
　共通バナー（入試情報 WEB出願）
================ */

.bnr_common {
  width: 100%;
  position: fixed;
  display: flex;
  bottom: 0;
  z-index: 99;
}
body.open .bnr_common {
  display: none;
}
.bnr_common a {
  height: 52px;
  font-size: clamp(1.8rem, 1.933rem + -0.27vw, 1.6rem);
  display: inline-flex;
  justify-content: center;
  color: #fff;
  align-items: center;
}
.bnr_common .f_bnr01 {
  width: 50%;
  background: var(--main);
}
.bnr_common .f_bnr02 {
  width: 50%;
  background: var(--sub01);
  font-feature-settings: 'palt';
}
.bnr_common [class^="ico_"] {
  margin-right: 10px;
}
.bnr_common .kerning {
  letter-spacing: -.1em;
}
.bnr_common .ico_01 {
  background: url("../images/ico_memo.svg") no-repeat center / contain;
  filter: brightness(0) invert(1);
}
.bnr_common .ico_02 {
  background: url("../images/ico_pc.svg") no-repeat center / contain;
  filter: brightness(0) invert(1);
}
footer .footer_copy {
  margin-bottom: 53px;
}
.footer_copy .toppage {
  font-size: 1rem;
  width: 6rem;
  display: block;
  margin: 20px 0 0 auto;
  font-family: var(--font-min);
}
@media (min-width: 768px) {
  .bnr_common {
    width: 74px;
    top: 123px;
    display: block;
    right: 0;
    bottom: inherit;
  }
  .bnr_common [class^="ico_"] {
    margin: 0 0 10px;
  }
  .bnr_common a {
    height: 160px;
    width: 100%!important;
    writing-mode: vertical-rl;
    display: flex;
  }
  .bnr_common span {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .bnr_common .kerning {
    letter-spacing: 0;
    margin: 0;
  }
  footer .footer_copy {
    margin-bottom: 0;
  }
}





/* =================================== 
Footer
 =================================== */
/* トップへ戻る 途中出現footer消失 */
.fade_box {
  opacity: 0;
  transition: opacity .5s ease-in-out;
  position: fixed;
  right: 15px;
  bottom: 55px;
  z-index: 8;
}
.fade_box a {
  transition: .2s;
}

.fade_box a img {
  width: 30px !important;
}
@media (min-width: 768px) {
  .fade_box {
    bottom: 15px;
  }
}
@media (min-width: 900px) {
  .fade_box a img {
    width: 45px !important;
  }
}

footer {
  background-color: var(--light01);
  font-family: var(--font-go);
  padding: 60px 0 0;
  position: relative;
}
footer .footer {
  background: #f4f6f6;
  color: #333;
  font-size: clamp(1.3rem, 3.2vw, 1.5rem);
}
.footer_inner {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
  padding: 0 0 24px;
}
.footer_logo {
  width: min(100%, 280px);
  margin: 0 0 24px;
}
.footer_logo img {
  display: block;
  width: 100%;
  height: auto;
}
.footer_address {
  margin: 0;
  font-style: normal;
  line-height: 1.9;
  color: #555;
}
.footer_sns {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  padding-top: 10px;
}
.footer_sns a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
}
.footer_sns a:hover img {
  filter: invert(8%) sepia(99%) saturate(7044%) hue-rotate(247deg) brightness(70%) contrast(145%);
}
.footer_sns img {
  width: 30px;
  height: auto;
}

.footer_nav {
  margin-top: 40px;
  padding: 0;
  list-style: none;
  position: relative;
}
.footer_nav dl {
  margin-bottom: 20px;
}
.footer_nav .fnav_01 {
  border-bottom: solid 1px var(--light);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.footer_nav dt {
  font-size: 1.4rem;
  font-weight: 600;
  padding-bottom: .5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}
.footer_nav dd {
  line-height: 1.4;
  margin-bottom: 5px;
}
.footer_nav a {
  font-size: 1.3rem;
  line-height: 1.2!important;
  display: inline-block;
}
.footer_nav a:hover {
  opacity: 1;
}


.footer_copy {
  margin: 56px 0 0;
  text-align: center;
  font-size: 13px;
}
.schoollist {
  grid-area: list;
  margin-top: 20px;
  padding-top: 15px;
  border-top: solid 1px #ddd;
}
.schoollist .ttl_02 {
  padding-bottom: 15px;
  color: var(--main);
  text-align: center;
}
.schoollist a {
  display: flex;
  align-items: center;
  padding: 5px 0;
}
.schoollist .logo {
  width: 1.5em;
  height: auto;
  margin-right: 5px;
}
@media (min-width: 500px) {
  .schoollist .linklist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14em, 1fr));
    column-gap: 1em;
  }
}
@media (min-width: 1240px) {
  .schoollist .linklist {
    display: flex;
    justify-content: space-between;
  }
  .schoollist a {
    justify-content: center;
  }
}


@media (min-width: 768px) {
  .footer_inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "info nav-all nav"
      "list list list"
      "copy copy copy";
    align-items: start;
  }
  .footer_nav {
    margin-top: 0;
  }
  .footer_logo {
    width: 364px;
  }
  .footer_info {
    grid-area: info;
    width: 400px;
  }
  .footer_sns {
    margin-top: 0;
  }
  .footer_copy {
    grid-area: copy;
  }
  .footer_nav {
    grid-area: nav;
  }
  .footer_nav-all {
    grid-area: nav-all;
    margin-right: 20px;
  }
}
@media (min-width: 820px) {
  #f-nav {
    width: 192px;
  }
}
@media (min-width: 1000px) {
  .footer_nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
  }
}


/*==========
アコーディオン（文字クリックで＋が−）
==========  */
#f-nav .acc {
  margin-bottom: clamp(1rem, -0.5rem + 2vw, 2rem);
}
#f-nav .acc p {
  font-family: var(--font-go);
}
#f-nav .acc-h,
#f-nav .acc button,
#f-nav .acc .ttl {
  font-size: 1.4rem;
  background: #fff;
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 100%;
  padding: 10px;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}
#f-nav .acc button {
  cursor: default;
  padding-right: 3em;
  color: var(--text);
}
#f-nav .acc-h {
  cursor: pointer!important;
}
#f-nav .acc-h::before,
#f-nav .acc-h::after {
  top: 50%;
  right: 2rem;
  width: 1.2rem;
  height: 0.2rem;
  background: var(--text);
  transform: translateY(-50%);
  content: '';
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* 縦線：+ の縦棒 */
#f-nav .acc-h::after {
  transform: translateY(-50%) rotate(90deg);
}
/* 開いた時は - にする */
#f-nav .acc.open .acc-h::after {
  opacity: 0;
  transform: translateY(-50%) rotate(0deg);
}
#f-nav .acc-b {
  display: none;
  font-size: 1.3rem;
  background: #fff;
}
#f-nav .acc-b a {
  padding: 5px 10px;
  display: block;
}
#f-nav .acc-in {
  margin: clamp(2rem, 0.5rem + 2vw, 3rem) 0 clamp(5rem, 7.25rem + -3vw, 3.5rem);
}


