@charset "UTF-8";
/*==========================
    - 〜479px      ：SP portrait
    - 480px〜599px ：SP landscape
    - 600px〜959px ：tablet
    - 960px〜1279px：small PC
    - 1280px〜     ：large PC
    - 1400px〜     ：largest PC
==========================*/
/* 〜479px：SP portrait
------------------------------ */

#container {
	padding-top: 91px;
	background: #fcfbf7;
	font-size: 15px;
	line-height: 1.8;
	letter-spacing: 0.02em;
}

#wrapper {
  width: 100%;
  height: auto;
  overflow: hidden; }

/* ---------------
    contents nav
----------------*/
#nav-ct .list {
  padding: 28px 0; }
  #nav-ct .list .item {
    width: 100%;
    text-align: center; }
    #nav-ct .list .item:not(:first-child) {
      margin-top: 1.6em; }
    #nav-ct .list .item a {
      display: inline-block;
      position: relative;
      font-size: 15px;
      color: #212121;
      text-decoration: none; }
      #nav-ct .list .item a::before {
        content: "";
        position: absolute;
        width: 0;
        height: 3px;
        bottom: -2px;
        left: 0;
        background-color: #fff100; }
    #nav-ct .list .item.active a::before {
      width: 100%; }

#nav-sd {
  opacity: 0;
  transition: all 0.2s ease, opacity 0.2s ease 1.2s; }
  #nav-sd.loaded {
    opacity: 1; }

/***************************
    general - header
***************************/
#header .menu > p {
  color: #464b81;
}
#header .menu > span:nth-child(2),
#header .menu > span:nth-child(3) {
  background: #464b81;
}
#header .menu.opened > span:nth-child(2),
#header .menu.opened > span:nth-child(3) {
  background: #464b81 !important;
}

/*#header .menu-wrapper {
  padding: 58px 0 0; }*/

#header .menu-wrapper .logo {
  position: absolute;
  z-index: 10000;
  top: 13px;
}

.scroll #header .menu:before {
  background: #fff103;
}
.scroll #header .menu > p {
  color: #464b81;
}
.scroll #header .menu > span:nth-child(2),
.scroll #header .menu > span:nth-child(3) {
  background: #464b81;
}
.scroll #header .menu-wrapper {
    background: #fff; }

/***************************
    general - container
***************************/
#container .hidden-expression {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease; }
  #container .hidden-expression.show {
    opacity: 1;
    transform: translateY(0); }
#container .bg + .hidden-expression {
  transition-delay: 0.4s, 0.4s; }
#container .bg.overlayer.hidden-expression:before, #container .bg.overlayer.hidden-expression:after {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s; }
#container .bg.overlayer.hidden-expression.show:before, #container .bg.overlayer.hidden-expression.show:after {
  opacity: 1;
  transform: translateY(0); }
#container .bg.overlayer.hidden-expression + .hidden-expression {
  transition-delay: 0.8s, 0.8s; }

#title-bar {
  position: relative;
  z-index: 1;
  height: 98px;
  background-position: center top;
  background-repeat: repeat-x;
  background-size: auto 100%; }
  #title-bar + .block {
    margin-top: -19px;
    padding-top: 19px; }
  #title-bar:before {
    content: '';
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fcfbf7;
    transition: height 0.5s ease, top 0.5s ease; }
  #title-bar.loaded:before {
    height: 0;
    top: 100%; }
  #title-bar.loaded h1 {
    margin: 0;
    opacity: 1; }
  #title-bar h1 {
    position: absolute;
    left: 50%;
    top: calc(50% - 10px);
    transform: translate(-50%, -50%);
    margin-top: 30px;
    line-height: 18px;
    font-size: 18px;
    font-weight: bold;
    color: #464b81;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease 0.5s, margin 0.3s ease 0.5s; }
/*
    #title-bar h1:before {
      content: '';
      position: absolute;
      left: -90px;
      top: 50%;
      transform: translateY(-50%);
      width: 68.5px;
      height: 23px;
      background: url(/mathematics/general/img/titlebar_deco_left.png) left top no-repeat;
      background-size: 100%; }
    #title-bar h1:after {
      content: '';
      position: absolute;
      right: -95px;
      top: 50%;
      transform: translateY(-50%);
      width: 74px;
      height: 23px;
      background: url(/mathematics/general/img/titlebar_deco_right.png) left top no-repeat;
      background-size: 100%; }
*/

section.block p.icon {
  max-width: 35px;
  margin: 0 auto 16px; }
section.block ul.icons {
  display: flex;
  justify-content: center;
  margin-bottom: 16px; }
  section.block ul.icons li.icon {
    max-width: 28px;
    margin: 0 8px; }
section.block .icon.spin {
  animation: spin 8s linear infinite; }
section.block h2 {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: 0em;
  text-align: center;
  color: #464b81; }
  section.block h2 > span {
    display: block;
    margin-top: 7px;
    font-size: 10px;
    color: #000; }
section.block h3 {
  margin: 0 0 20px;
  letter-spacing: 0em;
  font-size: 17px;
  color: #464b81;
}

.mask:before {
  content: '';
  width: 100%;
  height: 18.5px;
  position: absolute;
  left: 0;
  z-index: 1;
  top: 0;
  background: url("/mathematics/general/img/block_mask_head_white.png") left top repeat-x;
  background-size: contain; }
.mask:after {
  content: '';
  width: 100%;
  height: 18.5px;
  position: absolute;
  left: 0;
  z-index: 1;
  bottom: 0;
  background: url("/mathematics/general/img/block_mask_foot_white.png") left top repeat-x;
  background-size: contain; }
.mask.cream:before {
  background-image: url("/mathematics/general/img/block_mask_head_cream.png"); }
.mask.cream:after {
  background-image: url("/mathematics/general/img/block_mask_foot_cream.png"); }

@keyframes spin {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }
.btn {
  width: 224px;
  text-align: center;
  margin: 0 auto; }
  .btn.wide {
    width: 83.46666666666667%;
    max-width: 313px; }
  .btn a {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    padding: 0.8em 0;
    background-color: #6bc8f2;
    transition: all 0.2s ease; }
    .btn a:hover {
      background-color: #2f9b2e; }
  .btn.green a {
    color: #fff;
    background-color: #6bc8f2; }
    .btn.green a:hover {
      background-color: #2f9b2e; }
  .btn.white a {
    color: #067a65;
    background-color: #fff; }
    .btn.white a:hover {
      background-color: #eee; }
  .btn a.arrow_right::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    top: 50%;
    right: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    margin-top: 1px; }
  .btn.green a.arrow_right::after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff; }
  .btn.white a.arrow_right::after {
    border-top: 2px solid #067a65;
    border-right: 2px solid #067a65; }

/***************************
    general - footer
***************************/
/* 480px〜599px：SP landscape
------------------------------ */
@media screen and (min-width: 480px) {
  /***************************
      general - header
  ***************************/
  /***************************
      general - container
  ***************************/
  /***************************
      general - footer
  ***************************/ }
/* 600px〜959px：tablet
  ------------------------------ */
@media screen and (min-width: 600px) {
	#container {
		font-size: 16px;
	}
}
/* 960px〜1279px：small PC
------------------------------ */
@media screen and (min-width: 960px) {
	#container {
		font-size: 18px;
	}
  section.block > .inner {
    padding: 100px 0 120px; }
  section.block ul.icons {
    margin-bottom: 2em; }
    section.block ul.icons li.icon {
      max-width: 40px; }
  section.block p.icon {
    max-width: 40px;
    margin-bottom: 16px; }
  section.block h2 {
    margin: 0 0 45px;
    line-height: 52px;
    font-size: 38px; }
    section.block h2 > span {
      font-size: 18px; }
  section.block h3 {
    margin: 0 0 40px;
    line-height: 46px;
    font-size: 26px; }
  section.block .lead {
    text-align: center; }

  .btn {
    width: 358px;
    font-size: 20px; }
    .btn.wide {
      width: 418px;
      max-width: none; }
    .btn a.arrow_right::after, .btn.green a.arrow_right::after {
      width: 10px;
      height: 10px;
      right: 15px;
      border-top: 3px solid #fff;
      border-right: 3px solid #fff; }
    .btn.white a.arrow_right::after {
      width: 10px;
      height: 10px;
      right: 15px;
      border-top: 3px solid #067a65;
      border-right: 3px solid #067a65; }

  /***************************
      general - header
  ***************************/
  /***************************
      general - container
  ***************************/
  #container #title-bar {
    height: 187px; }
    #container #title-bar + .block {
      margin-top: -44px;
      padding-top: 44px; }
    #container #title-bar h1 {
      top: calc(50% - 20px);
      line-height: 40px;
      font-size: 40px; }
      #container #title-bar h1:before {
        left: -240px;
        width: 169px;
        height: 58px; }
      #container #title-bar h1:after {
        right: -250px;
        width: 188px;
        height: 58px; }

  /***************************
      general - footer
  ***************************/ }
/* 1280px〜：large PC
------------------------------ */
@media screen and (min-width: 1280px) {
  /***************************
      general - header
  ***************************/
    #header .menu-wrapper {
    padding: 0 0 15px; }
    #header .menu-wrapper .sns {
      bottom: 32px; }

  .scroll #header .menu-wrapper {
    background: #fff100;
  }

  #header .menu-wrapper .lang {
    bottom: 20px;
  }

  /* ---------------
      contents nav
  ----------------*/
  #nav-ct {
    margin-top: 20px;
    transition: all 0.2s ease; }

  .scroll #nav-ct {
    margin-top: 10px; }

  #nav-ct .list {
    display: flex;
    justify-content: left;
    padding: 0 0 0 228px; }
    #nav-ct .list .item {
      width: auto;
      margin: 0 10px; }
      #nav-ct .list .item:not(:first-child) {
        margin-top: 0; }
      #nav-ct .list .item a {
        font-size: 13px;
        letter-spacing: 0.015em;
        opacity: 1;
        backface-visibility: hidden;
        transition: all 0.2s ease; }

  .scroll #nav-ct .list .item a {
    color: #464b81; }

  #nav-ct .list .item:hover a {
    opacity: 0.6; }
  #nav-ct .list .item a::before {
    transition: all 0.2s ease; }
  #nav-ct .list .item:hover a::before {
    width: 100%; }

  .scroll #nav-ct .list .item a::before {
    background-color: #fff100; }

  /***************************
      general - container
  ***************************/
  /***************************
      general - footer
  ***************************/ }
/* 1400px〜：largest PC
------------------------------ */
@media screen and (min-width: 1400px) {
  /***************************
      general - header
  ***************************/
  /* ---------------
      contents nav
  ----------------*/
  #nav-ct .list .item {
    margin: 0 10px; }
    #nav-ct .list .item a {
      font-size: 14px; } }

/*# sourceMappingURL=base.css.map */



/* START OF UPDATE 20230522 */
@media  (max-width: 960px) {
  .btns-and-menu {
    width: 130px;
  }
  .header-search {
    background: #fff100;
    color: #464b81;
    height: 58px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    width: fit-content;
    text-decoration: none;
    font-size: 12px;
    flex-direction: column;
    justify-content: center;
  }
  .header-search img {
    width: 18px;
    margin-top: 5px;
  }
}
@media (max-width: 960px) {
  #nav-gl {
    margin-top: 58px;
  }
}
/* END OF UPDATE 20230522 */

/* START OF UPDATE 20230721 */
#header .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
}
#header .logo a {
  max-width: 98px;
}
#header .logo .logo-main {
  margin-left: 8px;
  max-width: 98px;
}
/* END OF UPDATE 20230721 */

/* START OF UPDATE 20230725 */
section.block#block-search > .inner {
  width: 100%;
  padding: 25px 0 65px;
}
#block-search > .inner {
  background: #ffe8f8 url("/mathematics//assets/img/bg_sp.png") no-repeat top/100%; 
}
#block-search > .inner.white {
  background: #fff url("/mathematics//assets/img/bg_sp.png") no-repeat top/100%; 
}
#block-search h2.title {
  margin: 0 0 35px;
  font-size: 24px; }
#block-search .lead {
  text-align: center;
  margin-bottom: 3em;
  width: 90.65%;
  margin: 1.8em auto; }
.banner {
  width: 224px;
  text-align: center;
  margin: 0 auto;
}
.banner.a_wide {
  width: 83.46666666666667%;
  max-width: 313px;
}
.btn {
  width: 224px;
  text-align: center;
  margin: 0 auto;
}
.banner .btn {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
  padding: 0.8em 0;
  background-color: #fff100;
  transition: all 0.2s ease;
}
.banner .btn:hover {
  background-color: #b83778;
}
.banner .btn.a_arrow_right::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  top: 50%;
  right: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  margin-top: 1px;
}
.banner.green .btn.a_arrow_right::after {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

@media screen and (min-width: 960px) {
  section.block#block-search > .inner {
    width: 100%;
    padding: 40px 0 120px;
  }
  #block-search > .inner {
    background: #ffe8f8 url("/mathematics//assets/img/bg_pc.png") no-repeat top/100%;
    padding: 40px 0 80px;
  }
  #block-search > .inner.white {
    background: #fff url("/mathematics//assets/img/bg_pc.png") no-repeat top/100%; 
  }
  #block-search .lead {
    width: 100%;
    margin-top: 3.2em;
    margin-bottom: 4em; 
  }
  #block-search h2.title {
    font-size: 48px; }
  .banner.a_wide {
    width: 418px;
    max-width: none;
  }
  .banner .btn.a_arrow_right::after, .banner.green .btn.a_arrow_right::after {
    width: 10px;
    height: 10px;
    right: 15px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
  }
}
/* END OF UPDATE 20230725 */


/* -------------20230919追加------------------ */

.nav-left-box .link-btn .kids-class-link {
	display: block;
}
.nav-left-box .link-btn .kids-class-link::after {
	display: none;
}
.nav-left-box .link-btn {
	text-align: left;
}
@media screen and (max-width: 1200px) {
	.nav-left-box .link-btn {
		text-align: center;
	}
  }
		 /* -------------20231025追加------------------ */
.lynx_link{
	background-color: #88e033;
	color: #fff;
	font-weight: 900;
	font-size: 13px;
	text-decoration: none;
    padding: 0.5em 1em;
    border-radius: 50px;
	border-bottom: solid 3px #6cc913;
	
}
@media screen and (max-width: 1279px) {
	.lynx_link{
		display: none;
		
	}
}
.lynx_link:hover{
	opacity: .6;
}
.nav-left-box .link-btn {
	line-height: 1.5;
}
.head-content-wrap{
	display: none;
}

@media screen and (max-width: 1280px) {
	.head-content-wrap{
		display: grid;
	grid-template-columns: repeat(3,1fr);
	}
}

.head-search-wrap img{
	width: 18px;
    margin-top: 5px;
}
.head_lynx_link {
	display: none;
}
@media screen and (max-width: 1280px) {
#header .head_lynx_link {
display: grid;
background-color: #88e033;
color: #fff;
text-decoration: none;
font-size: 12px;
line-height: 1.5;
text-align: center;
    height: 58px;
    justify-content: center;
    align-items: center;
}
}

.nav-robo-wrap {
	display: none;
}
@media screen and (max-width: 1280px) {
	.nav-robo-wrap {
		display: grid;
		grid-template-columns: 43% 1fr;
	}
	}
.roboclass {
	padding: 2em 2em 2em 1em;
	border-right: 1px solid #bcbcbc;
}
.roboproclass{
	padding: 1em 2em 0 0.5em;
}
@media screen and (max-width: 1280px) {
#nav-ct .list .item.nav-aco-robo-wrap {
	display: none;
}
}
@media screen and (max-width: 1280px) {
	#nav-ct .list .item a.mega-icon.nav-aco-robo{
	display: none;
}
}

@media screen and (min-width: 1280px) {
#nav-ct .list .mega-list::before {
    content: "";
    display: inline-block;
    position: relative;
    top: 3px;
    border-left: 1px solid;
    width: 1px;
    height: 13px;
    padding: 0;
    background: none;
    margin-right: 10px;
}
}
#nav-mega .item .mega-list::before {
	content: "";
    display: inline-block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-right: 2px solid;
    border-bottom: 2px solid;
    transform: translateY(-50%) rotate(-45deg);
	top: 50%;
    right: 14px;
	background-color: #fff;
}

@media screen and (min-width: 1280px) {
	#header {
		height: 60px;
	}
}
@media screen and (min-width: 1280px) {
.lynx_login {
	margin-top: 0.6em;
}
}
@media screen and (min-width: 1280px) {
#header .logo {
	top: 70%;
}
}
@media screen and (min-width: 1280px) {
#nav-ct {
    margin-top: 15px;
}
}
@media screen and (min-width: 1280px) {
#header .menu-wrapper .nav-left-box .list {
display: none;
}
}
@media screen and (min-width: 1400px) {
	header.fixed #nav-ct .list .item #nav-mega-drop {
top: 60px;
	}
}

@media screen and (min-width: 1280px) {
	#header .logo {
		top: 85%;
	}
	}
#header .logo {
	width: 180px;
  }
@media  (max-width: 768px) {
	#header .logo {
	  width: 160px;
	}
	#header .logo a {
		max-width: 95px;
	}
}
  @media (max-width: 1280px) {
	.btns-and-menu {
    width: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
  }
  .header-search {
	display: none;
  }

 
@media  (max-width: 1280px) {
  .btns-and-menu {
    width: 196px;
  }
  .header-search {
    background: #fff100;
    color: #464b81;
    height: 58px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    width: fit-content;
    text-decoration: none;
    font-size: 12px;
    flex-direction: column;
    justify-content: center;
  }
  .header-search img {
    width: 18px;
    margin-top: 5px;
  }
  /* #nav-ct {
	display: none;
  } */
}

@media screen and (min-width: 1280px) {
	.scroll #nav-ct {
    margin-top: 3px;
}
}
@media screen and (min-width: 1280px) {
	#nav-ct {
		margin-top: 0px;
	}
	}
/* @media screen and (min-width: 1280px) {
.nav-left-box .link-btn a::after {
    content: "";
    position: absolute;
    top: 4px;
    width: 12px;
    height: 12px;
    background: url(/assets/img/nav_btn.png)no-repeat;
    background-size: contain;
}
} */
@media screen and (min-width: 1400px) {
	  #nav-ct .list .item a {
		font-size: 14px; }
  }
@media (max-width: 1280px) {
	.sp_none {
		display: none;
	}
}


/* --------20231113追加改修----------- */
@media screen and (min-width: 1400px) {
	#nav-ct .list .item a {
	  font-size: 14px; }
}
@media (max-width: 1280px) {
  .sp_none {
	  display: none;
  }
}

#hum-nav .hum-s-nav a::before {
content: "";
position: absolute;
width: 0;
height: 2px;
bottom: -2px;
left: 0;
background-color: #fff100;
}
#hum-nav .hum-s-nav.active a::before {
width: 100%;
}
#nav-ct .list .item.active a::before {
width: 100%; 
}
@media (min-width: 1280px) {
#nav-ct .list .item.active a::before {
	width: 100%; }
}
@media (min-width: 1279px) {
.head_class_search, .head_lynx_login {
display: none;
}
}
@media (max-width: 1279px) {
#nav-ct {
display: none;
}
}
@media (max-width: 1279px) {
.lynx_login.lynx_hum_none {
display: none;
}
}


/* 20240201追加改修 */

.nav-left-box .link-btn {
    margin-top: 0.6em;
}
@media screen and (min-width: 1280px){
	#header .menu-wrapper .nav-left-box {
		align-items: center;
	}
}
@media screen and (max-width: 1200px){
	.nav-left-box .link-btn {
    padding-top: 1em;
    padding-bottom: 2em;
}
}

/* 20240729 追記 */
#header .logo .logo-main {
	max-width: 45px;
	margin-right: 8px;
}

/* 20241112 追記・改修 */

@media screen and (min-width: 1280px) {
  .contact_button {
    margin-top: 0.6em;
    margin-right: 0.6em;
  }
}

.contact_link{
	background-color: #208eff;
	color: #fff;
	font-weight: 900;
	font-size: 15px;
	text-decoration: none;
  padding: 0.5em 1em;
  border-radius: 50px;
	border-bottom: solid 3px #1a61ab;
	
}
@media screen and (max-width: 1279px) {
	.contact_link{
		display: none;
		
	}
}
.contact_link:hover{
	opacity: .6;
}

@media screen and (max-width: 960px) {
  #header .menu-wrapper {
    padding: 60px 0 0;
  }
}

@media screen and (min-width: 1280px) {
  .sp-contact_button {
      position: absolute;
      width: 173px;
      margin-left: 0px;
      top: 53%;
      left: 40px;
      transform: translateY(-60%);
      z-index: 99999;
      opacity: 1;
      backface-visibility: hidden;
      transition: all 0.2s ease;
  }
}

.sp-contact_button {
  position: absolute;
  z-index: 9999;
  top: 15px;
  right: 49px;
}

.sp-contact_link {
  background-color: #208eff;
	color: #fff;
	font-weight: 900;
	font-size: 15px;
	text-decoration: none;
  padding: 0.5em 1em;
  border-radius: 50px;
	border-bottom: solid 3px #1a61ab;
}
@media screen and (max-width: 320px) {
  .sp-contact_link {
    font-size: 13px;
  }
}

/* 20241127 追記・改修 */

#block-intro .search-classroom,
#container .search-classroom,
#profile .search-classroom,
#title-bar .search-classroom {
  margin-top: 3.2em;
}

#block-intro .search-classroom,
#block-faq .search-classroom {
  margin-top: 3.2em;
  margin-bottom: 3.2em;
}

/* 20250411 追記・改修 */
#header .logo {
  display: grid;
  align-items: center;
  grid-template-columns: 100px 45px 45px;
  width: initial;
  gap: 8px;
}
@media screen and (min-width: 1280px) {
  #header .logo {
      left: 10px;
  }
}

@media (max-width: 768px) {
  #header .logo a {
      max-width: 95px;
  }
}

#header .logo_40img {
  width: 100%;
  margin: 0;
}

#header .logo .logo-main {
  width: 100%;
  max-width: initial;
  margin-right: initial;
  margin-left: initial;
}

@media screen and (min-width: 1280px) {
  #nav-ct .list {
      padding: 0px 0 0 240px;
  }
}
@media screen and (min-width: 1400px) {
  #nav-ct .list .item {
  }
}

@media screen and (min-width: 1280px) {
  #nav-ct .list .mega-list::before {
      margin-right: 6px;
  }
}

@media screen and (min-width: 1280px) {
  #header .menu-wrapper .nav-left-box {
      right: 16px;
  }
}

@media screen and (min-width: 1280px) {
  .contact_button {
      margin-right: 0.3em;
  }
}

.contact_link {
  font-size: 14px;
}

.lynx_link {
  font-size: 14px;
}

@media screen and (min-width: 1280px) {
  .nav-left-box .link-btn {
      margin: 0.6em 0 0 7px;
  }
}

.nav-left-box .link-btn a {
  font-size: 15px;
}

.head_class_search {
  position: absolute;
  top: 100%;
  left: 0;
  width: 50%;
}
@media screen and (min-width: 426px) {
  .head_class_search {
    position: initial;
    top: initial;
    left: initial;
    width: initial;
  }
}
@media screen and (min-width: 1279px) {
  .head_class_search {
      display: none;
  }
}

.header-search {
  height: 33px;
  width: 100%;
  flex-direction: row;
  padding: 0;
}
@media screen and (min-width: 426px) {
.header-search {
  height: 58px;
  flex-direction: column;
  padding: 0 8px;
  width: fit-content;
}
}

.head-search-wrap img {
  width: 18px;
  margin-top: 2px;
  margin-right: 2px;
}
@media screen and (min-width: 426px) {
  .head-search-wrap img {
    margin-top: 5px;
    margin-right: initial;
  }
}

.head_lynx_login {
  position: absolute;
  top: 100%;
  right: 0;
  width: 50%;
}
@media screen and (min-width: 426px) {
  .head_lynx_login {
    position: initial;
    top: initial;
    left: initial;
    width: initial;
  }
}
@media screen and (min-width: 1279px) {
  .head_lynx_login {
      display: none;
  }
}

#header .head_lynx_link {
  height: 33px;
}
@media screen and (min-width: 426px) {
#header .head_lynx_link {
  height: 58px;
}
}

.head_lynx_link br {
display: none;
}
@media screen and (min-width: 426px) {
.head_lynx_link br {
  display: block;
}
}

#header .logo.sp {
  width: 150px;
}

#header .menu-wrapper .logo {
  top: 16px;
}


@media screen and (min-width: 426px) {
  #container {
    padding-top: 58px;
  }
}

#header .menu.opened + .menu-wrapper .logo.sp {
	width: inherit;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
#header .menu.opened + .menu-wrapper .logo.sp a {
	width: 30vw;
	max-width: 130px;
}
#header .menu.opened + .menu-wrapper .logo.sp .logo-main {
	width: 20vw;
	max-width: 120px;
}
@media screen and (max-width: 479px) {
	#header .menu.opened + .menu-wrapper .logo.sp a {
		width: 22vw;
		max-width: inherit;
	}
	#header .menu.opened + .menu-wrapper .logo.sp .logo-main {
		width: 18vw;
		max-width: inherit;
	}	
}