@charset "utf-8";

/*===============================================
 max-width: 900px
 ===============================================*/
@media only screen and (max-width: 900px) {

  /*===============================================
 header(max-width: 900px)
 ===============================================*/
  .front_header {
    width: 100%;
    height: 63px;
    transition: .2s;
    padding-right: 58px;
  }
 .pc-only {
    display: none!important;
    opacity: 0;
  }
  .front_header_container .logo_h a{
    padding-top: 0;
  }
  .front_header_container .logo_h img {
    vertical-align: middle;
    max-width: 365px;
  }
.front_header_container .dropdown .lang-icon::after {
    bottom: 14px;
}
  .front_header_container .dropdown,
	.front_header_container .dropdown .menu,
	.front_header_container .dropdown .sub_menu{
	  width: 55px;
	 }
.front_header_container .dropdown .lang-icon {
    font-size: 1.3rem;
}
.front_header_container .dropdown .bogo-language-switcher li {
    width: 100%;
}
.front_header_container .dropdown .bogo-language-switcher span {
    font-size: 0.65rem;
}
	#header{
		display:block;
	}
.header {
    height: 63px;
    width: 63px;
  }
  .trigger {
    width: 100%;
    bottom: 0;
  }
.trigger_box {
    height: 32px;
    width: 30px;
}


  /*===============================================
  main(max-width: 900px)
  ===============================================*/
  main {
    padding-right: 0px;
  }
	.works_gridbox {
  -ms-grid-columns: (1fr)[2];
  grid-template-columns: repeat(2, 1fr);
}
}

/*===============================================
breakpoint:768
===============================================*/
@media (max-width:767px) {
  .smp-only {
    display: block !important;
    opacity: 1;
  }

  p {
    font-size: .85rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
	word-break: break-word;
  }

  section {
    margin-bottom: 4rem;
  }

  /*--------------------------------------
 * header(max-width: 768px)
 * ---------------------------------------*/
 .front_header_container .newsletter_bnr {
   width: 90px;
 }
 .front_header_container .newsletter_bnr a {
    /* color: #ffffff; */
    /* background: none; */
    padding: 5px;
}
 .front_header_container .newsletter_bnr p {
   font-size: .75rem;
   /* color: #000000; */
   position: relative;
   font-weight: 400;
   letter-spacing: -0.5px;
 }
  .front_header_container .newsletter_bnr p::before {
   /* content: ''; */
   position: absolute;
   left: 49%;
   bottom: -4px;
   display: inline-block;
   width: 48px;
   height: 2px;
   -webkit-transform: translateX(-50%);
   transform: translateX(-50%);
   /* background: linear-gradient(to right, #ffec5d, #ffec5d, #519cca, #79cb53, #f4569d, #ed0026); */
 }
 .front_header_container .newsletter_bnr p span{
   display: none;
 }
  .front_header_container .dropdown {
    width: 70px;
}
.image-crossfader {
    height: 65vh;
}
  /*--------------------------------------
 *nav(max-width: 768px)
 * ---------------------------------------*/
  nav.globalMenu {
    right: 0;
    width: 60vw;
    padding-right: 0;
  }

  nav.globalMenu .globalMenu_container {
    overflow: scroll !important;
  }

  nav.globalMenu .menu-globalmenu>li {
    font-size: .85rem;
  }

  nav.globalMenu .menu-globalmenu .sub-menu li {
    font-size: .8rem;
  }

  /*===============================================
main(max-width: 768px)
===============================================*/
  .main_visual .bg_visual {
    height: 60vh;
  }

  .main_visual_content {
    height: 60vh;
  }

  .main_cover_large .cover-img {
    height: 60vh;
  }

  .main_cover_large .main_cover_content {
    height: 60vh;
  }

  .main_cover_normal .cover-img {
    height: 50vh;
  }


  .main_cover_normal_h .cover-img {
    height: 60vh;
  }

  .main_cover_normal_h .main_cover_content {
    height: 60vh;
  }

  /*===============================================
contents（max-width:768px）
===============================================*/
  .sec-header.text-only {
    padding-top: 5rem;
  }
  .container {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
  }

  .inner-960 {
    width: 100%;
    margin: 0 auto;
  }

  .inner-1040 {
    width: 100%;
    margin: 0 auto;
  }

  .sec-header {
    margin-bottom: 1rem;
  }
.line.sec-header {
    margin-bottom: 1.25rem;
  }
.line.sec-header h2.heading span:before {
	background-size: 20vw!important;
	    height: 15px;
}
  .btn-a-wrap a,
  .btn-b-wrap a{
    width: 60%;
    padding: 10px 10px;
    font-size: 1rem;
    font-weight: 300;
  }
  .btn-c-wrap a {
    width: 80%;
    padding: 10px 10px;
    font-size: 1rem;
  }
  .gridbox3 {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: repeat(1, 1fr);
    margin-top: 1.5rem;
    gap: 1.5rem;
  }

  .gridbox3 .news_flexbox {
    display: flex;
  }

  .gridbox3 .thum {
    padding-top: 30%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover !important;
    width: 80%;
    margin-right: 1rem;
    height: 100%;
    margin-bottom: 0;
  }

  .gridbox3 .inner {
    width: 100%;
  }

  .gridbox3-2 {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1.5rem;
    gap: 1.5rem;
  }
	.gridbox3-2 .text-box p{
		font-size:1rem;
		font-weight:500;
	}
  .works_gridbox .thum {
    background-position: top 15% center !important;
  }

  .works_gridbox .text {
    margin-bottom: 3%;
  }
  .works_gridbox .text-title-l {
    font-size: 1.1rem;
  }

  .works_gridbox .text-title-s {
    padding-bottom: 0 !important;
    font-size: .7rem;
  }

  .gridbox2 .inner-box {
    padding: 0 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .youtube_gridbox .thum {
    /*padding-top: 60%;*/
  }
  .youtube_gridbox .cont .youtube_caption{
    font-size: .65rem;
  }
.youtube_gridbox .youtube_ttl {
    font-size: .85rem;
    line-height: 1.4;
}
  .gridbox1 .thum {
    padding-bottom: 20%;
  }
  .flexbox .img{
    margin-right: 1rem;
	  width:100%;
  }
  .flexbox .list .list_ttl{
    font-size: 1.3rem;
  }

  .text-title {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .text-title_b {
    font-size: .85rem;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .text-title-l {
    font-size: 1.4rem; 
    line-height: 1.4;
    display: block;
    margin: 0;
    padding-bottom: 0;
	
  }

  .text-title-s {
    display: block;
    font-size: 0.7rem;
	 text-align:center;
  }

  .text-remarks p {
    font-size: .75rem;
  }
  .panel-date {
    font-size: .75rem;
}
#lab .inner-box{
	padding-left:1rem;
	padding-right:1rem;
}
  #work .container {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  #mailnews .inner-bg-img {
    max-width: 65%;
    margin: 0 auto 2rem;
  }

  #page-top {
    width: 56px;
    bottom: 0;
    right: 0;
    background: #ffffff;
    padding: 10px;
  }
/*===============================================
item（231225追加）
===============================================*/
#item .ttl {
    font-size: 1.3rem;
}
#item .flexbox .list .ttl {
    font-size: 1.3rem;
}
#item .flexbox .list .list_ttl{
    font-size:1.3rem;
}
#item .flexbox .list .list_cont {
  line-height: 1.8;
  letter-spacing: 0;
}
/*===============================================
creations
===============================================*/
#creations .line.sec-header {
	  margin-top: 5rem!important;
	  margin-bottom: 1rem!important;
}
  /*===============================================
post（max-width:768px）
===============================================*/
  .post_body .thum_container .caption {
    position: absolute;
    bottom: 5px;
    right: 5px;
    color: #ffffff;
    font-size: .65rem;
  }
.caption strong{
  /* display: inline; */
  /* background-color: rgba(232,227,22,.8); */
  font-weight: normal;
}

  .post_body .works_name .text-title-l {
    font-size: 1.5rem;
    margin: 0;
	 display:inline-block;
	 text-align:left;
  }

  .post_body .works_name .text-title-s {
    font-size: .75rem;
    padding: 0;
    display: block;
    text-align: left;
  }

  .post_body .text-title-s {
    letter-spacing: 0.08ex;
    color: #AAAAAA;
    font-size: .85rem;
  }

  .post_body .ttl-h2uline {
    font-size: 1rem;
  }

  .post_body .ttl-h2 {
    font-size: 1rem;
  }

  .post_body .ttl-h3uline {
    font-size: .95rem;
  }

  .post_body .ttl-h3 {
    font-size: .95rem;
  }

  .post_footer .free-box .in {
    padding: 1.5rem 0.75rem;
  }
}
/*===============================================
contact（max-width: 768px)
===============================================*/
#contact p{
	line-height: 1.8!important;
	font-size: .85rem;
}
#contact .question{
  padding-right: 25x;
  font-size: 1em;
  margin-bottom: 2rem;
  padding-left: 30px;
}
#contact .question:after {
  right: 5px;
}
#contact .question:before {
  font-size: 1.5rem;
}
/*===============================================
max-width: 600px
===============================================*/
@media (max-width:600px) {
 .header {
  height: 63px;
  width: 50px;
  background: none;
}
.front_header {
    padding-right: 37px;
  }
.front_header_container {
    padding-left: 0.75rem; 
}
.front_header_container .logo_h img.pc{
display: none;
}
.front_header_container .logo_h img.smp{display: block;width: auto;}
.front_header_container .logo_h img {
  width: auto;
  height: 40px;
}

nav.globalMenu {
  width: 100%;
}

.trigger_box {
  width: 23px;
  height: 33px;
  margin: 15px auto;
}

.trigger_inner i:first-child {
  top: 8px;
}

.trigger_inner i:nth-child(2) {
  top: 12px;
}

.trigger_inner i:nth-child(3) {
  top: 16px;
  animation: equalizer02 5000ms infinite;
  animation-delay: 0.33s;
}

.trigger_inner i:nth-child(4) {
  top: 20px;
  animation: equalizer02 5000ms infinite;
}
.sec-header h2.heading span.font-jp {
    font-size: 1.4rem;
	letter-spacing:0.02ex;
	font-weight:500;
}
.sec-header h2.heading span.en {
font-size: 1.5rem;
}

.sec-header h3.heading span.en {
    font-size: 1.2rem;
}
.flexbox{
    display:block;
}
/*===============================================
item（231225追加）
===============================================*/
#item .ttl {
    margin-top:2rem;
}
#item .flexbox .img {
    width: 70%;
    margin: 0 auto 2rem;
}
#item .flexbox .btn-c-wrap {
    text-align: center;
}
}
/*--------------------------------------
* max-width: 480px
* ---------------------------------------*/
@media (max-width:480px) {
  .front_header_container .logo_h img {
    width: auto;
    height: 35px;
  }
  .front_header_container .dropdown .sub-menu {
    right: 37px;
}
  .btn-a-wrap a,
  .btn-b-wrap a {
    width: 70%;
    padding: 10px 10px;
    font-size: 1rem;
  }
.btn-c-wrap a {
    width: 85%;
    padding: 10px 10px;
    font-size: 1rem;
}
.post_body .img.w60{
	width:100%;
}
#labs .labs_maps .thum div {
    width: 31%;
}
#labs .labs_maps .labs_name {
    line-height: 1.4;
    font-size: 0.7rem;
    padding: 0.25rem;
}
  .gridbox3-2 {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: repeat(1, 1fr);
    margin-top: 3rem;
    gap: 1rem;
  }
.youtube_gridbox {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: repeat(1, 1fr);
}
  .youtube_gridbox .thum {
    /*padding-top: 60%;*/
  }
.gridbox1 .works_top_thum .on_caption {
    font-size: .7rem;
	 letter-spacing:-0.5px;
}
  .flexbox{
    display: block;
  }
  .flexbox .img{
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .works_gridbox li {
     height: 150px;
 }
	.works_gridbox .thum.off {
    background-size: 200px !important;
}
.works_gridbox .inner {
    height: 65px;
}
.works_gridbox h3.heading {
    padding: 0 1rem;
}
  .works_gridbox h3.heading .text-title-l {
      font-size: .75rem;
      letter-spacing: -0.35px;
	   line-height:1.1!important;
  }
  	.works_gridbox h3.heading .text-title-s {
      font-size: .6rem;
		line-height:1.1!important;
  }
  .post_body .img-two {
    display: block;
  }

  .post_body .img-two div {
    width: 100%;
    margin-bottom: 1.5rem;
  }
}