@charset "utf-8";

/* ============================================
SP
============================================ */
@media only screen and (max-width:640px) {
  .u_pc {
    display: none !important;
  }

  .c_inner {
    width: 100%;
    height: auto;
    padding: 0 20px;
  }

  /* =================== header =================== */
  #header {
    min-width: 320px;
    background: #fff;
  }

  #header .logo {
    width: 220px;
    margin: 12px 10px 0;
  }

  #header.scroll .logo {
    width: 220px;
  }

  #header .icon_navi {
    margin: 10px;
  }

  #header .icon_navi p {
    width: 44px;
    height: 44px;
  }

  #header .button .menu_line:nth-child(1) {
    top: 7px;
  }

  #header .button .menu_line:nth-child(2) {
    top: 20px;
  }

  #header .button .menu_line:nth-child(3) {
    bottom: 7px;
  }
  #header.img_w{
    display: none;
  }
  #header .img_b {
    opacity: 1;
  }
  #header .button .menu_line {
    border: 2px solid #000;
}

  /* =================== grobal_navi =================== */
  #global_navi {
    right: -100%;
    width: 100%;
    overflow-y: hidden;
    box-sizing: border-box;
    padding:0 20px;
  }

  #global_navi.open {
    right: 0;
  }

  #global_navi .list_navi {
    padding: 0;
  }

  #global_navi li.parent {
    font-size: 18px;
    margin-bottom: 0;
    padding: 0;
    border-bottom: 1px solid #626262;
  }

  #global_navi li.parent:after,
  #global_navi li.parent:before {
    display: none;
  }

  #global_navi li.parent a {
    line-height: 1.4;
    display: block;
    padding: 20px;
  }

  #global_navi li .children {
    display: none;
  }

  /* =================== footer =================== */
  #footer .pagetop {
    width: 70px;
    bottom: 10px;
    right: 10px;
  }

  .footer_navi {
    min-height: 0;
    padding-top: 0;
  }

  .footer_navi .c_inner {
    padding: 0;
  }

  .footer_navi .list_navi {
    margin: 0 auto;
    border-top: 1px solid #aaa;
  }

  .footer_navi li.parent {
    float: none;
    margin: 0;
    border-bottom: 1px solid #aaa;
  }

  .footer_navi li.parent span a {
    display: block;
    padding: 20px;
  }

  .footer_navi li .children li {
    margin: 0;
    float: none;
    display: inline-block;
  }

  .footer_navi li .children li a {
    display: inline-block;
    padding: 0 20px 20px;
  }

  .footer_info .logo {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 30px;
    float: none;
  }

  .footer_info .copy {
    padding: 0 0 60px;
    float: none;
    text-align: center;
  }

  /* ============================================
cmn_parts
============================================ */
  /* bread */
  #bread {
    display: none;
  }

  /* c_hl */
  .c_hl01 .hl_txt img {
    /*	width:80%;*/
    width: 200px;
    max-width: 420px;
  }

  .c_hl02 {
    font-size: 22px;
    padding-bottom: 10px;
    margin: 0 -20px 10px;
  }
  .c_hl02:before{
    left: 14px;
  }
  .c_hl02:after{
    left: 20px;
  }

  .c_hl02 .hl_txt {
    padding: 5px 15px 10px 40px;
  }
  
  .c_hl05{  
  font-size:28px;
  margin-bottom: 30px;
  padding: 1.2rem 1rem;
}

  /* page_title */
  .page_visual {
    margin-top:64px;
    margin-bottom: 40px;
  }
  .page_visual,
  .page_visual_abs,
  .page_visual_abs img {
    height: 200px;
  }

  .bg_company_child .page_visual {
  }
  .bg_company_child .page_visual,
  .bg_company_child .page_visual_abs,
  .bg_company_child .page_visual_abs img {
    height: 320px;
  }


  .page_visual404 {
    margin-bottom: 40px;
    height: auto;
    padding: 10px 0 0;
  }


  .bg_company_child .page_title {
    top: 80%;
  }

  .page_title_txt img {
    width: 100%;
  }

  .bg_how .page_title_txt {
    max-width: 340px;
  }

  .page_title_txt {
    font-size: 30px;
    line-height: 1.6;
  }

  .bg_company_child .page_title_txt img {
    width: 60%;
    margin-left: 20px;
  }

  .bg_company .page_title_txt img {
    width: 90%;
  }

  .bg_company .page_title_txt {
    padding: 15px 0;
    font-size: 28px;
    width: 94%;
    max-width: 380px;
  }

  .c_pd {
    padding-left: 0px;
    padding-right: 0px;
  }

  .c_anchor {
    margin-top: -70px;
    padding-top: 70px;
  }

  /* ============================================
index
============================================ */
  .top_visual {
    height: auto;
    padding: 89.8% 0 0;
    margin-top: 64px;
  }

  .flexslider .slides .slide_abs,
  .flexslider .slides .slide_abs img {
    height: 89.8%;
  }
  .flexslider .slides .slide_abs,
  .flexslider .slides .slide_abs img {
    width: 100vw;
    max-width: 100%;
  }


  .top_visual .bg_area {
    left: auto;
    margin-left: 0;
  }

  .top_visual .catch {
    position: relative;
    top: 0;
    bottom: auto;
    font-size: 14px;
    padding: 20px 15px;
    background: #000;
  }

  .top_visual .catch .big_text1 {
    font-size: 18px;
  }

  .top_visual .catch .big_text1.sp_margin {
    display: inline-block;
    margin-right: 0.5em;
  }

  .top_visual .catch br {
    display: none;
  }

  .top_visual .scroll_btn {
    width: 55px;
    bottom: -28px;
  }

  .top_visual .flexslider {
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
  }

  #top_banner .c_inner {
    padding: 80px 0 60px;
  }

  .top_visual .flexslider .slides > li {
    background: none !important;
    height: auto;
  }


  #top_banner ul {
    margin-bottom: 10px;
    overflow: hidden;
  }

  #top_banner li {
    float: right;
    width: 48%;
    margin: 0;
  }

  #top_banner li:nth-child(2n+1) {
    float: left;
  }

  #top_news .more {
    width: 280px;
  }
  .top_bnr_wrap{
    margin:50px 15px 0;
    grid-template-columns: 1fr;
    grid-row-gap: 30px;
  }
  .bnr_size_full{
    display: block;
    box-sizing: border-box;
    padding-left:15px;
    padding-right:15px;
  }

  /* ============================================
how
============================================ */
  /* nav */
  #how_nav .p1 {
    font-size: 18px;
  }

  #how_nav .p2 {
    font-size: 26px;
  }

  #how_nav .flow_link li {
    float: none;
    width: 100%;
    height: auto;
  }

  #how_nav .flow_link li .num {
    display: inline-block;
    float: left;
    margin: 2px 0 0;
  }

  #how_nav .flow_link li .num + span {
    display: inline-block;
    vertical-align: middle;
    min-height: 0;
    background: none;
    font-size: 17px;
  }

  #how_nav .flow_link li a:hover .num + span {
    background: none;
  }

  #how_nav .flow_link li:nth-child(n+4) .num + span {
    padding-top: 0;
  }

  #how_nav .flow_link li:nth-child(4) .num + span {
    padding-bottom: 0;
  }

  #how_nav .flow_link li:nth-child(4) a {
    background-position: center -10px;
  }

  #how_nav .flow_link li a {
    padding: 15px !important;
  }

  #how_nav .flow_link li a:hover {
    color: #000;
  }

  #how_nav .flow_link li:nth-child(4) a:before {
    content: none;
  }

  #how_nav .flow_link li:nth-child(odd) a:hover {
    background-color: #fff;
  }

  #how_nav .flow_link li:nth-child(even) a:hover {
    background-color: #eeeeee;
  }

  /* how_flow_box */
  .how_flow_box .bg_w,
  .how_flow_box .bg_g,
  .how_flow_box .bg_y {
    padding: 50px 0;
  }

  .how_flow_box .flow_title {
    margin-left: -20px;
    margin-right: -20px;
  }

  .how_flow_box .pd_box,
  .how_flow_box .main_text {
    padding-left: 0px;
  }

  .how_flow_box .pd_box {
    padding-right: 0;
  }

  .how_flow_box .ps_l {
    margin-bottom: 40px;
  }

  .how_flow_box .ps_l,
  .how_flow_box .ps_r {
    float: none;
    width: 100%;
  }

  #flow_contact {
    padding-top: 70px;
  }

  #flow_contact .p1 {
    line-height: 1.4;
  }
  #flow_contact .p2 {
    font-size:28px;
  }


  #flow04 .opening_title .hl_txt {
    padding: 0 10px;
    font-size: 30px;
  }

  #flow04 .text1,
  #flow04 .text2 {
    text-align: left;
  }

  .how_immigration_box {
    padding: 40px 15px;
    line-height: 1.5;
  }

  .how_immigration_box .inblock {
    display: inline-block;
  }

  .how_immigration_box .hl_imm {
    font-size: 25px;
    margin-bottom: 20px;
  }

  .how_immigration_box .imm_link li + li {
    margin-top: 40px;
  }

  .how_immigration_box .imm_link .imm_text1 {
    float: none;
    width: auto;
    margin-top: 0;
    margin-bottom: 10px;
  }

  .how_immigration_box .imm_link .imm_btn1 a {
    float: none;
  }

  .how_immigration_box .imm_link .imm_btn1 img {
    width: auto;
  }

  /* ============================================
support
============================================ */

  #support_chance .head_chance_supp {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  #support_chance .head_chance_supp .inblock {
    display: inline-block;
  }

  #support_chance .text_chance_supp1 {
    font-size: 16px;
    text-align: left;
  }

  #support_chance .text_chance_supp1 .pc_br {
    display: inline;
  }

  #support_chance,
  .u_box {
    margin-bottom: 70px;
  }
  .support_table table th{
    padding:5px 5px;
  }
  .support_table table th.bg_b{
    width:100px !important;
  }
  .support_table table td{
    width:auto !important;
  }


  .u_box .c_pd {
    margin-top: 30px;
  }

  .u_box .txt_area {
    padding: 0;
  }

  .u_box .ps_l {
    margin-bottom: 40px;
  }

  .u_box .ps_l,
  .u_box .ps_r {
    float: none;
    width: 100%;
  }

  /* trial */
  #trial_about .map_area span {
    display: block;
    padding: 5px 0 10px;
  }

  #trial_about .gallery_area .subimg {
    max-width: 420px;
    margin: 4% auto 0;
  }

  #trial_about .gallery_area .subimg li {
    width: 48%;
    margin: 0 0 4% !important;
  }

  #trial_about .gallery_area .subimg li:nth-child(even) {
    float: right !important;
  }

  #trial_about .gallery_area .subimg li:nth-child(odd) {
    clear: both;
  }

  #trial_about .gallery_area .subimg li:nth-child(4n+1) {
    clear: none;
  }

  #trial_about .gallery_area .subimg img {
    width: 100%;
  }

  /* support */
  .support_table {
    /*	overflow-y:hidden;*/
  }

  .support_table table {
    width: 100%;
    min-width: 0;
  }

  #trial_about .list1 {
    overflow: hidden;
    padding-top: 30px;
    margin-bottom: 0;
  }

  #trial_about .list1 li {
    width: auto;
  }

  #trial_about .list1 li + li {
    margin-top: 10px;
  }

  #trial_about .list1 li:nth-child(odd) {
    float: none;
    clear: none;
  }

  #trial_about .list1 li:nth-child(even) {
    float: none;
  }

  .addtrial_hl_txt1 .in_bg {
    padding: 8px 10px;
  }

  #trial_heso {
    margin-top: 0;
    padding-top: 75px;
    margin-bottom: 0;
  }

  #trial_minde {
    margin-top: 0;
    padding-top: 75px;
    margin-bottom: 0;
  }

  /* ============================================
company
============================================ */
  #company_area .c_inner {
    padding: 0 10px;
  }

  #company_area ul li {
    float: left;
    width: 49%;
    margin-right: 0;
  }

  #company_area ul li:nth-child(odd) {
    clear: both;
  }

  #company_area ul li:nth-child(even) {
    float: right !important;
  }

  #company_area ul li:nth-child(3n) {
    float: left;
  }

  #company_area ul li:nth-child(3n+1) {
    clear: none;
  }

  .company_list li {
    padding: 4px;
  }

  .company_list li a {
    padding: 5px;
    line-height: 1.4;
  }

  .company_list li a:before {
    top: 12px;
  }

  .company_list li a:after {
    bottom: 11px;
  }

  .company_list li:before {
    left: 12px;
  }

  .company_list li:after {
    right: 12px;
  }

  .company_list li .name {
    /*font-size: 14px;*/
  }

  .company_list li .name:before {
    bottom: 1px;
    right: -6px;
    border-style: solid;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    border-bottom: 15px solid #959595;
  }

  .company_list li a:hover .name:before {
    border-bottom: 15px solid #024826;
  }

  /* ============================================
company_detail
============================================ */
  .c_interview .main_box {
    margin-bottom: 20px;
  }

  .c_interview .sub_box {
    text-align: center;
  }

  .c_interview .ps_l,
  .c_interview .ps_r {
    float: none;
    width: 100%;
  }

  .c_about {
    margin: 60px auto;
  }

  .c_about .about_box {
    display: block;
  }

  .c_about .about_box dt,
  .c_about .about_box dd {
    width: 100%;
    display: block;
    padding: 7px 12px;
    text-align: left;
  }

  .c_voice {
    height: 320px;
    margin: 60px 0;
  }

  .page_voice_abs,
  .page_voice_abs img {
    height: 320px;
  }
  .c_voice .c_inner {
    z-index:10;
    
  }
  .c_voice_inner {
    background: none;
    color: #000;
    padding: 0;
    margin-top: 40px;
  }

  .c_voice:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
    background: -moz-linear-gradient(left, #fff, transparent);
    background: -webkit-linear-gradient(left, #fff, transparent);
    background: linear-gradient(to right, #fff, transparent);
  }

  .c_voice.tx_w:after {
    display: none;
  }

  .c_voice .title_txt {
    margin-bottom: 40px;
  }

  .c_voice .title_txt img {
    width: 100%;
  }

  .c_voice .profile .name {
    font-size: 24px;
  }

  .c_voice .profile dt {
    display: block;
    padding: 0 0 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #000;
  }

  .c_voice.tx_w .profile dt {
    border-bottom: 1px solid #fff;
  }

  .c_voice .profile dt:after {
    display: none;
  }

  .c_voice .profile dd {
    display: block;
    padding: 0;
  }

  /* ============================================
contact
============================================ */
  #contact_tel {
    padding-top: 70px;
  }

  #contact_tel .p1 {
    line-height: 1.4;
    margin:30px 0 10px;
  }
  #contact_tel .p2 {
    font-size:28px;
  }

  .form_area input[type="text"],
  .form_area input[type="email"],
  .form_area .size_s input[type="button"],
  .form_area textarea,
  .form_area select,
  .form_area .submit input {
    font-size: 20px;
  }

  .form_area dl {
    display: block;
    width: 100%;
  }

  .form_area dt,
  .form_area dd {
    display: block;
    width: 100%;
  }

  /* ============================================
news
============================================ */
  /* archive */
  .article_list {
    grid-template-columns: 1fr;
    grid-row-gap: 10px;
  }

  .category-list {
    justify-content: center;
    margin: 30px 0 50px;
  }

  .category-list li {
    margin: 0 10px 15px;
  }

  /* detail */

  .article_detail .category {
    width: 70%;
  }

  .article_detail .day {
    width: 30%;
  }


  /* ふるさと納税 */
  .kigyou_furusato_catch .p1 {
    font-size: 26px;
  }

  .kigyou_furusato_furusato .textcenter {
    max-width: 400px;
    margin: 0 auto;
  }

  .kigyou_furusato_furusato .attention {
    grid-template-columns: 1fr;
  }

  .kigyou_furusato_furusato .attention_txt {
    padding-left: 0;
    border-left: none;
    padding-top: 25px;
    border-top: 2px solid #B1B2B2;
  }

  .kigyou_furusato_merit .merit {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kigyou_furusato_merit .merit_icon {
    width: 100px;
  }

  .kigyou_furusato_donation .content {
    grid-template-columns: repeat(2, 1fr);
  }

  .kigyou_furusato_donation .content_item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kigyou_furusato_donation .content_item:nth-child(1) {
    grid-column: auto;
  }

  .kigyou_furusato_donation .content_item:nth-child(2) {
    grid-column: auto;
  }

  .kigyou_furusato_donation .content_item:nth-child(3) {
    grid-column: auto;
  }

  .kigyou_furusato_donation .content_item:nth-child(4) {
    grid-column: auto;
  }

  .kigyou_furusato_donation .content_item:nth-child(5) {
    grid-column: auto;
  }

  .kigyou_furusato_donation .content_item:nth-child(6) {
    grid-column: auto;
  }

  .kigyou_furusato_donation .content_item:nth-child(7) {
    grid-column: auto;
  }

  .kigyou_furusato_donation .content_item:nth-child(8) {
    grid-column: auto;
  }

  .kigyou_furusato_contact .contact {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px;
  }

  .kigyou_furusato_contact .contact_txt {
    padding-left: 0;
    padding-top: 10px;
    border-left: none;
    border-top: 2px solid #B1B2B2;
    line-height: 1.4;
    font-size: 27px;
  }

  .kigyou_furusato_contact .contact_txt a {
    pointer-events: all;
  }

  /* 20250327 */
  .full_bnr {
    display: block;
    padding: 0 10px;
    box-sizing: border-box;
  }

  /* end */
  
  .btn_link._w420 {
    width:calc(100% - 16px);
    max-width:420px;
  }
  .btn_link._bnr{
    padding-left:120px;
    font-size:16px;
    padding:36px 10px 36px 130px;
  }
  .btn_link._bnr .big{
    font-size:26px;
  }
  .btn_link._bnr .icon{
    width:100px;
    position: absolute;
    top:50%;
    left:30px;
    transform: translateY(-50%);
    margin-top:-10px;
  }
  .btn_link._bnr .icon._company{
    margin-top:0;
  }
  
}

@media only screen and (max-width: 600px) {
  .kigyou_furusato_donation .content {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width:380px) {
  .c_voice.bg_nain {
    background-position: 55% center;
  }
}
