/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　共通部分
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
html {
  scroll-behavior: smooth;
}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　top_mv
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#mainvisual {
 position: relative;
}

#mainvisual .col-2 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.main_copy {
  position: absolute;
  left: 40px;
  width: 70%;
  bottom: 0;
  z-index: 100;
}

.main_copy div {
 text-align: left;
 line-height: 2;
 font-size: 32px;
 color: #fff;
 font-weight: 600;
 padding: 40px 0 0 40px;

 text-shadow:1px 1px 0 #6667AB, -1px -1px 0 #6667AB,
            -1px 1px 0 #6667AB, 1px -1px 0 #6667AB,
            0px 1px 0 #6667AB,  0 -1px 0 #6667AB,
            -1px 0 0 #6667AB, 1px 0 0 #6667AB;
}

.main_copy p {
 text-align: left;
 line-height: 2;
 font-size: 20px;
 color: #fff;
 font-weight: 600;
 padding: 0 0 40px 40px;

 text-shadow:1px 1px 0 #6667AB, -1px -1px 0 #6667AB,
            -1px 1px 0 #6667AB, 1px -1px 0 #6667AB,
            0px 1px 0 #6667AB,  0 -1px 0 #6667AB,
            -1px 0 0 #6667AB, 1px 0 0 #6667AB;
}



 /* ーーーータブレットーーーーーーーーーーーーーーーーーー */
 @media screen and (max-width: 1024px){


}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  .main_copy {
    left: 0;
    width: 100%;
    bottom: 0;
  }

  .main_copy div {
    font-size: 24px;
    padding: 0 0 0 20px;
  }

  .main_copy p {
    font-size: 14px;
    padding: 0 0 16px 20px;
  }


}


/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　top_about
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#top_about {
  margin: 160px auto 0;
  background-image: url(../img/common/bg_4.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

.top_about_wrapper {
  max-width: 1440px;
  margin: 0 auto;
  width: 50%;
}

#top_about .col-2 {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
}

.top_about_title {
  color: #6667AB;
  font-size: 32px;
  font-weight: bold;
  width: 30%;
}

.top_about_contents {
  width: 70%;
}

.p_large {
  font-size: 24px;
  letter-spacing: 0.04rem;
  line-height: 1.6;
}

.p_small {
  font-size: 16px;
  margin: 8px 0;
}

.top_about_button_flex {
  display: flex;
  align-items: center;
}

.button {
  padding: 0.8em 2em;
  margin: 20px 0
}

.top_about_icon {
  color: #6667AB;
}

.top_about_icon a {
  display: block;
  text-align: center;
  padding: 1em 0 1em 1em;
  color: #6667AB;
  font-size: 24px;
  text-decoration: none;
  transition: 0.8s;
}

.top_about_icon a i {
    display: block;
    font-size: 36px;
}

.top_about_icon a i.fa-instagram {
    font-size: 40px;
}

.top_about_icon a:hover {
  color: #6667AB50;
  transition: 0.8s;
}

/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .top_about_wrapper {
    width: 80%;
  }

  #top_about {
    margin: 100px auto 0;
    background-image: url(../img/common/tb_bg_1.webp);
  }

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  #top_about {
    margin: 50px auto 0;
    background-image: url(../img/common/sp_bg_1.webp);
    background-size: 140%;
  }

  #top_about .col-2 {
    flex-direction: column;
  }

  .top_about_wrapper {
    text-align: center;
  }

  .top_about_title {
    font-size: 24px;
    width: 100%;
  }

  .top_about_contents {
    width: 100%;
  }

  .p_large {
    font-size: 20px;
    padding: 20px 0 0;
  }

  .p_small {
    font-size: 14px;
  }

  .top_about_icon a {
    padding: 1em 0 1em 0.6em;
  }

  #top_about .button {
    margin: 20px auto;
    max-width: 200px;
  }


}






/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　top_topics
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.top_news-wrapper {
  margin: 200px auto 300px;
}

.news-box {
  margin: 80px auto;
}

.news-box ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  text-align: center;
}

.news-content a {
  display: block;
  padding: 16px;
  width: min-content;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ホバー：浮く */
.news-content a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* 画像 */
.news-thumbnail {
  overflow: hidden; /* ←ズーム用に重要 */
}

.news-thumbnail img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-text {
  flex: 1;
}

.news-text p {
  flex: 1;
}

.news-date {
  font-size: 12px;
  color: #888;
}

.news-title {
  font-size: 14px;
  letter-spacing: normal;
  color: #6667AB;
  font-weight: 500;
  transition: color 0.3s ease;
}

.news-content a:hover .news-title {
  color: #8b3b89;
}



/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .top_news-wrapper {
    margin: 100px auto 200px;
  }

  .news-thumbnail img {
    width: 240px;
    height: 160px;
  }

  .news-content a {
    padding: 12px;
  }


}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  .top_news-wrapper {
    margin: 80px auto 100px;
  }

  .news-box {
    margin: 40px auto;
  }

  .news-box ul {
    flex-direction: column;
  }

  .news-content {
    margin: 0 auto;
  }

}




/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　instagram
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#instagram {
  margin: 100px auto;
  background-image: url(../img/common/bg_6.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top;
}

.instagram_wrapper {
  width: 80%;
  margin: 0 auto;
}

.insta_sub {
  width: 20%;
  position: absolute;
  top: -100px;
  right: 28%;
  height: auto;
  z-index: -1;
}

#instagram .title_line {
  margin-bottom: 2em;
}


/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .insta_sub {
    width: 30%;
    right: 16%;
  }
}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  .insta_sub {
    width: 50%;
    top: -60px;
    right: 0;
  }

}
