@import url("https://use.typekit.net/tlr3urx.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Noto+Sans+JP:wght@100..900&display=swap');
@charset "UTF-8";


/* header.css ヘッダー用 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
   --font-size-base: 1rem;
   --basic-color: #001c40;
   --btn-color: #C41E3A;
   --black-color: #252525;
   --pink-color: #cc1464;
   --bg-color: #eff4f8;
   --company-gradient: linear-gradient(45deg,rgba(0, 28, 64, 1) 0%, rgba(1, 60, 121, 1) 50%, rgba(0, 104, 170, 1) 100%);
   --school-gradient: linear-gradient(45deg,rgba(79, 0, 140, 1) 0%, rgba(90, 33, 182, 1) 50%, rgba(139, 92, 223, 1) 100%);
   --parent-gradient: linear-gradient(45deg,rgba(33, 0, 140, 1) 0%, rgba(28, 39, 253, 1) 50%, rgba(7, 97, 255, 1) 100%);
   --teacher-gradient: linear-gradient(45deg,rgba(32, 51, 64, 1) 0%, rgba(40, 75, 87, 1) 50%, rgba(28, 121, 170, 1) 100%);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    color: #252525;
    font-size: var(--font-size-base);
}
button {
        background-color: transparent;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
        appearance: none;
}
img {
    height: auto;
    max-width: 100%;
}
p {
    line-height: 1.6;
}
.fontsize,
.fontsize_change .easyweb  {
    display: none;
}
.fontsize_change .easyweb {
    float: none;
    z-index: 1000;
    position: relative;
}

header {
    position: relative;
    background: #f5f5f5;
    border-bottom: 1px solid;

}
.header-wrap {
    display: flex;
    align-items: center;
    max-width: calc(100vw - 150px);
    gap: 2em;
    height: 90px;
}
.header-wrap h1 {
    font-size: 1.2rem;
    flex: 1;
    padding-left: 2em;
    letter-spacing: 0.08em;
}
.header-wrap h1 a {
    text-decoration: none;
    color: var(--black-color);
}
.pc-tool {
    display: flex;
    align-items: center;
    gap: 2em;
}

.cms-public .font-btn button {
    padding: 0 0.5em;
    background-color: transparent;
    outline: none;
    border: 1px solid var(--basic-color);
    border-radius: 5px;
    cursor: pointer;
}
.cms-public .tool-browser a {
    color: var(--black-color);
}
.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 130px;
    height: 36px;
    background-color: var(--btn-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    overflow: hidden;
    transition: background-color 0.3s ease;
    border: 1px solid;
}

.contact-text {
    position: absolute;
    opacity: 1;
    transform: translateX(0);
    display: flex;
    align-items: center;
    gap: 0.3em;
}
.contact-text:after {
    content: url("/man/file/html/1023244.svg");
    display: block;
    width: 32px;
    height: 32px;
    opacity: 1;
    transform: translateX(100px);  
    position: absolute; 
}

.contact-link:hover .contact-text {
    animation: fly 2.5s linear infinite;
}
@keyframes fly {
  0% {
    transform: translateX(-100px); /* 左から出てくる */
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateX(130px); /* 右へ飛び去る */
    opacity: 0;
  }
}

.contact-link:hover {
    background-color: #fff;
    color: var(--btn-color);
    border: 1px solid;
}

.tool-wrap {
    display: flex;
    gap: 1.5em;
}
.tool-font {
    display: flex;
}
.font-btn {
    margin-left: 0.8em;
}
.cms-public .tool-browser a {
    color: #0000EE;
}
.menu-button {
    position: fixed;
    top: 0;
    right: 0;
    cursor: pointer;
    background: #001c40;
    width: 110px;
    height: 90px;
    display: block;
    z-index: 300;
    border-radius: 0;
    transition: 
      width 0.4s ease,
      height 0.4s ease,
      border-radius 0.4s ease,
      top 0.4s ease,
      right 0.4s ease;
}
.menu-button span {
    display: block;
    height: 3px;
    width: 35%;
    background-color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transition: transform 0.3s, top 0.3s;
    margin: 0 auto;
    border-radius: 10px;
}
.menu-button span:nth-of-type(1) {
    top:30px;	
}
.menu-button span:nth-of-type(2) {
    top: 54px;
}
.menu-button.btn-open span {
    top: 50%;
    transform: translateY(-50%);
}
.menu-button.btn-open span:nth-of-type(1) {
    transform: translateY(-50%) rotate(45deg);
}
.menu-button.btn-open span:nth-of-type(2) {
    transform: translateY(-50%) rotate(-45deg);
}
.menu-button.circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  top: 20px;
  right: 20px;
}
.menu-button.circle span:nth-of-type(1) {
    top: 23px;
}
.menu-button.circle span:nth-of-type(2) {
    top: 43px;
}
.menu-button.circle.btn-open span:nth-of-type(1) {
    top: 32px;
}
.menu-button.circle.btn-open span:nth-of-type(2) {
    top: 33px;
}

/*overlay*/
.overlay-wrap.panelactive {
    position: fixed;
    z-index: 200;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: #001c40;
}
#overlay {
    display: none;
    -webkit-overflow-scrolling: touch;
    /*position: fixed;
    z-index: 200; 
    width: 100%;
    height: 100%;
    overflow: auto;
    background: #001c40;*/
}
.overlay-wrap.panelactive #overlay {
     display: block; 
}
.overlay-wrap ul {
    opacity: 0;
}
.overlay-wrap.panelactive nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5em 2em;
    z-index: 400;
    position: relative;
}
.overlay-wrap.panelactive ul {
    opacity: 1;
    list-style: none;
    font-size: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3em 4em;
    letter-spacing: 0.05em;
    justify-content: center;
}
.overlay-wrap.panelactive ul li {
    animation-name:gnaviAnime;
    animation-duration:1s;
    animation-delay:.3s;/*0.2 秒遅らせて出現*/
    animation-fill-mode:forwards;
    opacity:0;
    width: calc(93% / 2);
    border-bottom: 1px solid #fff;
}
@keyframes gnaviAnime{
  0% {
     opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
-webkit-@keyframes gnaviAnime{
  0% {
     opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
html.unscrollable {
    overflow: hidden;
    width: 100%;
}
.overlay-wrap.panelactive ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 1em;
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}
.overlay-wrap.panelactive ul li a:after {
    display: block;
    transition: opacity 0.3s ease-in-out;  
}
.overlay-wrap.panelactive ul li a:after {
    content: url("/man/file/html/1023511.svg");
    width: 25px;
    height: 24px;
    margin-left: auto;
}
.overlay-wrap.panelactive ul li a:hover:after {
    content: url("/man/file/html/1023512.svg");
    width: 31px;
    height: 26px;
}
.overlay-wrap.panelactive ul li a:hover {
    transform: scale(1.05) translateY(-3px);
}

.overlay-wrap.panelactive ul li.contact-btn {
    border-bottom: none; 
}
.overlay-wrap.panelactive ul li.contact-btn a {
    background-color: var(--btn-color);
    border-radius: 35px;
}
.copy-warp {
    position: fixed;
    bottom: 0;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}
.copy-warp h2 {
    font-family: "helvetica-neue-lt-pro", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #0a264a;
    font-size: 11rem;
    white-space: nowrap;
    animation: flowText 40s linear infinite;
    display: inline-block;
    line-height: 1;
}
@keyframes flowText {
  0% {
    transform: translateX(0); 
  }
  100% {
    transform: translateX(-50%); 
  }
}






/*--------------------------
   SP   
-----------------------------*/
.dev-sp .header-wrap {
    max-width: 80%;
    height: 65px;
}
.dev-sp .header-wrap h1 {
    font-size: 1rem;
    padding-left: 1em;
}
.dev-sp .pc-tool {
    display: none;
}
.dev-sp .overlay-wrap.panelactive ul {
    gap: 1em;
    font-size: 1.1rem;
}
.dev-sp .overlay-wrap.panelactive ul li {
    width: 100%;
}
.dev-sp .menu-button {
   width: 65px;
   height: 65px;
}
.dev-sp .menu-button span:nth-of-type(1) {
    top: 23px;
}
.dev-sp .menu-button span:nth-of-type(2) {
    top: 41px;
}
.dev-sp .menu-button.btn-open span:nth-of-type(1) {
    top: 26px;
}
.dev-sp .menu-button.btn-open span:nth-of-type(2) {
    top: 26px;
}
.dev-sp .menu-button.circle {
    width: 55px;
    height: 55px;
    top: 8px;
    right: 8px;
}
.dev-sp .menu-button.circle span:nth-of-type(1) {
    top: 19px;
}
.dev-sp .menu-button.circle span:nth-of-type(2) {
    top: 35px;
}

.dev-sp .menu-button.circle.btn-open span:nth-of-type(1),
.dev-sp .menu-button.circle.btn-open span:nth-of-type(2) {
    top: 31px;
}
.dev-sp .overlay-wrap.panelactive nav { 
    padding: 3em 1em;
}
.dev-sp .area5 {
   padding-bottom: 1em;
}


@media screen and (max-width:834px) {
.pc-tool {
    display: none;
}
.header-wrap h1 {
    padding-left: 1em;
}
.overlay-wrap.panelactive ul li {
    width: 100%;
}
}


@media screen and (max-width:768px) {
.overlay-wrap.panelactive ul li {
    width: calc(90% / 2);
}
}


