@charset "UTF-8";

.sp1 {
  display: none!important;
}
.sp1_flex {
  display: none;
}
.sp2 {
  display: none!important;
}

@media screen and (max-width:1200px) {
.pc1 {
  display: none!important;
}
.section_title .section_title_en,
section.about_project .section_title_en {
  display: none;
}
.sp1 {
  display: block!important;
}
.sp1_flex {
  display: flex;
}
}
@media screen and (max-width:767.98px) {
.pc2 {
  display: none!important;
}
.sp2 {
  display: block!important;
}
}
@media screen and (max-width:468px) {
.pc3 {
  display: none!important;
}
}
/* ==========================================================================//
//
//　ハンバーガーメニュー
//
// ========================================================================== */
.overlay {
  background-color: #333;
  cursor: pointer;
  height: 100vh;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: opacity .6s, visibility .6s;
  visibility: hidden;
  width: 100vw;
  z-index: 10;
}
.overlay.active {
  opacity: .8;
  visibility: visible;
}
.menu {
  list-style: none;
  position: fixed;
  width: 360px;
  height: 100%;
  top: 0;
  right: 0;
  padding: 90px 32px 36px 40px;
  background: #fff;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  transform: scale(1, 0);
  transform-origin: top right;
  z-index: 98;
  font-weight: bold;
  overflow-y: auto;
}
/* Hamburger menu button */
.menu-btn:checked ~ .menu {
  transform: scale(1, 1);
  transform-origin: top right;
  transition: 0.5s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
/* Hamburger menbu text */
.menu a {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 14px;
  text-transform: capitalize;
  color: #41474D;
  opacity: 0;
  transition: 0.5s;
}
.menu_list li ul {
  padding: 10px 0 24px 20px;
  border-left: solid 2px #D9D9D9;
  margin-left: 8px;
  margin-bottom: 24px;
}
.menu_list li {
  opacity: 0;
  transition: 0.5s;
}
.menu-btn:checked ~ .menu a,
.menu-btn:checked ~ .menu li {
  opacity: 1;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
}
.menu li a {
  display: block;
}
.menu_list > li:last-child {
  border-top: solid 2px #D9D9D9;
  padding-top: 22px;
}
.menu-btn {
  display: none!important;
}
.menu-icon {
  position: fixed;
  top: 20px;
  right: 20px;
  display: inline-block;
  cursor: pointer;
  padding: 24px 13px 24px 13px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  z-index: 999;
  background-color: #fff;
  border-radius: 50%;
}
.navicon {
  background: #990F5E;
  display: block;
  height: 3px;
  width: 26px;
  position: relative;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
.navicon:before,
.navicon:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background: #990F5E;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
.navicon:before {
  top: 9px;
}
.navicon:after {
  bottom: 9px;
}
/* Hamburger Menu Animation Start */
.menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}
.menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}
.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
  top: 0;
}
.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  bottom: 0;
}
.menu-btn:checked ~ .menu-icon .navicon {
  background: rgba(0, 0, 0, 0);
  transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

/*ハンバーガーメニューボタン*/
.btn_hamburger_mypage a {
  display: flex;
  padding-left: 18px;
  align-items: center;
  color: #fff;
  background-color: #990F5E;  
  width: 100%;
  height: 40px;
  font-size: .875em;
  border-radius: 20px;  
  background-image: url(../images/btn_header_login_sp.png);
  background-repeat: no-repeat;
  background-position: right 10px center;
  margin-bottom: 16px;
}


/* ==========================================================================//
//
//  @media
//
// ========================================================================== */

@media screen and (max-width:1200px) {
  .menu_list li a {
    padding: 6px 0;
  }
  .top_login_form.flex_start {
    flex-direction: column;
  }
  .top_login_form.flex_start .flex_between {
    justify-content: flex-start;
  }
  .newmember_outer {
    border-left: none;
    margin-top: 24px;
    margin-left: 0;
    padding-left: 0;
  }
  main.subpage_content section.top_login .newmember_outer {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 24px;
  }
  .about_project_content ul li a {
    padding: 44px 20px 20px;
  }
  section.top_search .section_inner {
    flex-direction: column;
    padding: 24px 16px;
  }
  section.top_search .flex_right {
    border-left: none;
    flex-basis: auto;
    padding-left: 0;
  }
  .sub_search_inner {
    flex-direction: column;
  }
  .sub_search .flex_right {
    flex-basis: auto;
    padding: 16px 0;
    border-left: none;
    width: 100%;
  }
}
@media screen and (max-width: 1050px) {
  body.subpage section.top_search .section_inner {
    flex-direction: column;
  }
  body.subpage section.top_search .section_inner .flex_right {
    flex-basis: 100%;
    border-left: none;
    border-top: solid 1px #B5BABF;
    padding-left: 0;
  }
  .contact_form dl.flex_between {
    flex-direction: column;
  }
  .contact_form dt,
  .contact_form dd {
    padding: 12px 16px;
  }
  .contact_tel_top,
  .contact_tel_bottom {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .member_list dl {
    flex-wrap: wrap;
    padding: 16px 8px;
  }
  .member_list dl dd:first-child {
    flex-basis: 80px;
    margin-right: 0;
  }
  .member_list dl dt {
    flex-basis: calc( 100% - 80px );
    margin-right: 0;
    padding-left: 24px;
  }
  .member_list dl dd:last-child {
    padding-left: 104px;
  }
  .achievement_list {
    flex-direction: column;
  }
  .achievement_list dt {
    width: 100%;
    padding: 16px 0;
    margin-bottom: 16px;
    text-align: center;
    border-radius: 12px 12px 0 0;
  }
  .achievement_list dd.btn_achievement {
    margin: 16px 0;
    border-left: none;
    padding-left: 0;
  }
  .result_list dl dt {
    padding: 16px;  
  }
  .result_list dl dd {
    margin: 8px 16px 20px;
    flex-direction: column;
    align-items: flex-start!important;
  }
  .result_list.conference_list dd .result_list_name {
    margin-right: 0;
  }
  .result_link {
    margin-right: 0;
    margin-inline: auto;
    text-align: center;
  }
  .report_list dl {
    gap: 16px;
    padding: 16px
  }
  .report_list dl dt {
    flex-basis: 100%;
  }
  section.section_notice .report_list dl dt {
    margin-right: 0;
  }
  .report_list dl dd:nth-child(n+4) {
    margin-left: 0;
  }
  .pdf_link_list {
    flex-direction: column;
    gap: 16px;
    padding: 16px 24px;
  }
  .subpage_top_link {
    display: none!important;
  }
  .subpage_top_outer:has(> .subpage_top_link) {
    padding-top: 36px;
  }
  .subpage_top_outer:has(> .subpage_top_link) .subpage_top {
    margin-top: 0;
  }
 .search_term_content,
 .search_term {
    flex-wrap: wrap;
  }
  .search_change {
    margin-left: auto;
  }
  .search_term::before {
    flex-shrink: 0;
  }

}

@media screen and (max-width:767.98px) {
  .header_top {
    width: calc( 95% - 80px );
    margin-left: 5%;
  }
  #mainvisual {
    width: 100%;
    margin-left: 0;
    margin-top: 40px;
  }
  .mainvisual_text {
    left: 50%;
    transform: translateX(-50%);
  }
  .footernavi_sub ul.flex_start {
    flex-wrap: wrap;
  }
  .breadcrumb {
    padding: 16px;
  }
  .breadcrumb ol {
    flex-wrap: wrap;
  }
  .description_content dl dd {
    padding: 16px 0;
  }
  main.subpage_content section.top_login .newmember_outer {
    border-left: none;
  }
  .top_login_form.flex_start .flex_between {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }
  .top_login_form.flex_start .flex_between div,
  .login_btn {
    width: 100%;
    max-width: 100%;
  }
  .top_login_form > div div {
    margin-right: 0;
  }
  .project_icon {
    margin-bottom: 16px;
  }
  .message_thumbnail {
    float: none;
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-right: 0;
  }
  .message_thumbnail img {
    width: 150px;
    height: auto;
  }
  .grant_text {
    width: 100%;
    text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
  }
  .faq_answer {
    padding: 20px 15px 32px;
  }
  .faq_answer::before {
    display: none;
  }
  .step_title + p {
    padding-left: 0;
  }
  .ten_list {
    padding-left: 20px;
    margin-bottom: 32px;
  }
  ul.information_list li {
    padding: 16px 24px;
  }
  .about_project_content ul li a {
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }
}

@media screen and (max-width: 640px) {
  .header_logo .logo {
    width: 100%;
    margin-right: 0;
  }
  .top_login_top,
  .top_login_form {
    gap: 10px;
    flex-direction: column;
  }
  .login_heading {
    margin-right: 0;
  }
  .login_reissue {
    padding-left: 0;
    border-left: none;
  }
  .search_item {
    display: flex;
    width: 100%;
    margin-right: 0;
  }
  section.top_search .section_inner {
    padding: 24px 20px 30px;
  }
  .search_item h3:not(:has(+ .select_wrap)) {
    flex-basis: 100px;
    flex-shrink: 0;
  }
  .search_item.search_item > p {
    flex: 1;
    min-width: 0;
  }.search_item_year {
    flex-direction: column;
    align-items: flex-start;
  }.select_wrap {
    display: flex;
    align-items: center;
  }.search_item_year select {
    min-width: 150px;
  }
  ul.information_list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px 20px 20px;
  }
  .footer_logo .flex_start {
    flex-direction: column;
  }
  .logo_foundation img {
    max-width: 320px;
    width: 90%;
  }
  .ceremony_content .flex_center {
    flex-direction: column;
  }
  .disclosure_list li {
    flex-basis: 100%;
    padding: 16px ;
  }
  .sectioin_title {
    justify-content: center;
  }
  .sectioin_title h2 {
    align-items: center;
    flex-direction: column-reverse;
    gap: 16px;
    text-align: center;
  }
  .sectioin_title h2::before {
    display: none;
  }
}

@media screen and (max-width: 580px) {
  .btn_faq a {
    padding: 48px 20px 20px;
  }
  .btn_faq a::before {
    top: 20px;
  }
  .subpage_top {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  h2.pagetitle {
    padding-left: 20px;
    padding-bottom: 16px;
  }
  .pagetitle_en {
    padding: 10px 0 0 20px;
  }
  .subpage_content {
    margin-top: 24px;
  }
  section {
    padding-bottom: 48px;
  }
  .footer_inner .footernavi_sub ul li {
    flex-basis: 40%;
    margin-bottom: 16px;
    text-align: center;
    border-right: none;
    margin-right: 0;
    padding-right: 0;
  }
  .search_item {
    flex-direction: column;
    margin-bottom: 16px;
  }
  .search_item h3:not(:has(+ .select_wrap)) {
    flex-basis: auto;
  }
  .search_item_name input {
    max-width: 100%;
  }
  .search_item_year select {
    width: 154px;
  }
  .result_number {
    flex-direction: column;
    align-items: flex-start;
  }
  .pagenation > span {
    margin: 0 4px;
    width: 32px!important;
    height: 32px!important;
  }
}
