@charset "UTF-8";
/*===============================================
画面の横幅が1000px〜768pxまで
===============================================*/
nav.globalMenuSp {
  display: none;
}

#footbox a:after {
  content: "|";
  padding: 0 5px 0 7px;
}
#footbox a:last-of-type:after {
  content: none;
}

#r_menubox {
  width: 100%;
}
#r_menubox li {
  position: relative;
  border: 1px solid #ccc;
  padding-bottom: 0;
  margin-bottom: 3px;
}
#r_menubox li a {
  display: block;
  font-size: 1.1rem;
  padding: 17px 10px 10px 10px;
  color: #333;
  line-height: 1;
}
#r_menubox li a:hover {
  text-decoration: none;
  background-color: rgba(166, 215, 245, 0.5);
}
#r_menubox li:before {
  position: absolute;
  content: "";
  width: calc(100% - 2px);
  height: 5px;
  top: 1px;
  left: 1px;
  background-color: #53cdf6;
  z-index: 0;
}
#r_menubox li.current a {
  position: relative;
  padding: 17px 10px 10px 30px;
  z-index: 0;
}
#r_menubox li.current a:before {
  position: absolute;
  content: "";
  top: 0;
  left: -1px;
  width: 19px;
  height: 100%;
  background-color: #fff;
  clip-path: polygon(0 100%, 0% 0, 100% 50%);
  z-index: 1;
}
#r_menubox li.current a:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 20px;
  height: 100%;
  background-color: #ccc;
  clip-path: polygon(0 100%, 0% 0, 100% 50%);
}

.nagare {
  position: relative;
  width: 100%;
  height: auto;
  background-image: none;
  background-color: #8bd5f7;
  border: 1px solid #74c9f0;
  padding: 5px 10px;
  box-sizing: border-box;
}
.nagare:before {
  position: absolute;
  content: "";
  top: 1px;
  left: 1px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border: 1px solid #c1e8f9;
}

#tochi {
  position: relative;
  width: 219px;
  height: auto;
  background-image: none;
  background-color: #f3f1e1;
  border: 1px solid #bab7a6;
  border-radius: 7px;
  padding: 10px;
  margin-right: 0;
  box-sizing: border-box;
  z-index: 0;
}
#tochi h3 {
  position: relative;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 7px 7px 5px 7px;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
}
#tochi h3:before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 10px;
  height: 100%;
  background-color: #86c600;
  z-index: 1;
}
#tochi p {
  padding: 10px;
  background-color: #fff;
}
#tochi:before {
  position: absolute;
  content: "";
  top: 1px;
  left: 1px;
  width: calc(100% - 3px);
  height: calc(100% - 3px);
  border: 1px solid #fff;
  border-radius: 7px;
  z-index: -1;
}

#tochi_a_box {
  width: 100%;
  padding-top: 15px;
}

#inner1, #inner2, #inner3 {
  height: auto;
  background-image: url(../img/main_boxbg_line.png);
  background-position: bottom;
  background-size: cover;
}

#inner1_n, #inner2_n, #inner3_n {
  display: flex;
  padding: 0;
  width: 100%;
  padding-bottom: 25px;
}
#inner1_n h2, #inner2_n h2, #inner3_n h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
#inner1_n h2 span, #inner2_n h2 span, #inner3_n h2 span {
  color: #ff0000;
}

#inner1_n, #inner2_n, #inner3_n {
  padding: 25px 0;
}

#inner1_n h2 {
  background-image: url(../img/main_boxttl_underline.png);
  background-repeat: no-repeat;
  background-position: bottom left;
  padding-bottom: 5px;
  margin-bottom: 20px;
}
#inner1_n .img {
  width: 240px;
  text-align: center;
}
#inner1_n .txt {
  width: calc(100% - 240px);
}
#inner1_n .txt a {
  display: block;
}
#inner1_n .txt a:not(:last-child) {
  margin-bottom: 10px;
}

#inner2_n h2, #inner3_n h2 {
  position: relative;
  margin-bottom: 20px;
  z-index: 0;
}
#inner2_n h2:before, #inner3_n h2:before {
  position: absolute;
  content: "";
  top: -10px;
  left: -20px;
  width: 68px;
  height: 51px;
  background-image: url(../img/main_boxttl_maru.png);
  background-repeat: no-repeat;
  z-index: -1;
}
#inner2_n .txt, #inner3_n .txt {
  width: calc(100% - 130px);
  padding-left: 20px;
  line-height: 1.8em;
  font-size: 1.2rem;
}
#inner2_n .img, #inner3_n .img {
  width: 130px;
  text-align: center;
}
#inner2_n .img img, #inner3_n .img img {
  max-width: 100%;
}

.tochibox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.tochibox * {
  box-sizing: border-box;
}
.tochibox br {
  display: none;
}

.tochi_l {
  width: 250px;
}
.tochi_l img {
  max-width: 100%;
  border: 1px solid #8b8b8b;
}

.tochi_r {
  position: relative;
  width: calc(100% - 270px);
  height: auto;
  background-image: none;
  background-color: #f3f1e1;
  border: 1px solid #8b8b8b;
  padding: 12px;
  z-index: 0;
}
.tochi_r:before {
  position: absolute;
  content: "";
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  background-color: #f3f1e1;
  width: 30px;
  height: 30px;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
  z-index: -1;
}
.tochi_r:after {
  position: absolute;
  content: "";
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  background-color: #8b8b8b;
  width: 31px;
  height: 31px;
  top: 50%;
  left: -32px;
  transform: translateY(-50%);
  z-index: -2;
}
.tochi_r .tochi_r_t, .tochi_r .tochi_r_s {
  width: auto;
}
.tochi_r .tochi_r_t {
  padding-bottom: 7px;
  margin-bottom: 7px;
}
.tochi_r .tochi_r_t p {
  line-height: 1;
}
.tochi_r .tochi_r_t {
  font-size: 13.5px;
}

.sitemapTtl {
  position: relative;
  display: block;
  color: #333;
  font-size: 1.2rem;
  width: 100%;
  background-image: url(../img/sitemap_link_arrow.png);
  background-repeat: no-repeat;
  background-position: 97% 50%;
  background-color: #fff;
  border: 1px solid #999;
  padding: 6px 6px 6px 17px;
  box-sizing: border-box;
}
.sitemapTtl:hover {
  text-decoration: none;
  background-color: #95e0f9;
  background-image: url(../img/sitemap_link_arrow_hover.png);
}
.sitemapTtl:before {
  position: absolute;
  content: "";
  width: 10px;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #52cdf5;
}

@media screen and (max-width: 1024px) {
  body {
    -webkit-text-size-adjust: 100%;
  }
  body.fixed {
    overflow: hidden;
    z-index: 0;
  }
  body.fixed:before {
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 40;
  }
  img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
  .hamburger {
    display: block;
    position: fixed;
    z-index: 3;
    right: 20px;
    top: 20px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
    z-index: 100;
  }
  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 6px;
    background: #0090ff;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transitio: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 10px;
  }
  .hamburger span:nth-child(2) {
    top: 20px;
  }
  .hamburger span:nth-child(3) {
    top: 30px;
  }
  .hamburger.active span:nth-child(1) {
    top: 16px;
    left: 6px;
    background: #fff;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .hamburger.active span:nth-child(2), .hamburger.active span:nth-child(3) {
    top: 16px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  nav.globalMenuSp {
    display: block;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateX(100%);
    transition: all 0.6s;
    z-index: 99;
  }
  nav.globalMenuSp ul {
    background-color: #0090ff;
    height: 100dvh;
    padding-top: 80px;
  }
  nav.globalMenuSp li {
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }
  nav.globalMenuSp li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
  }
  nav.globalMenuSp li a {
    position: relative;
    display: block;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px 15px 40px;
  }
  nav.globalMenuSp li a:before {
    position: absolute;
    content: "›";
    top: 15px;
    left: 25px;
  }
  nav.globalMenuSp.active {
    opacity: 100;
    display: block;
    transform: translateX(50%);
  }
  #container {
    width: 100%;
  }
  #head {
    width: 100%;
  }
  #headmenu, #gnavi {
    display: none;
  }
  #logo {
    padding: 13px 0px 0px 15px;
  }
  .frontbox {
    width: 100%;
  }
  .f_bill {
    margin-left: 0;
  }
  .f_desc1 {
    margin-left: 38px;
  }
  .f_desc2 {
    margin-top: 184px;
    margin-left: 38px;
  }
  .f_person {
    right: 0;
  }
  .f_cloud2 {
    margin-left: auto;
    right: 0;
  }
  .f_cloud3 {
    margin-left: auto;
    right: 150px;
  }
  #mainbox {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    width: 100%;
  }
  #mainbox #main_l {
    width: 100%;
    box-sizing: border-box;
  }
  #mainbox_bottom {
    display: none;
  }
  #panbox {
    width: 100%;
    background-color: #fff;
    background-image: none;
    padding: 10px;
    box-sizing: border-box;
  }
  #inner1_n .txt a br {
    display: none;
  }
  #inner2_n .txt, #inner3_n .txt {
    width: calc(100% - 280px);
  }
  #inner2_n .img, #inner3_n .img {
    width: 280px;
  }
  #title1, #title2, #title3, #title4, #title5, #title6, #title8, #titleSdgs {
    width: 100%;
  }
  #title1 span, #title2 span, #title3 span, #title4 span, #title5 span, #title6 span, #title8 span, #titleSdgs span {
    width: 100%;
  }
  #main_l {
    padding: 20px;
  }
  #main_l ul {
    display: flex;
    justify-content: center;
  }
  #main_r {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
  }
  #main_r > div:nth-child(2), #main_r > div:nth-child(3) {
    margin-right: 20px;
  }
  #main_r #tochi {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
  #main_r #tochi p {
    background-color: unset;
  }
  #main_r #tochi p br {
    display: none;
  }
  #inner1, #inner2, #inner3 {
    width: 100%;
    margin: 0;
  }
  #inner1_n, #inner2_n, #inner3_n {
    width: 100%;
    padding: 20px 0;
  }
  #footbox, #copybox {
    width: 100%;
  }
  #copybox {
    text-align: center;
    margin-bottom: 20px;
  }
  #title2 {
    width: 100%;
  }
  #title2 span {
    width: 100%;
  }
  #con_bg, .wh_bg {
    width: 100%;
    box-sizing: border-box;
  }
  #con_bg *, .wh_bg * {
    box-sizing: border-box;
  }
  #con_bg h3 {
    position: relative;
    width: 100%;
    height: auto;
    background-image: none;
    background-color: #fff;
    border-radius: 7px;
    padding: 8px 10px 5px 18px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    z-index: 0;
  }
  #con_bg h3:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background-color: #86c600;
    border-radius: 5px 0 0 5px;
    z-index: 1;
  }
  #con_bg2, #con_bg3 {
    position: relative;
    width: 100%;
    height: auto;
    background-image: none;
    margin-bottom: 10px;
    z-index: 0;
    box-sizing: border-box;
  }
  #con_bg2 h3, #con_bg3 h3 {
    width: 100%;
    height: auto;
    font-size: 1.8rem;
  }
  #con_bg2 *, #con_bg3 * {
    box-sizing: border-box;
  }
  #con_bg3 {
    width: 100%;
    box-sizing: border-box;
  }
  #con_bg3 h3 {
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }
  #con_bg3 h4 {
    position: relative;
    width: 100%;
    height: auto;
    background-image: none;
    background-color: #fff;
    border-radius: 7px;
    padding: 8px 10px 5px 18px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    z-index: 0;
    box-sizing: border-box;
  }
  #con_bg3 h4:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background-color: #86c600;
    border-radius: 5px 0 0 5px;
    z-index: 1;
  }
  #con_bg4 {
    width: 100%;
    box-sizing: border-box;
  }
  #con_bg4 h3 {
    width: 100%;
    box-sizing: border-box;
  }
  .wh_bg2, .wh_bg3 {
    width: 100%;
    box-sizing: border-box;
  }
  .tophe {
    width: 100%;
    height: auto;
    background: none;
    border-top: 1px solid #999;
    padding-top: 10px;
    margin-top: 25px;
    margin-bottom: 40px;
  }
  .imgWrap {
    text-align: center;
  }
  #hutoji {
    width: 100%;
  }
  .table1 {
    width: 100%;
  }
  .table1 td {
    width: calc(100% - 158px);
  }
  .table2 {
    width: 100%;
  }
  .table2 th {
    width: 200px;
  }
  .table2 td {
    width: calc((100% - 200px) / 2);
  }
  .table3 {
    width: 100%;
  }
  .g_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }
  .g_box .g_text {
    width: calc(100% - 300px);
  }
  .g_box .g_title {
    width: 100%;
    height: auto;
  }
  .g_box br {
    display: none;
  }
  #sokuryo_text {
    width: 100%;
  }
  .tochibox {
    width: 100%;
    margin: 0;
  }
  .tochibox .sokuryo_r {
    width: calc(100% - 300px);
  }
  .tochibox .tochi_l {
    width: 273px;
  }
  .tochibox .tochi_r {
    position: relative;
    width: calc(100% - 300px);
    height: auto;
    background-image: unset;
    background-color: #f3f1e1;
    padding: 20px;
  }
  .tochibox .tochi_r > * {
    width: 100%;
  }
  .tochibox .tochi_r_t {
    background-repeat: repeat-x;
  }
  .tochibox .tochi_r_tt {
    margin-top: 5px;
  }
  .tochibox .clear {
    display: none;
  }
  .next2, .next3 {
    width: 100%;
  }
  .sokuryo_sen {
    width: 100%;
    background: url(../img/sokuryo_sen.gif) repeat-x;
    margin-bottom: 20px;
  }
  #contactbox {
    width: 100%;
  }
  #contactbox table {
    width: 100%;
  }
  textarea.size4 {
    width: 100%;
  }
  #fudosan {
    width: 100%;
    height: auto;
  }
  #link_box ul {
    display: flex;
    flex-wrap: wrap;
  }
  #link_box {
    width: 100%;
  }
  #link_box li {
    width: 50%;
  }
  #kaoku1, #kaoku2, #kaoku3, .kaoku_w {
    width: 100%;
  }
  #kaoku_tensen1, #kaoku_tensen2 {
    width: 100%;
    background-size: cover;
  }
  .sdgsTitle {
    font-size: 40px;
    line-height: 1;
  }
  .sdgsTitle span {
    display: block;
    font-size: 19px;
    line-height: 1;
    margin-bottom: 10px;
  }
  .sdgsTitleText {
    text-align: left;
  }
  .sdgsTitleText br {
    display: none;
  }
  .sitebox {
    width: 100%;
  }
  .sitebox_l, .sitebox_r {
    width: 49%;
  }
  .sitebox_l .site_listbox, .sitebox_r .site_listbox {
    width: 100%;
  }
  .sitebox_l .sl, .sitebox_r .sl {
    width: 100%;
    background-repeat: repeat-x;
  }
}
/*===============================================
tablet横向き
===============================================*/
/*===============================================
画面の横幅が767px〜0pxまで
===============================================*/
@media screen and (max-width: 767px) {
  #logo {
    width: 70%;
    height: auto;
  }
  #logo h1 img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
  #head {
    height: 57px;
  }
  .hamburger {
    top: 8px;
    right: 10px;
  }
  body {
    -webkit-text-size-adjust: 100%;
  }
  #wrapper {
    background-image: none;
  }
  .frontbox {
    position: relative;
    background-image: url(../img/bg.gif);
    background-size: 100% 140%;
    background-position: center bottom;
    overflow: hidden;
  }
  .frontbox img {
    max-width: 100%;
    width: 90%;
    height: auto;
  }
  .frontbox * {
    box-sizing: border-box;
  }
  .frontbox .f_desc1 {
    max-width: 100%;
    width: 80%;
    padding: 20px 20px 0 20px;
  }
  .frontbox .f_desc2 {
    max-width: 100%;
    width: 100%;
    padding: 135px 20px 0 20px;
  }
  .frontbox .f_person {
    bottom: -24px;
    right: -20px;
  }
  .frontbox .f_bill {
    width: 80%;
    bottom: -20px;
  }
  .frontbox .f_cloud1, .frontbox .f_cloud2 {
    width: 40%;
  }
  #main_r {
    justify-content: center;
  }
  #main_r * {
    box-sizing: border-box;
  }
  #main_r > div {
    width: 100%;
    margin-bottom: 15px;
  }
  #main_r > div:nth-child(2), #main_r > div:nth-child(3) {
    margin-right: 0;
  }
  #main_r #mailbtn {
    text-align: center;
    margin-bottom: 15px;
  }
  #main_r #map {
    text-align: center;
  }
  #kaisyaWrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  #kaisya, #kaisya_access {
    width: 85%;
  }
  #footbox {
    display: flex;
    flex-wrap: wrap;
  }
  #footbox a {
    display: block;
    width: 50%;
    padding: 10px;
    box-sizing: border-box;
    border-bottom: 1px solid #ccc;
  }
  #footbox a:nth-child(even) {
    border-right: 1px solid #ccc;
  }
  #footbox a:after {
    content: none;
  }
  .f_cloud3 {
    display: none;
  }
  .f_desc1 {
    max-width: 70%;
    height: auto;
    margin: 0;
    padding: 40px 20px 0 20px;
    box-sizing: border-box;
  }
  .f_desc2 {
    margin: 0;
    padding: 40px 20px 0 20px;
  }
  #title1, #title2, #title3, #title4, #title5, #title6, #title8, #titleSdgs {
    height: 110px;
  }
  #title1 span, #title2 span, #title3 span, #title4 span, #title5 span, #title6 span, #title8 span, #titleSdgs span {
    height: 110px;
    background-size: cover;
    background-position: 10%;
  }
  .messageWrap {
    display: flex;
    flex-direction: column;
  }
  .messageWrap .messageText {
    padding-right: 0;
    margin-bottom: 20px;
  }
  .messageWrap .messageImg, .messageWrap .messageName {
    text-align: center;
  }
  .messageWrap .messageImg {
    margin: 0 auto;
  }
  .g_box {
    flex-direction: column-reverse;
  }
  .g_box .g_img, .g_box .g_text {
    width: 100%;
  }
  .g_box .g_img {
    text-align: center;
    margin-top: 10px;
  }
  .g_box:not(:last-of-type) {
    margin-bottom: 30px;
  }
  .tochibox .tochi_l, .tochibox .tochi_r {
    width: 100%;
  }
  .tochibox .tochi_l {
    margin-bottom: 10px;
  }
  .tochibox .tochi_r:before {
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    top: -21px;
    left: 50%;
    height: 21px;
    transform: translateX(-50%);
  }
  .tochibox .tochi_r:after {
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    top: -22px;
    left: 50%;
    height: 21px;
    transform: translateX(-50%);
  }
  .tochibox .sokuryo_r {
    width: 100%;
  }
  #sokuryo_text {
    padding: 0;
  }
  #shigaika {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
  #shigaika #shigaika_l, #shigaika #shigaika_r {
    width: 100%;
  }
  .gis_waku {
    width: 100%;
  }
  .gis_link {
    width: 100%;
  }
  .gis_kara {
    display: none;
  }
  .gis_img1, .gis_text {
    width: 100%;
    height: auto;
  }
  .gis_img1, .gis_img2, .gis_img3 {
    width: 100%;
  }
  .gis_img1 {
    height: 250px;
  }
  .gis_img1 img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    object-position: 0 0;
  }
  .gis_img2 {
    height: 120px;
  }
  .gis_img2 img {
    height: 120px;
    width: 100%;
    object-fit: cover;
    object-position: 0 0;
  }
  .gis_img2 {
    object-fit: none;
  }
  .gis_text {
    margin-bottom: 30px;
  }
  .nagare_text {
    width: calc(100% - 50px);
    margin-bottom: 15px;
  }
  .nagare_text2 {
    width: 100%;
    padding-left: 0;
  }
  #k_linkbox {
    width: 100%;
  }
  #k_linkbox a {
    overflow-wrap: break-word;
  }
  #contactbox table {
    border-collapse: collapse;
  }
  #contactbox tr {
    display: flex;
    flex-wrap: wrap;
  }
  #contactbox th, #contactbox td {
    width: 100%;
    text-align: unset;
    padding: 10px;
    border: 0;
  }
  #contactbox th {
    border: 0;
  }
  #f_btn_box {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #f_btn_box a {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
  }
  #f_btn_box a:not(:last-child) {
    margin-bottom: 10px;
  }
  #f_btn_box img:is([style]) {
    margin-right: 0 !important;
  }
  #link_box {
    width: 100%;
    padding: 0;
  }
  #link_box ul li {
    width: 100%;
    height: auto;
    padding: 10px 10px 10px 40px !important;
  }
  #link_box ul li a {
    display: block;
    word-break: break-all;
  }
  #link_box ul li * {
    text-align: left;
  }
  #inner1_n h2, #inner2_n h2, #inner3_n h2 {
    font-size: 1.4rem;
  }
  #inner1_n h3, #inner2_n h3, #inner3_n h3 {
    font-size: 1.3rem;
  }
  #inner1_n font[style], #inner2_n font[style], #inner3_n font[style] {
    font-size: 1.6rem !important;
  }
  #inner1_n br.spnone, #inner2_n br.spnone, #inner3_n br.spnone {
    display: none;
  }
  #inner1_n, #inner2_n, #inner3_n {
    flex-wrap: wrap;
  }
  #inner1_n *, #inner2_n *, #inner3_n * {
    box-sizing: border-box;
  }
  #inner1_n .img, #inner1_n .txt, #inner2_n .img, #inner2_n .txt, #inner3_n .img, #inner3_n .txt {
    width: 100%;
  }
  #inner1_n .img, #inner2_n .img, #inner3_n .img {
    margin-bottom: 20px;
  }
  #inner1_n .txt, #inner2_n .txt, #inner3_n .txt {
    padding-left: 10px;
    padding-right: 10px;
  }
  #inner2_n, #inner3_n {
    flex-direction: column-reverse;
  }
  #main_l ul {
    flex-direction: column;
    margin-bottom: 10px;
  }
  #main_l ul > br {
    display: none;
  }
  #main_l ul li {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  #main_l ul li:not(:last-child) {
    margin-bottom: 10px;
  }
  .sdgsBnr {
    padding: 15px 0;
  }
  #hutoji {
    font-size: 2rem;
  }
  .table1 {
    display: grid;
  }
  .table1 tr {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .table1 tr:first-child th {
    border-top: 0;
  }
  .table1 th, .table1 td {
    width: 100%;
  }
  .table1 th {
    border-top: 1px solid #666;
  }
  .table1 td {
    border-left: 0;
    border-bottom: 1px solid #666;
  }
  .table1 td:last-of-type {
    border-bottom: 0;
  }
  .table2 {
    display: grid;
  }
  .table2 tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  .table2 tr:last-of-type {
    border-bottom: 0;
  }
  .table2 tr:last-of-type th:last-of-type, .table2 tr:last-of-type td:last-of-type {
    border-bottom: 0;
  }
  .table2 th, .table2 td {
    border: 0;
  }
  .table2 th {
    width: 65%;
    border-bottom: 1px solid #666;
  }
  .table2 td {
    width: 35%;
    border-bottom: 1px solid #666;
  }
  .sitebox {
    display: flex;
    flex-direction: column;
  }
  .sitebox .sitebox_l, .sitebox .sitebox_r {
    width: 100%;
  }
  .sitebox .sitebox_l {
    margin-bottom: 10px;
  }
  .tblSc {
    overflow: scroll;
  }
  .tblSc:after {
    display: block;
    content: "※表は横にスクロールできます";
    margin-bottom: 20px;
    color: #ff0000;
  }
  .tblSc .table3 {
    width: max-content;
  }
}
/*===============================================
sp横向き
===============================================*/