@charset "UTF-8";

@media screen and (max-width: 767px) {

  /*==================================================
    common
  ==================================================*/
  body {
    font-size: 16px;
    overflow-x: hidden;
  }

  .c_wrap {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0 20px;
  }
  .c_wrap_inner {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0 20px;
  }
  main {
    padding-top: 70px;
  }


  /*==================================================
    header
  ==================================================*/
  .l_header {
    padding: 13px 15px 14px;
    border-top-width: 5px;
  }

  .l_logo_and_btn {
    align-items: center;
    margin-bottom: 0;
  }

  .c_logo_header {
    width: 145px;
  }

  .c_logo_header img {
    display: block;
    width: 100%;
    height: auto;
  }


  /*==================================================
    hamburger
  ==================================================*/
  .c_menu_btn {
    display: block;
    position: fixed;
    top: 10px;
    right: 15px;
    z-index: 1200;

    width: 55px;
    height: 55px;

    padding: 0;
    border: 0;
    border-radius: 5px;

    background: #333;

    cursor: pointer;
  }

  .c_menu_btn span {
    position: absolute;
    left: 13px;

    width: 29px;
    height: 2px;

    background: #fff;

    transition:
      top .3s ease,
      transform .3s ease,
      opacity .3s ease;
  }

  .c_menu_btn span:nth-child(1) {
    top: 17px;
  }

  .c_menu_btn span:nth-child(2) {
    top: 26px;
  }

  .c_menu_btn span:nth-child(3) {
    top: 35px;
  }


  /*----------------------------------------------
    メニューOPEN
  ---------------------------------------------*/
  .l_header.is_open .c_menu_btn span:nth-child(1) {
    top: 26px;
    transform: rotate(45deg);
  }

  .l_header.is_open .c_menu_btn span:nth-child(2) {
    opacity: 0;
  }

  .l_header.is_open .c_menu_btn span:nth-child(3) {
    top: 26px;
    transform: rotate(-45deg);
  }


  /*==================================================
    overlay
  ==================================================*/
  .c_menu_overlay {
    visibility: hidden;
    opacity: 0;

    position: fixed;
    inset: 0;

    z-index: 1000;

    background: rgba(0, 0, 0, .5);

    cursor: pointer;
    pointer-events: none;

    transition:
      opacity .3s ease,
      visibility 0s linear .3s;
  }

  .l_header.is_open .c_menu_overlay {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;

    transition:
      opacity .3s ease,
      visibility 0s;
  }


  /*==================================================
    navigation
  ==================================================*/
  .l_header nav {
    position: fixed;
    top: 0;
    right: 0;

    z-index: 1100;

    width: calc(100% - 105px);
    max-width: 400px;

    height: 100vh;
    height: 100dvh;

    padding: 95px 0 217px;

    box-sizing: border-box;

    overflow-y: auto;
    overscroll-behavior: contain;

    background: #fff;

    transform: translateX(100%);

    transition: transform .3s ease;
  }

  .l_header.is_open nav {
    transform: translateX(0);
  }


  /*----------------------------------------------
    nav
  ---------------------------------------------*/
  .l_nav {
    display: block;

    margin: 0;

    box-shadow: none;

    font-size: 20px;

    gap: 0;
  }

  .c_nav_list {
    display: block;
    position: static;

    padding: 0;
  }

  .c_nav_list > span {
    display: block;
    position: relative;

    padding: 17px 20px;

    border-bottom: 1px solid #ccc;

    color: #333;

    font-weight: bold;

    cursor: pointer;
  }

  .c_nav_list > span > a {
    display: block;
    color: #333;
  }

  .c_nav_list.is_open > span {
    color: #107c5c;
  }


  /*
    PC用hoverカラーがスマホに残るのを防止
  */
  .c_nav_list span:hover,
  .c_nav_list a:hover {
    color: inherit;
  }


  /*==================================================
    child navigation
  ==================================================*/
  .c_nav_child {
    /*
      PC側のdisplay:flexを解除
    */
    display: none;

    position: static;

    width: 100%;

    padding: 0;

    gap: 0;

    background: transparent;

    box-shadow: none;

    z-index: auto;


    /*
      PC側で追加された
      opacity / visibility / transform をリセット
    */
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: none;

    transition: none;
  }


  /*
    PCのhover / focus-withinをSPでは無効
  */
  .c_nav_list:hover > .c_nav_child,
  .c_nav_list:focus-within > .c_nav_child {
    display: none;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: none;
  }


  /*
    JSでis_openが付いた時だけ表示
  */
  .c_nav_list.is_open > .c_nav_child,
  .c_nav_list.is_open:hover > .c_nav_child,
  .c_nav_list.is_open:focus-within > .c_nav_child {
    display: block;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: none;
  }


  /*
    PC用メガメニュータイトル
  */
  .c_nav_child_title {
    display: none;
  }


  /*----------------------------------------------
    child ul
  ---------------------------------------------*/
  .c_nav_child > ul {
    width: 100%;

    margin: 0 0 15px;

    background: #f2f2f2;
  }


  /*----------------------------------------------
    child li
  ---------------------------------------------*/
  .c_nav_child > ul > li {
    border-bottom: 1px dotted #808080;
  }

  .c_nav_child > ul > li:first-child {
    border-top: 2px solid #107c5c;
  }


  /*----------------------------------------------
    child link
  ---------------------------------------------*/
  .c_nav_child ul > li > a {
    display: block;
    position: relative;

    margin-bottom: 0;

    padding: 14px 40px 14px 20px;

    color: #333;

    font-size: 16px;
    font-weight: normal;
  }


  /*----------------------------------------------
    child arrow
  ---------------------------------------------*/
  .c_nav_child ul > li > a::after {
    top: 50%;
    right: 20px;

    margin-left: 0;

    translate: none;
    transform: translateY(-50%);
  }
  
  
  /*----------------------------------------------
    .is_scroll
  ---------------------------------------------*/
  .is_scroll {
		width: 100%;
    overflow-x: scroll;
  }
  .is_scroll .c_table_type01 {
    word-break: normal;
  }


  /*==================================================
    JAPANESE / REGISTRATION
  ==================================================*/
  .l_btn_header_box {
    display: flex;

    position: fixed;

    right: 0;
    bottom: 0;

    z-index: 1150;

    /*
      navと完全に同じ幅
    */
    width: calc(100% - 105px);
    max-width: 400px;

    padding: 20px 28px;

    box-sizing: border-box;

    flex-direction: column;
    gap: 15px;

    background: #fff;

    /*
      navと同じ移動距離
    */
    transform: translateX(100%);

    pointer-events: none;

    transition: transform .3s ease;
  }


  .l_header.is_open .l_btn_header_box {
    transform: translateX(0);

    pointer-events: auto;
  }

  .c_btn_header {
    width: 100%;

    margin: 0;
  }

  .c_btn_header a {
    display: block;

    width: 100%;

    padding: 17px 10px;

    box-sizing: border-box;

    border-radius: 6px;

    font-size: 20px;
  }


  /*
    SPではhover反転を固定
  */
  .c_btn_header.is_black a:hover {
    color: #fff;
    background: #333;
  }

  .c_btn_header.is_green a:hover {
    color: #fff;
    background: #006C3A;
  }


  /*==================================================
    MV
  ==================================================*/
  .l_mv {
    position: relative;

    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;

    /*
      PC側のpadding-topを解除。
      header分は main { padding-top: 70px; } で確保済み。
    */
    padding-top: 0;

    overflow: hidden;
    background: #e5e5e5;
  }
  
  .l_mv_inner {
    padding: 0 20px 0;
  }


  /*----------------------------------------------
    slick slider
  ---------------------------------------------*/
  .l_mv_slider {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    /* PC側の可変幅指定をSPでは解除 */
    max-width: none;
    margin: 0;
    aspect-ratio: auto;
  }

  .l_mv_slider .slick-list,
  .l_mv_slider .slick-track,
  .l_mv_slider .slick-slide,
  .l_mv_slider .slick-slide > div {
    height: 100%;
  }

  .l_mv_slider .is_mv_slide {
    width: 100%;
    height: 100%;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }


  /*----------------------------------------------
    MV contents
  ---------------------------------------------*/
  .l_mv .is_mv_content {
    position: absolute;

    top: 0;
    left: 0;

    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    aspect-ratio: auto;

    padding: 4% 7%;
    box-sizing: border-box;

    transform: none;
    pointer-events: none;
  }

  .l_mv .is_mv_logo {
    position: static;

    display: block;

    width: 58%;
    max-width: none;
    height: auto;

    margin: 0 auto 5%;

    translate: none;
    transform: none;
  }

  .l_mv .is_mv_data {
    position: static;

    display: block;

    width: 66%;
    max-width: none;
    height: auto;

    margin: 0 auto;

    translate: none;
    transform: none;
  }


  /*==================================================
    title
  ==================================================*/
  .c_ttl_type02 {
    margin-bottom: 25px;

    font-size: 28px;
    line-height: 1.35;
  }

  .c_ttl_type02.is_ttl_border {
    padding-bottom: 8px;
  }

  .c_ttl_type02.is_ttl_line {
    padding-left: 12px;

    border-left-width: 4px;
  }

  .c_ttl_type03 {
    margin-bottom: 15px;

    font-size: 20px;
    line-height: 1.5;
  }

  .c_ttl_type03.is_ttl_partner {
    margin-bottom: 10px;

    font-size: 24px;
  }
  
  .c_ttl_inner {
    padding: 50px 0;
    font-size: 32px;
  }


  /*==================================================
    about
  ==================================================*/
  .l_about {
    padding: 50px 0;
  }

  .l_about p {
    font-size: 16px;
    line-height: 1.8;
  }


  /*==================================================
    news
  ==================================================*/
  .l_news {
    padding: 50px 0;
  }

  .l_news_wrap {
    display: block;
    margin-bottom: 50px;
  }


  /*----------------------------------------------
    main news
  ---------------------------------------------*/
  .l_news_main {
    margin: 0 0 30px;
    width: auto;
  }

  .l_news_main > a {
    display: block;
  }

  .l_news_main .is_news_img img {
    display: block;

    width: 100%;
    height: auto;
  }

  .l_news_main .is_news_date {
    margin-top: 15px;

    padding: 0 20px;

    font-size: 16px;
  }

  .l_news_main .is_news_txt {
    margin-bottom: 0;

    padding: 0 20px 20px;

    font-size: 20px;
  }


  /*----------------------------------------------
    news list
  ---------------------------------------------*/
  .l_news_list > ul > li {
    margin-bottom: 0;

    padding: 15px 0;
  }

  .l_news_list > ul > li > a {
    display: block;
  }

  .l_news_list .is_news_date {
    margin: 0 0 7px;
  }

  .l_news_list .is_news_txt {
    margin-bottom: 0;

    line-height: 1.7;
  }


  /*----------------------------------------------
    View all
  ---------------------------------------------*/
  .c_btn_type01.is_btn_news {
    margin-top: 25px;

    text-align: center;
  }

  .c_btn_type01 a {
    max-width: none;

    padding: 16px 20px;
  }


  /*==================================================
    history
  ==================================================*/
  .l_history {
    padding: 50px 0;
  }

  .l_history_list {
    margin-left: 7px;

    padding-left: 22px;
  }

  .l_history_list > li::before {
    top: 10px;
    left: -30px;

    width: 14px;
    height: 14px;
  }

  .l_history_list .c_ttl_type03 {
    margin-bottom: 12px;

    font-size: 22px;
  }

  .l_history_list .is_history_box {
    margin-bottom: 25px;

    padding: 16px 18px;
  }

  .l_history_list .is_history_box p {
    line-height: 1.7;
  }


  /*==================================================
    partners
  ==================================================*/
  .l_partners {
    padding: 50px 0;
  }

  .l_partners_list > li {
    margin-bottom: 40px;
  }

  .l_partners_list .is_partner_box {
    display: block;
  }

  .l_partners_list .is_partner_box img {
    display: block;

    width: 100%;
    max-width: none;

    height: auto;

    margin: 0 0 20px;
  }

  .l_partners_list .is_partner_box p {
    line-height: 1.8;
  }


  /*==================================================
    footer
  ==================================================*/
  .l_footer {
    padding-top: 50px;
  }


  /*----------------------------------------------
    Cooperation
  ---------------------------------------------*/
  .c_ttl_bnr {
    font-size: 16px;
  }

  .l_bnr_list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

    margin-bottom: 35px;
  }

  .l_bnr_list img {
    width: 100%;
    max-width: none;
  }


  /*----------------------------------------------
    address
  ---------------------------------------------*/
  .l_address {
    margin-bottom: 35px;
  }

  .l_address p {
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  .c_ttl_address {
    margin-bottom: 10px;
    font-size: 22px!important;
  }


  /*----------------------------------------------
    SNS
  ---------------------------------------------*/
  .l_sns_list {
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 35px;
  }

  .l_sns_list img {
    width: 42px;
  }


  /*----------------------------------------------
    copyright
  ---------------------------------------------*/
  .l_copyright {
    padding: 8px 10px;

    font-size: 11px;
  }


  /*==================================================
    pagetop
  ==================================================*/
  .l_pagetop,
  .l_pagetop.attached {
    position: fixed;

    right: 15px;
    bottom: 20px;

    width: 52px;

    z-index: 900;
  }
  
  .c_useful_info_list li {
    flex-direction: column;
  }

}