
.wrapper {
  width: 1100px;
  overflow: visible;
}

#gnav, #footer, #con_footdiv {
  width: 100%;
  min-width: 1100px;
}

#mv, #main_contents {
  width: 1100px;
  font-size: 16px;
}

#header {
  width: 100%;
  min-width: 1100px;
}

body, h1, h2, h3, h4, h5, h6, code {
  font-family: 'Noto Sans JP', sans-serif;
}

#main_contents img,
.mainwrap img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: auto;
}

figure {
  width: 95%;
  margin: 0 auto;
}

.width800 {
  max-width: 800px;
}

table {
  width: 100%;
   overflow-x : auto;
   border: 1px solid #dedede;
   border-radius: 5px;
}

th, td {
  margin: 0;
  padding: 1em;
  text-align: left;
  font-weight: normal;
}

table tr:nth-of-type(2n) {
  background: #eee;
}

#main_contents a {
  text-decoration: underline;
  transition: .3s opacity;
}

@media (hover: hover) and (pointer: fine) {
  #mv a:hover, #main_contents a:hover {
    opacity: .5;
  }
}

#main_contents section:not(last-of-type) {
  margin: 100px 0;
}

@media screen and (max-width: 640px) {
  #main_contents section {
    padding-left: 2.5vw;
    padding-right: 2.5vw;
  }
  #main_contents p {
    margin-left: 0;
    margin-right: 0;
  }
}

.contents_box {
  width: 100%;
  box-sizing: border-box;
}

#main_contents .text-link a, #main_contents a.text-link {
  color: #ee6600!important;
}

#main_contents .text-link {
  text-align: right;
}

#mv h2, #main_contents h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: .5em;
  font-weight: bold;
}

#main_contents h2 em {
  font-style: normal;
  color: #ff9900;
  font-weight: bold;
}

#main_contents h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: .5em;
}

#main_contents p {
  margin-top: 0;
}

#main_contents * {
  box-sizing: border-box;
}

.clm2, .clm3 {
  gap: 1rem;
  flex-wrap: wrap;
}

.clm2 li, .clm3 li {
  border-radius: 10px;
}

.clm2 > li {
  width: calc(50% - .5rem);
}

.clm3 > li {
  width: calc(100% / 3 - .75rem);
}

.clm2 > li a:not(.text-link),
.clm3 > li a:not(.text-link) {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.clm2 h3, .clm3 h3 {
  text-decoration: underline;
  color: #005F70;
}

#main_contents #access .address a {
  font-weight: bold;
}

#mv .alist, #main_contents .alist {
  width: fit-content;
  gap: 1em;
}


#mv .alist li:first-of-type .btn, #main_contents .alist li:first-of-type .btn {
  background: #fff;
  color: #666;
  border: 3px solid #666;
}

#mv .alist li:nth-of-type(2) .btn, #main_contents .alist li:nth-of-type(2) .btn {
  background: #666;
}

#mv .alist li:last-of-type .btn, #main_contents .last li:first-of-type .btn {
  background: #38841A;
}


/*

#mv .alist .btn, #main_contents .alist .btn {
  color: #000;
  background: #b1f0bd;
}

#mv .alist li:first-of-type .btn, #main_contents .alist li:first-of-type .btn {
  background: #fed4d5;
}
*/


@media screen and (max-width: 640px) {
   #mv .alist, #main_contents .alist {
    width: 100%;
  }
  #mv .flex_btw, #main_contents .flex_btw {
    flex-direction: column;
    gap: 2rem;
  }
  #mv .flex_btw > *, #main_contents .flex_btw > * {
    width: 100%!important;
  }
}

.qbox {
  background: #ddd;
  padding: 1.5em 1.5em 1.5em 3.5em;
  border-radius: 10px;
  position: relative;
}

.qbox::before {
  content: '?';
  display: grid;
  place-content: center;
  width: 1.2em;
  height: 1.2em;
  font-size: .8em;
  position: absolute;
  top: 2.2em;
  left: 2em;
  border: 1px solid #000;
  border-radius: 100%;
}

#mv a.btn, #main_contents a.btn {
  display: block;
  width: fit-content;
  padding: 1em;
  color: #fff;
  background: #38841A;
  font-weight: bold;
  border-radius: 10px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  text-decoration: none;
}

.sec_cont {
  background: #fff;
  width: 95%;
  max-width: 1100px;
  padding: 3em;
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 640px) {
  #mv .btn, #main_contents .btn {
    width: 90%!important;
    text-align: center;
  }
  .sec_cont {
    padding: 2em 1.5em;
  }
}

#mv {
  width: 90%;
  display: grid;
  grid-template-columns: 1fr 400px;
  grid-template-rows: min-content min-content;
  grid-template-areas:
		"text img"
		"alist alist";
  margin: 50px 0 50px 5%;
  font-size: 18px;
}

#mv .mv-txt {
    grid-area: text;
    margin: 50px 50px 50px 0;
}

#mv figure {
  grid-area: img;
  padding-bottom: 50px;
  justify-self: end;
}

#mv .alist, #main_contents .alist {
    grid-area: alist;
    justify-content: center;
    width: 100%;
}

#mv .alist li, #main_contents .alist li {
    width: 30%;
}

#mv .alist a.btn, #main_contents .alist a.btn {
    width: 100%;
    box-sizing: border-box;
    padding-left: 2em;
    position: relative;
}

#mv .alist a.btn::after,
#main_contents .alist a.btn::after {
    content: '>';
    display: block;
    position: absolute;
    right: 1.5em;
    top: 50%;
    translate: 0 -50%;
    scale: .6 1;
    font-size: 1.1em;
}

#mv h2 {
  font-size: 2rem;
  font-weight: 900;
  text-align: left;
}

#mv h2 span {
  font-size: .6em;
  color: #fff;
  background: #ff9900;
  display: block;
  padding: .3em 1.7em;
  border-radius: 5px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 1em;
  width: fit-content;
}

@media screen and (max-width: 640px) {
  #mv .alist a.btn::after,
  #main_contents .alist a.btn::after {
    right: .5em;
  }
  #mv .alist a.btn, #main_contents .alist a.btn {
    padding-left: 1em;
  }
}

@media screen and (max-width: 750px) {
  #mv {
    margin: 0;
    grid-template-columns: 1fr;
    grid-template-rows: min-content min-content min-content;
    grid-template-areas:
		"img"
		"text"
                "alist";
  }

  #mv .mv-txt {
    margin: 30px;
  }

  #mv figure {
    padding-bottom: 10px;
    width: 60%;
    margin-left: 20%;
  }


}

#problem {
  font-size: 1.2rem;
}

#problem .clm3 {
  margin-bottom: 50px;
}

#problem .clm3 > li {
  background: #faf4b5;
  font-weight: bold;
  text-indent: -1em;
  padding: 1em;
}

#problem .clm3 > li a {
  padding: 0 0 0 2em;
  text-decoration: underline;
}

#solve .clm3 > li,
#achievement .clm2 > li, 
#network .clm2 > li,
#profile .clm2 > li {
  background: #f2fbf0;
}

#main_contents #solve .clm3 > li a,
#main_contents #achievement .clm2 > li a {
  display: flex;
  color: #000;
  flex-direction: column;
  padding: 2em;
  text-decoration: none;
}

#solve .clm3 > li a p:last-of-type,
#achievement .clm2 > li a p:last-of-type {
  margin-top: auto;
  margin-bottom: 0;
  color: #ee6600;
  text-decoration: underline;
}

#main_contents .full_width {
  width: 100vw;
  min-width: 1100px;
  position: relative;
  left: 50%;
  translate: -50% 0;
  background-color: #f9b557;
  padding: 80px 0;
}

#advantage .clm2 li p {
  padding-left: 3.2rem;
}

#advantage .clm2 li h3 a {
  position: relative;
  display: inline-block;
  padding-left: 3.2rem;
}

#advantage .clm2 li h3 a::before {
  content: '';
  display: inline-block;
  width: 2.5rem;
  height: 3rem;
  background-position: left top;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: -.2em;
  left: 0;
}

#advantage .clm2 li:first-of-type h3 a::before {
  background-image: url(img/top/top_icon01.png);
} 

#advantage .clm2 li:nth-of-type(2) h3 a::before {
  background-image: url(img/top/top_icon02.png);
} 

#advantage .clm2 li:nth-of-type(3) h3 a::before {
  background-image: url(img/top/top_icon03.png);
} 

#advantage .clm2 li:nth-of-type(4) h3 a::before {
  background-image: url(img/top/top_icon04.png);
} 

#advantage .clm2 li:nth-of-type(5) h3 a::before {
  background-image: url(img/top/top_icon05.png);
} 

#advantage .clm2 li:nth-of-type(6) h3 a::before {
  background-image: url(img/top/top_icon06.png);
} 


#main_contents #flow {
  background: url(img/top/bg01.jpg) no-repeat left top / cover;
  margin-bottom: 0;
}

#flow .sec_cont {
  background: transparent;
  padding: 0;
}

#flow .alist {
  margin-left: auto;
  margin-right: auto;
}

#flow dl {
  padding: 30px 0 30px;
  border-left: 1px solid #5acc2d;
}

#flow dt, #flow dd {
  padding-left: 50px;
}

#flow dt {
  font-size: 1.2rem;
  margin-bottom: .5em;
  position: relative;
}

#flow dt::before,
#flow dt::after {
  content: '';
  display: inline-block;
  background: #5acc2d;
  position: absolute;
}

#flow dt::before {
  width: 12px;
  height: 12px;
  border-radius: 100%;
  top: .3em;
  left: -6.7px;
}


#flow dt::after {
  width: 30px;
  height: 1px;
  top: 11px;
  left: 0;
}

#flow dd {
  margin-bottom: 2em;
}

#media .flex_btw figure {
  width: 45%;
  margin: 0;
}

#media .flex_btw .txt {
  width: 50%;
}


#main_contents h2 img:not(.merit_title),
.slick-list img {
  width: 100%;
  height: auto;
}

#main_contents #network {
  margin-top: 0;
}

#network .clm2 li {
  padding: 2em;
}

#network .clm2 li h3 {
  text-decoration: none;
  color: #000;
  font-weight: normal;
}

#profile .clm2 li {
  padding: 1em;
  font-size: 1.3rem;
}

#profile .flex_btw .txt {
  width: 60%;
}

#profile .flex_btw > .right_cont {
  width: 35%;
  background: #eee;
  padding: 20px;
  display: grid;
  place-content: center;
}

iframe.movie {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    margin-bottom: 20px;
}

#news .flex_btw > * {
  width: 45%;
}

#news h3 {
  font-weight: normal;
  font-size: 1rem;
}

#news li {
  margin-bottom: 1em;
}

#main_contents #faq .flex_btw a:link {
  color: #0e6805;
  text-decoration: underline;
  font-weight: bold;
}

#faq .flex_btw {
  border: 1px solid #dedede;
  border-radius: 10px;
  gap: 0;
}

#faq .flex_btw.clm2 li {
  border-radius: 0;
  padding: 1em;
  width: 50%;
}

#faq .flex_btw li:nth-of-type(3),
#faq .flex_btw li:nth-of-type(4) {
  background: #eee;;
}

@media screen and (max-width: 640px) {
  #faq .flex_btw li:nth-of-type(3),
  #faq .flex_btw li:nth-of-type(4) {
  background: transparent;
 }
  #faq .flex_btw li:nth-of-type(2n) {
    background: #eee;;
  }  


}

#access .sns-icons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

#access .sns-icons li {
  width: 50%;
  max-width: 30px;
}

#access .flex_btw.map > iframe {
  width: 50%;
}
#access .flex_btw.map > figure {
  width: 45%;
}

#access figure {
  margin: 0;
}

#access iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 58 / 35;
}

#access .flex_btw.address > * {
  width: 30%;
}

#access .flex_btw.address {
  gap: 2rem;
}

#access .flex_btw.address h3 {
  font-weight: normal;
}

#access .flex_btw.address ul li {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1em;
}


.top_column {
  width: 680px;
  display: flex;
  justify-content: space-between;
}
.top_column > * {
  width: fit-content;
}

.cmn_outbox {
  margin-left: 0;
  margin-right: 0;
}

#main_contents .cmn_outbox img {
  width: inherit;
  margin: 0;
}


#main_contents fotter img {
  width: inherit;
}


#fontsizebox {
  display: none;
}

#header_logo, #header #header_title {
  width: fit-content;
  white-space: nowrap;
}

.logo {
  display: inline-block;
  margin-right: 10px;
}


@media screen and (max-width: 640px) {
    .wrapper, #mv, #main_contents {
        width: 100%;
        overflow: hidden;
    }
    #header, #main_contents .full_width, #gnav, #footer, #con_footdiv {
        min-width: 100%;
    }

}
