@charset "utf-8";

/* css記載順序
01.共通
02.ヘッダー
03.セクション
end css記載順序*/


/*==========================================
01.共通
==========================================*/
.fs-l-main {
  margin: 0;
}
.fs-l-pageMain {
  display: none;
}
.under_aboutus_wrap {
  display: none;
}
body {
  margin: 0;
  padding: 0;
}
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
.bg_bl {
  background-image: linear-gradient(90deg, #222222, #535353 50%, #222222);
}
.bg_gr {
  background-image: linear-gradient(90deg, #535353, #999999 50%, #535353);
}
.bold {
  font-weight: bold;
}
.red {
  color: red;
}
#wrapper{
  display: flex;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  #wrapper {
    padding: 0;
  }
}
.inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 20px;
  background: #fff;
}
@media screen and (max-width: 768px) {
  .inner {
    max-width: 768px;
    width: 90%;
  }
  .pc_on {
    display: none;
  }
  body {
    margin: 0 10px;
  }
}

@media (min-width: 769px) {
  .sp_on {
    display: none;
  }
}



/*==========================================
02.ヘッダー
==========================================*/

.top {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto 50px auto;
  padding-bottom: 50px;
}
.top_img {
  width: 100%;
}
h1 {
  font-size: 3.5rem;
  color: #fff;
  text-align: center;
  margin: 50px auto 0 auto;
}
.h1 {
  font-size: 3rem;
}



/*==========================================
03.セクション
==========================================*/

.sec_ttl {
  width: 100%;
  height: 80px;
  margin: 0 auto;
  text-align: center;
  background-image: linear-gradient(0deg, #dfc86c 0%, #e9da9e 50%, #dfc86c 90% 100%);
}
.sec_ttl_h2 {
  display: inline-block;
  font-size: 3rem;
  font-weight: bold;
  line-height: 80px;
}


/* セクション1 */
.section1_flex {
  display: flex;
  width: 100%;
}
.section1_flex_text {
  width: 60%;
  padding: 50px 30px;
}
.section1_flex_ttl {
  font-size: 3rem;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
}
.section1_flex_p {
  font-size: 2rem;
  line-height: 3.5rem;
}
.section1_flex_red {
  font-size: 2rem;
  color: red;
  font-weight: bold;
  line-height: 3.5rem;
  margin-top: 30px;
  text-decoration: underline;
}
.section1_flex_img {
  width: 40%;
  padding-right: 30px;
}
.section1_flex_img img {
  width: 100%;
}
.link_area {
  display: flex;
  max-width: 600px;
  margin: 100px auto 0 auto;
}
.link_area a img {
  width: 100%;
}

@media (max-width: 768px) {
  .section1_flex {
    flex-direction: column-reverse;
  }
  .section1_flex_text {
    width: 100%;
    padding: 0;
  }
  .section1_flex_ttl {
    text-align: center;
  }
  .section1_flex_p {
    text-align: center;
  }
  .section1_flex_red {
    text-align: center;
  }
  .section1_flex_img {
    width: 100%;
    padding-right: 0;
  }
}


/* セクション2 */

.section2_gallerybox{
  border: 2px solid #000;
  border-radius: 5px;
  position: relative;
  margin: 100px 10px;
}
.section2_gallerybox h3{
  text-align: center;
  position: absolute;
  right: 0;
  left: 0;
  top: -4rem;
}
.section2_gallerybox span{
  padding: 5px 20px;
  background: #FFF;
  font-size: 3rem;
  font-weight: bold;
  color: #000;
}
.section2_gallerybox .eng{
  background: #FFF;
  font-size: 2rem;
  color: #000;
}
.gallery_ul {
  list-style: none;
  font-size: 0;
  text-align: center;
  padding-top: 20px;
  margin: 40px 20px;
}
.gallery_li {
  margin: 10px 20px;
  display: inline-block;
}
.gallery_li figure:hover {
  opacity: 0.7;
}
.gallery_li img {
    width: 180px;
    height: 180px;
    margin-bottom: 30px;
}
.fig_p {
  font-size: 1.5rem;
  line-height: 1.3rem;
  text-align: center;
}
.btn_s {
  display: inline-block;
  background:#c71a1a;
  border-radius: 10px;
  width: 180px;
  height: 40px;
  text-align: center;
  padding-top: 10px;
  margin-top: 10px;
  font-size: 1.8rem;
  color: #fff;
}

@media (max-width:768px) {
  .gallery_li {
    margin: 20px 10px;
  }
}



/* セクション3 */

.flow_ul {
  padding-left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.flow_li {
  list-style-type: none;
  width: 100%;
  max-width: 300px;
  display: flex;
}
.flow_dt {
  text-align: center;
  color: #fff;
  background: #000;
  display: block;
  position: relative;
}
.flow_dl {
  margin: 0;
  border: 3px solid #000;
  border-radius: 5px;
  position: relative;
}
.flow_li:not(:first-child) .flow_dl::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 10px;
  display: inline-block;
  border-top: 4px solid #000;
  border-right: 4px solid #000;
  position: absolute;
  top: calc(50% - 14px);
  left: -28px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.flow_dt {
  font-size: 1.8em;
  font-weight: 600;
  color: #fff;
  -ms-flex-preferred-size: 20%;
  flex-basis: 20%;
  padding: 5px 0;
  margin-bottom: 10px;
  text-align: center;
}
.flow_dd {
  margin: 20px;
  text-align: center;
  font-size: 2rem;
  line-height: 2.4rem;
}
.flow_dd img {
  width: 100%;
}
.flow_hr {
  border: 1px solid #000;
  width: 90%;
  margin: 10px auto;
}
.section3_p {
  font-size: 2.5rem;
  line-height: 2.8rem;
  font-weight: bold;
  text-align: center;
  margin-top: 50px;
}

@media(max-width: 767px){
  .flow_ul {
    gap: 20px;
  }
  .flow_li {
    max-width: unset;
    display: block;
  }
  .flow_li:not(:first-child) .flow_dl::before {
    display: none;
  }
  .flow_dd img {
    width: 200px;
  }
}



/* セクション4 */
.caution_box {
  display: flex;
  justify-content: center;
  padding: 20px;
}
.caution_box_txt {
  width: 70%;
}
.caution_box_img {
  width: 25%;
  margin-left: 20px;
}
.caution_box_img img {
  width: 100%;
}
.caution_box__p {
  font-size: 2rem;
  color: #db0000;
  line-height: 4rem;
  margin: 10px 40px;
  text-decoration: underline;
}
.caution_box_img_2 {
  width: 40%;
}
.section4_p {
  font-size: 2rem;
  color: rgb(219, 0, 0);
  line-height: 4rem;
  margin: 10px 50px;
  text-decoration: underline;
}
.big {
  font-size: 2.5rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  .caution_box {
    display: block;
  }
  .caution_box_txt {
    width: 100%;
  }
  .caution_box_img {
    width: 80%;
    margin: 0 auto;
    text-align: center;
  }
  .caution_box_img img {
    width: 100%;
  }
  .caution_box_img_2 {
    width: 80%;
    text-align: center;
  }
  .section4_p {
    font-size: 1.5rem;
    line-height: 2.5rem;
    margin: 10px;
  }
  .big {
    font-size: 2rem;
  }
}

.btn_area {
  display: flex;
  justify-content: space-around;
  max-width: 1024px;
  margin: 100px auto;
}
.btn {
  width: 350px;
  background-image: linear-gradient(#bd0303, #e60909);
  padding: 20px 20px;
  border-radius: 10px;
  font-size: 2rem;
  text-align: center;
  color: #fff;
  font-weight: bold;
}
.btn2 {
  width: 350px;
  background-image: linear-gradient(#2cae04, #33dd00);
  padding: 20px 20px;
  border-radius: 10px;
  font-size: 2rem;
  text-align: center;
  color: #fff;
  font-weight: bold;
}
.btn:hover ,
.btn2:hover {
  opacity: 0.7;
}
.end_image {
  text-align: center;
  width: 100%;
}