@charset "utf-8";

/*
  File Name   : layout.css
  Description : 各ブロックのレイアウト
*/

/*
============================================================ */
/* BASE
============================================================ */
/*** structure ***/
body {
  color: var(--font-color);
  /* font-family: "游ゴシック", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif; */
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}
/* sp body */
@media screen and (max-width: 811px) {
  body {
    font-size: 13px;
    line-height: 1.6;
  }
}
body > div:first-child,
body > article,
body > footer,
body > header,
body > main {
  box-sizing: border-box;
  width: 100%;
  min-width: 320px;
}

/* IE */
@media all and (-ms-high-contrast: none) {
  body {
    overflow-x: hidden;
  }
}

/*** hypertext ***/
a:link {
  outline: none;
  color: var(--link-color);
  text-decoration: none;
}
a:hover,
a:active {
  text-decoration: underline;
}
a:visited {
  color: var(--link-color);
}
a img {
  border: none;
}
img {
  max-width: 100%;
  height: auto;
}

/*** pc-only / sp-only ***/
@media screen and (min-width: 812px) {
  .sp-only {
    display: none !important;
  }
}
@media screen and (max-width: 811px) {
  .pc-only {
    display: none !important;
  }
  .is-tablet :hover {
    opacity: 1 !important;
    color: inherit !important;
  }
}

/* on click main fixed
------------------------------------------------------------ */
.js-main-is-fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}

/* sp sp-link
------------------------------------------------------------ */
.sp-link:hover {
  text-decoration: none;
  cursor: text;
}

/* sp js-overlay
------------------------------------------------------------ */
.js-overlay {
  display: none;
  position: fixed;
  z-index: 1;
  /* top: 0; */
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  background: #fff;
}

/*
============================================================ */
/* header
============================================================ */
#lay-header {
  z-index: 2;
  width: 100%;
  height: 100px;
  background-color: #fff;
}
#lay-header .lay-header-inner {
  position: relative;
}
#lay-header .lay-head-logo {
  display: inline-flex;
  position: relative;
  top: 10px;
  left: 30px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  font-size: 16px;
  line-height: 1;
}
#lay-header.-otasuke .lay-head-logo {
  top: 20px;
}
#lay-header .lay-head-logo .subtitle {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  color: var(--font-color);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2.2px;
}
#lay-header .lay-head-logo img {
  width: 320px;
  height: auto;
}
#lay-header.-otasuke .lay-head-logo img {
  width: 220px;
}
#lay-header .lay-head-logo .school {
  display: inline-block;
  margin: -10px 0 0 20px;
  padding: 7px 14px 5px;
  border: 1px solid var(--border-color);
  border-radius: 35px;
  background: #f4f4f4;
  color: var(--font-color);
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1;
  text-align: center;
}
@media screen and (max-width: 1150px) {
  #lay-header .lay-head-logo {
    top: 11px;
  }
  #lay-header .lay-head-logo .subtitle {
    margin-bottom: 10px;
    font-size: 10px;
  }
  #lay-header .lay-head-logo img {
    width: 260px;
  }
  #lay-header .lay-head-logo .school {
    margin: -6px 0 0 15px;
    padding: 4px 11px 3px;
    font-size: 17px;
  }
}
@media screen and (max-width: 880px) {
  #lay-header .lay-head-logo {
    top: 16px;
  }
  #lay-header .lay-head-logo .subtitle {
    margin-bottom: 5px;
  }
  #lay-header .lay-head-logo img {
    width: 210px;
  }
  #lay-header .lay-head-logo .school {
    margin: -4px 0 0 10px;
    padding: 3px 11px 2px;
    font-size: 14px;
  }
}

/* sp header
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  #lay-header {
    position: fixed;
    height: 60px;
  }
  #lay-header .lay-head-logo {
    top: 5px;
    left: 20px;
  }
  #lay-header.-otasuke .lay-head-logo {
    top: 10px;
  }
  #lay-header .lay-head-logo img {
    width: 210px;
  }
  #lay-header.-otasuke .lay-head-logo img {
    width: 160px;
  }
}
@media screen and (max-width: 481px) {
  #lay-header .lay-head-logo {
    top: 6px;
  }
  #lay-header .lay-head-logo img {
    width: 170px;
  }
  #lay-header .lay-head-logo .school {
    margin: -5px 0 0 8px;
    padding: 4px 8px 3px;
    font-size: 10px;
  }
}

/*
============================================================ */
/* lay-head-login-wrap
============================================================ */
.lay-head-login-wrap {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
}

/* link-block */
.lay-head-login-wrap .link-block {
  margin-right: 10px;
  padding-top: 4px;
}
.lay-head-login-wrap .link-block ul {
  display: flex;
}
.lay-head-login-wrap .link-block li {
  position: relative;
  box-sizing: border-box;
  padding-right: 20px;
}
.lay-head-login-wrap .link-block li:first-child {
  margin-right: 20px;
}
.lay-head-login-wrap .link-block li::after {
  content: "";
  position: absolute;
  top: calc(50% + 3px);
  right: -20px;
  width: 1px;
  height: 15px;
  margin: 0 20px;
  transform: translateY(-50%);
  background-color: var(--link-color);
}
.lay-head-login-wrap .link-block li:last-child::after {
  display: none;
}
.lay-head-login-wrap .link-block li a {
  color: var(--link-color);
  font-size: 13px;
  line-height: 1;
  text-decoration: underline;
}
.lay-head-login-wrap .link-block li a:hover {
  text-decoration: none;
}

/* user-name-block */
.lay-head-login-wrap .user-name-block {
  margin-right: 30px;
  padding-top: 10px;
}
.lay-head-login-wrap .user-name-block .name {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.8;
}
.lay-head-login-wrap .user-name-block .name::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 14px;
  height: 14px;
  background: url(../img/common/icon-member-bl.png) 0 0 no-repeat;
  background-size: 14px auto;
}

/* login-btn-block */
.lay-head-login-wrap .login-btn-block button,
.lay-head-login-wrap .login-btn-block a {
  display: block;
  box-sizing: border-box;
  min-width: 140px;
  padding: 13px 0;
  transition: all 0.2s ease-in-out;
  border-radius: 0 0 0 6px;
  background-color: var(--base-color);
  color: var(--button-color);
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
}
.lay-head-login-wrap .login-btn-block button.login,
.lay-head-login-wrap .login-btn-block a.login {
  background-color: var(--base-color);
}
.lay-head-login-wrap .login-btn-block button.logout,
.lay-head-login-wrap .login-btn-block a.logout {
  background-color: #5c564c;
  color: #fff;
}
.lay-head-login-wrap .login-btn-block button:hover,
.lay-head-login-wrap .login-btn-block a:hover {
  opacity: 0.7;
  text-decoration: none;
}
.lay-head-login-wrap .login-btn-block button span,
.lay-head-login-wrap .login-btn-block a span {
  position: relative;
  padding-left: 25px;
  white-space: normal;
}
.lay-head-login-wrap .login-btn-block button span::before,
.lay-head-login-wrap .login-btn-block a span::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 14px;
  height: 13px;
  background: url(../img/common/icon-login-wh.png) 0 0 no-repeat;
  background-size: 14px 13px;
}
.lay-head-login-wrap .login-btn-block button.logout span::before,
.lay-head-login-wrap .login-btn-block a.logout span::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 14px;
  height: 13px;
  background: url(../img/common/icon-logout-wh.png) 0 0 no-repeat;
  background-size: 14px 13px;
}

/* sp lay-head-login-wrap
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
}

/*
============================================================ */
/* global nav
============================================================ */
.lay-global-nav {
}
.lay-global-nav {
  position: absolute;
  top: 60px;
  right: 20px;
}
.lay-global-nav > ul {
  width: auto;
}
.lay-global-nav li {
  width: auto;
  margin-left: 30px;
}
.lay-global-nav li a {
  display: block;
  transition: all 0.2s ease-in-out;
  color: var(--font-color);
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
}
#links .lay-global-nav li.links a,
#manual .lay-global-nav li.manual a,
#mypage .lay-global-nav li.mypage a,
#service .lay-global-nav li.service a,
#guide .lay-global-nav li.guide a,
.lay-global-nav li a:hover {
  color: var(--font-color4);
  text-decoration: none;
}
@media screen and (max-width: 1150px) {
  .lay-global-nav li {
    margin-left: 15px;
  }
}
@media screen and (max-width: 1000px) {
  .lay-global-nav {
    top: 64px;
  }
  .lay-global-nav li a {
    font-size: 14px;
  }
}
@media screen and (max-width: 940px) {
  .lay-global-nav li {
    margin-left: 10px;
  }
  .lay-global-nav li a {
    font-size: 13px;
  }
}

/* sp global nav
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  /* btn */
  .lay-menuicon-btn {
    position: absolute;
    z-index: 5;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-color: var(--base-color);
  }
  .lay-menuicon-btn-inner {
    position: relative;
    top: 50%;
    left: 50%;
    width: 25px;
    height: 14px;
    transform: translate(-50%, -50%);
  }
  .lay-menuicon-btn,
  .lay-menuicon-btn-inner span {
    display: inline-block;
    box-sizing: border-box;
    transition: all 0.4s;
  }
  .lay-menuicon-btn-inner span {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    transform: translateX(-50%);
    border-radius: 0;
    background-color: var(--button-color);
  }
  .lay-menuicon-btn-inner span:nth-of-type(1) {
    top: 0;
  }
  .lay-menuicon-btn-inner span:nth-of-type(2) {
    top: 6px;
  }
  .lay-menuicon-btn-inner span:nth-of-type(3) {
    bottom: 0;
  }
  .lay-menuicon-btn.active span:nth-of-type(1) {
    transform: translateY(6px) translateX(-50%) rotate(-45deg);
  }
  .lay-menuicon-btn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .lay-menuicon-btn.active span:nth-of-type(3) {
    transform: translateY(-6px) translateX(-50%) rotate(45deg);
  }
  /* body */
  .lay-global-nav > ul {
    display: block;
    width: 100%;
  }
  .lay-global-nav-wrap {
    display: none;
    position: relative;
    z-index: 1;
    top: 40px;
    box-sizing: border-box;
    height: calc(100vh - 60px);
    padding: 0 20px;
    padding-bottom: 80px;
    overflow-y: scroll;
  }
  .lay-global-nav-wrap > * {
    position: static;
  }
  .lay-global-nav ul li {
    display: block;
    margin-bottom: 10px;
    margin-left: 0;
  }
  .lay-global-nav ul li a {
    display: block;
    box-sizing: border-box;
    padding: 15px 15px;
    border: solid 1px #eee;
    border-radius: 6px;
    background: url(../img/info/icon-arrow-right-bk.png) no-repeat right 15px center;
    background-color: #f4f4f4;
    background-size: 15px auto;
    font-size: 14px;
  }
  #links .lay-global-nav ul li.links a,
  #manual .lay-global-nav ul li.manual a,
  #mypage .lay-global-nav ul li.mypage a,
  #service .lay-global-nav ul li.service a,
  #guide .lay-global-nav ul li.guide a,
  .lay-global-nav ul li a:hover {
    background-image: url(../img/info/icon-arrow-right-bl.png);
    /* color: #fff; */
  }
  .lay-global-nav-wrap .link-block {
    display: none;
  }
  .lay-global-nav-wrap .lay-head-login-wrap {
    display: block;
  }
  .lay-global-nav-wrap .lay-head-login-wrap > * {
    margin-bottom: 15px;
  }
  .lay-head-login-wrap .login-btn-block button,
  .lay-head-login-wrap .login-btn-block a {
    padding: 20px;
    border-radius: 6px;
  }
}

/*
============================================================ */
/* breadcrumbs
============================================================ */
.lay-breadcrumbs-list {
  background-color: #fff;
}
.lay-breadcrumbs-list .inner {
  box-sizing: border-box;
  max-width: calc(1100px + 80px);
  margin: 0 auto;
  padding: 20px 40px;
}
#top .lay-breadcrumbs-list {
  display: none;
}
.lay-breadcrumbs-list li {
  position: relative;
  margin-right: 40px;
}
.lay-breadcrumbs-list li::after {
  content: "";
  display: block;
  position: absolute;
  top: 12px;
  right: -20px;
  width: 4px;
  height: 9px;
  background: url(../img/common/icon-breadcrumbs.png) 0 0 no-repeat;
  background-size: 4px auto;
}
.lay-breadcrumbs-list li:last-child::after {
  display: none;
}
.lay-breadcrumbs-list li a {
  color: var(--link-color);
  text-decoration: underline;
}
.lay-breadcrumbs-list li a:hover {
  text-decoration: none;
}

/* sp breadcrumbs
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  .lay-breadcrumbs-list .inner {
    max-width: 100%;
    padding: 10px 20px;
  }
  .lay-breadcrumbs-list li {
    position: relative;
    margin-right: 20px;
  }
  .lay-breadcrumbs-list li::after {
    top: 6px;
    right: -13px;
  }
  .lay-breadcrumbs-list li a:hover {
    text-decoration: underline;
  }
}

/*
============================================================ */
/* container
============================================================ */
#lay-container {
  width: 100%;
  padding: 0 0 0;
  background-color: #f9f9f6;
  text-align: left;
}
#top #lay-container {
  padding: 0 0 0;
}

/* sp container
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  #lay-container {
    padding: 60px 0 0;
  }
}

/*
============================================================ */
/* main
============================================================ */
#lay-main {
  width: 100%;
  margin: 0 auto;
  padding: 70px 0 100px;
}
#top #lay-main {
  padding: 110px 0 0;
}

/* sp main
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  #lay-main {
    padding: 40px 0 40px;
  }
  #top #lay-main {
    padding: 60px 0 0;
  }
}

/*
============================================================ */
/* page-top
============================================================ */
.lay-page-top-wrap {
  display: block;
  position: fixed;
  z-index: 2;
  right: 40px;
  bottom: 120px;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  transition: all 0.2s ease-in-out;
}
.lay-page-top-wrap a {
  display: block;
  box-sizing: border-box;
  width: 80px;
  height: 80px;
  padding-top: 20px;
  overflow: hidden;
  border-radius: 50%;
  background: url(../img/common/page-top.png) no-repeat center center #fff;
  background-size: 20px 19px;
  box-shadow: 0 0 16px -6px rgba(0, 0, 0, 0.4);
  text-align: center;
  text-indent: -9999px;
}
.lay-page-top-wrap:hover {
  opacity: 0.7;
}

/* sp page-top
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  .lay-page-top-wrap {
    display: block;
    position: fixed;
    z-index: 2;
    right: 10px;
    bottom: 40px;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    transition: all 0.2s ease-in-out;
  }
  .lay-page-top-wrap a {
    display: block;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    padding-top: 5px;
    border-radius: 50%;
    background-size: 10px 10px;
    box-shadow: 0 0 16px -6px rgba(0, 0, 0, 0.4);
    text-align: center;
  }
  .lay-page-top-wrap:hover {
    opacity: 0.7;
  }
}

/*
============================================================ */
/* footer
============================================================ */
#lay-footer {
  position: relative;
  width: 100%;
  background-color: #fff;
}
#lay-footer .lay-footer-inner {
  display: flex;
  position: relative;
  box-sizing: border-box;
  align-items: stretch;
  max-width: calc(1100px + 80px);
  height: auto;
  margin: 0 auto;
  padding: 40px 40px;
}

/* lay-footer-info */
.lay-footer-info {
  margin-left: auto;
}
.lay-footer-info .lay-footer-logo {
  width: 200px;
}
.lay-footer-info .lay-footer-logo a {
  display: block;
  padding: 20px 35px;
  transition: all 0.2s ease-in-out;
  border: solid 1px var(--border-color);
  border-radius: 6px;
  background-color: #fff;
  text-align: center;
}
.lay-footer-info .lay-footer-logo a:hover {
  opacity: 0.7;
}
#lay-footer .lay-footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
#lay-footer.-otasuke .lay-footer-nav {
  justify-content: flex-end;
}
#lay-footer .lay-footer-nav ul,
#lay-footer .lay-footer-nav .sub-nav {
  width: 100%;
}
#lay-footer .lay-footer-nav li {
  position: relative;
  width: auto;
}
#lay-footer .lay-footer-nav li:first-child a {
  padding-left: 0;
}
#lay-footer .lay-footer-nav li::before,
#lay-footer .lay-footer-nav li:last-child::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 15px;
  transform: translateY(-50%);
  background-color: var(--link-color);
}
#lay-footer .lay-footer-nav li:first-child::before,
#lay-footer .lay-footer-nav li:last-child::after {
  display: none;
}
#lay-footer .lay-footer-nav li a {
  display: block;
  box-sizing: border-box;
  padding: 5px 20px;
  color: var(--link-color);
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: underline;
}
#lay-footer .lay-footer-nav ul {
  width: 100%;
}
#lay-footer .lay-footer-nav li a {
  display: block;
  box-sizing: border-box;
  padding: 5px 20px;
  font-size: 16px;
  font-weight: normal;
}
#lay-footer .lay-footer-nav li a:hover {
  text-decoration: none;
}
#lay-footer .lay-copy-right {
  margin-top: 20px;
  font-size: 10px;
  line-height: 1;
}

/* sp footer
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  #lay-footer .lay-footer-inner {
    display: block;
    max-width: 100%;
    padding: 40px 10px;
  }

  /* lay-footer-info */
  .lay-footer-info {
    width: 200px;
    margin: 20px auto;
    margin-left: 0;
    text-align: center;
  }
  #lay-footer.-otasuke .lay-footer-info {
    margin-top: 0;
  }
  .lay-footer-info .lay-footer-logo {
    width: 200px;
  }
  .lay-footer-info .lay-footer-logo a {
    transition: none;
  }
  .lay-footer-info .lay-footer-logo a:hover {
    opacity: 1;
  }
  #lay-footer .lay-footer-nav li:first-child a {
    padding-left: 20px;
  }
  #lay-footer .lay-footer-nav li::before,
  #lay-footer .lay-footer-nav li:last-child::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 15px;
    transform: translateY(-50%);
    background-color: var(--base-color);
  }
  #lay-footer .lay-footer-nav li::before,
  #lay-footer .lay-footer-nav li::after {
    display: none;
  }
  #lay-footer .lay-footer-nav li {
    display: block;
    border-bottom: solid 1px var(--base-color);
  }
  #lay-footer .lay-footer-nav li:first-child {
    border-top: solid 1px var(--base-color);
  }
  #lay-footer .lay-footer-nav li a {
    position: relative;
    box-sizing: border-box;
    padding: 10px 0;
    padding-left: 20px;
    font-size: 13px;
    font-weight: normal;
    text-decoration: none;
  }
  #lay-footer .lay-footer-nav li a::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50px;
    background-color: var(--base-color);
  }
  #lay-footer .lay-footer-nav li a:hover {
    text-decoration: none;
  }
  #lay-footer .lay-copy-right {
    margin-top: 0;
    padding: 10px 0;
    background-color: var(--base-color);
    color: var(--button-color);
    font-size: 10px;
    line-height: 1;
    text-align: center;
  }
}
