@charset 'utf-8';

.main {
  overflow: hidden;
}

/*---------------------------------------------------
mv
---------------------------------------------------*/
.mv {
  position: relative;
  width: 100%;
  height: 600px;
}

.mv::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: url('../img/mv.webp');
  background-size: cover;
  background-position: center;
}

.mv_title {
  position: absolute;
  top: 100px;
  left: 50px;
  z-index: 10;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
}

.mv_title span {
  opacity: 0;
}

.mv_text {
  position: absolute;
  top: 220px;
  left: 50px;
}

.mv_text p {
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05rem;
  color: #000;
}

.mv_text p:nth-of-type(2) {
  margin-top: 20px;
}

.btn_area {
  position: absolute;
  bottom: 100px;
  left: 50px;
}

@media screen and (max-width: 580px) {
  .mv {
    height: 50vh;
  }

  .mv::before {
    background: url('../img/mv_sp.webp');
    background-color: rgba(255, 255, 255, 0.5);
    background-blend-mode: lighten;
    background-size: cover;
    background-position: center;
  }

  .mv_title {
    top: 20px;
    left: 30px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
  }
  
  
  .mv_text {
    position: absolute;
    top: 100px;
    left: 30px;
  }
  
  .mv_text p {
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0;
    color: #000;
  }
  
  .mv_text p:nth-of-type(2) {
    margin-top: 20px;
  }
  
  .btn_area {
    bottom: 20px;
    left: 30px;
  }
}

@media screen and (max-width: 450px) and (min-height: 801px) {
  .mv_text {
    top: 120px;
  }

  .mv_text p:nth-of-type(2) {
    margin-top: 2rem;
  }

  .btn_area {
    bottom: 40px;
  }
}

@media screen and (max-width: 450px) and (max-height: 800px) {
  .mv {
    height: 60vh;
  }
}

/*---------------------------------------------------
news
---------------------------------------------------*/
.news {
  margin-top: 5rem;
}

.news h2 {
  width: fit-content;
  margin: 0 auto;
  position: relative;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.news h2::before,
.news h2::after {
  content: '';
  position: absolute;
  display: block;
  background: var(--color3);
  width: 15px;
  height: 2px;
}

.news h2::before {
  top: 15px;
  left: -25px;
}

.news h2::after {
  top: 15px;
  right: -25px;
}

.news_body {
  width: fit-content;
  margin: 0 auto;
}

.news a {
  display: block;
  width: fit-content;
  margin: 1.5rem 0;
  font-size: 1.1rem;
  transition: opacity .3s ease;
}

.news a:hover {
  opacity: 0.8;
}

.news a span {
  margin-right: 3rem;
}

@media screen and (max-width: 580px) {
  .news a {
    font-size: 0.9rem;
  }
}

/*---------------------------------------------------
page_link
---------------------------------------------------*/
.page_link {
  margin-top: 8rem;
  overflow: hidden;
}

.link_box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.link_box:nth-of-type(1) {
  flex-direction: row-reverse;
}

.link_box:nth-of-type(2) {
  margin-top: 6rem;
}

.link_box_img {
  width: 55%;
  object-fit: cover;
}

.link_box_img img {
  width: 100%;
  min-height: 300px;
  border-radius: 0 250px 0 0;
}

.link_box_detail {
  width: 45%;
}

.detail_inner {
  margin: 0 auto;
  width: fit-content;
}

.link_box_title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
}

.link_box_text {
  margin-top: 3rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05rem;
}

.link_box_btn {
  margin-top: 3rem;
}

.link_box:nth-of-type(2) .link_box_img img {
  border-radius: 250px 0 0 0;
}

.link_box:nth-of-type(2) .link_box_title {
  width: fit-content;
}

.link_box:nth-of-type(2) .link_box_text {
  margin-top: 3rem;
  width: fit-content;
}

.link_box:nth-of-type(2) .link_box_btn {
  margin-top: 3rem;
}

@media screen and (max-width: 768px) {
  .page_link {
    margin-top: 5rem;
  }

  .link_box {
    display: block;
  }

  .link_box_img {
    margin-top: 1rem;
    width: 100%;
  }

  .link_box_img img {
    min-height: 300px;
    border-radius: 0 230px 0 0;
  }

  .link_box_detail {
    width: 90%;
    margin: 0 auto;
  }

  .detail_inner {
    width: 100%;
  }

  .link_box_title {
    font-size: 1.5rem;
  }

  .link_box_text {
    margin-top: 2rem;
    letter-spacing: 0.01rem;
  }

  .link_box:nth-of-type(2) .link_box_img img {
    border-radius: 230px 0 0 0;
  }
}

/*---------------------------------------------------
procedure_link
---------------------------------------------------*/
.procedure_link {
  margin: 8rem auto 0;
  width: 90%;
  max-width: 1000px;
}

.procedure_link h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

.procedure_box {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
}

.procedure_box::before {
  content: "";
  border: 1px solid var(--color3);
  align-self: stretch;
}

.procedure_box .box1 {
  width: 37%;
  order: -1;
}

.procedure_box .box2 {
  width: 37%;
}

.procedure_box h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.box_list {
  margin-top: 2rem;
}

.box_list li {
  position: relative;
  font-weight: 500;
  line-height: 1.5;
}

.box_list li:not(:first-child) {
  margin-top: 1rem;
}

.box_list li::before {
  content: '- ';
  position: absolute;
  top: -3px;
  left: -12px;
}

.procedure_btn {
  width: fit-content;
  margin: 3rem auto 0;
}

@media screen and (max-width: 768px) {
  .procedure_link h2 {
    font-size: 1.5rem;
  }

  .procedure_box {
    display: block;
  }

  .procedure_box::before {
    border: none;
  }

  .procedure_box .box1,
  .procedure_box .box2 {
    width: 100%;
    margin: 0 auto;
  }

  .procedure_box .box2 {
    margin-top: 3rem;
  }

  .procedure_box h3 {
    text-align: center;
  }

  .box_list li {
    font-size: 0.9rem;
  }
  
  .procedure_btn {
    width: 200px;
  }

  .procedure_btn .btn {
    width: 100%;
    padding: 20px 0;
  }
}
/*---------------------------------------------------
faq
---------------------------------------------------*/
.faq {
  margin: 8rem auto 0;
  width: 90%;
  max-width: 1100px;
}

.faq_title h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

.qa_list {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.qa_list_box {
  width: 50%;
}

.qa_list dl {
  position: relative;
  margin: 30px 0 0;
  cursor: pointer;
  border: 3px solid var(--color1);
  border-radius: 35px;
  font-size: 0.9rem;
}

.qa_list dl:first-child {
margin-top: 0;
}

.qa_list dl::after {
  position: absolute;
  top: 26px;
  right: 15px;
  display: block;
  width: 7px;
  height: 7px;
  margin: auto;
  content: '';
  transform: rotate(135deg);
  border-top: 2px solid #000;
  border-right: 2px solid #000;
}

.qa_list .open::after {
  transform: rotate(-45deg);
}

.qa_list dl dt {
  position: relative;
  margin: 0;
  padding: 20px 30px 20px 50px;
  font-weight: bold;
  background: #fff;
  border-radius: 30px;
  line-height: 1.5;
}


.qa_list dl.open dt {
  border-radius: 30px 30px 0 0;
}

.qa_list dl dt::before {
  font-size: 22px;
  line-height: 1;
  position: absolute;
  top: 17px;
  left: 20px;
  display: block;
  content: 'Q.';
  color: #3285bf;
}

.qa_list dl dd::before {
  font-size: 22px;
  line-height: 1;
  position: absolute;
  top: -3px;
  left: 20px;
  display: block;
  content: 'A.';
  font-weight: bold;
  color: #3285bf;
}

.qa_list dl dd {
  position: relative;
  margin: 0;
  padding: 0 30px 20px 50px;
  background: #fff;
  border-radius: 0 0 30px 30px;
}

.qa_list dl dd p {
  margin: 30px 0 0;
  line-height: 1.5;
}

.qa_list dl dd p:first-child{
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .faq_title h2 {
    font-size: 1.5rem;
  }

  .qa_list {
    display: block;
  }

  .qa_list_box {
    margin: 0 auto;
    width: 95%;
  }

  .qa_list_box:nth-of-type(2) {
    margin-top: 20px;
  }

  .qa_list dl {
    margin: 20px 0 0;
  }
  .qa_list dl:after {
    top: 20px;
    right: 20px;
    width: 7px;
    height: 7px;
  }
  .qa_list dl dt {
    padding: 16px 30px 16px 50px;
    font-size: 14px;
  }
  .qa_list dl dt::before {
    font-size: 14px;
    top: 20px;
    left: 20px;
  }
  .qa_list dl dd::before {
    font-size: 14px;
    left: 20px;
    margin-top: 5px;
  }
  .qa_list dl dd {
    margin: 0;
    padding: 0 30px 16px 50px;
    font-size: 14px;
  }
  .qa_list dl dd p {
    margin: 30px 0 0;
  }
  /* .qa_list dl dd p:first-child{
    margin-top: 0;
  } */
}

/*---------------------------------------------------
instagram
---------------------------------------------------*/
#sb_instagram {
  margin-top: 2rem;
}

.instagram {
  width: 95%;
  max-width: 1000px;
  margin: 10rem auto 0;
}

.instagram_title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
}

.instagram_list {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem auto 0;
}

.instagram_list li {
  width: calc((100% - 40px) / 3);
  margin-right: 20px;
  background: #111;
  overflow: hidden;
}

.instagram_list li:nth-of-type(3n) {
  margin-right: 0;
}

.instagram_list li:nth-of-type(n + 4) {
  margin-top: 20px;
}

.instagram_list li img {
  width: 100%;
  vertical-align: top;
  transition: all .5s ease;
}

.instagram_list li:hover img {
  transform: scale(1.05);
  opacity: 0.5;
}

@media screen and (max-width: 850px) {
  .instagram {
    margin: 5rem auto 0;
  }

  .instagram_title h2 {
    font-size: 1.75rem;
  }

  .instagram_list li {
    width: calc((100% - 20px) / 2);
  }

  .instagram_list li:nth-of-type(3n) {
    margin-right: 20px;
  }

  .instagram_list li:nth-of-type(2n) {
    margin-right: 0;
  }
  
  .instagram_list li:nth-of-type(n + 3) {
    margin-top: 20px;
  }
}

@media screen and (max-width: 580px) {
  .instagram {
    margin: 5rem auto 0;
  }

  .instagram_list li {
    width: calc((100% - 10px) / 2);
    margin-right: 10px;
  }

  .instagram_list li:nth-of-type(3n) {
    margin-right: 10px;
  }

  .instagram_list li:nth-of-type(2n) {
    margin-right: 0;
  }
  
  .instagram_list li:nth-of-type(n + 3) {
    margin-top: 10px;
  }
}