@charset "UTF-8";

/****************** メインビジュアル ******************/
/* メインビジュアル上のテキスト */
.p-mainVisual__slideTitle {
  text-align: center;
  color: #00A0E9;
  text-shadow: none;
  font-weight: 900;
  font-size: 2.5vw;
  background-color: #fff;
  width: 48vw;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.p-mainVisual__slideText {
  position: absolute;
  background-color: #fff;
  bottom: 23vw;
  margin: 0;
  color: #000;
  font-weight: 900;
  text-shadow: none;
  display: inline-block;
  line-height: 1.5em;
  text-align: left;
  left: 30vw;
  padding: 0.5vw 1vw;
}
.p-mainVisual__slideTitle .js-randomText {
  display: inline-block;
  text-align: center;
  padding: 0 0.3em;
}
.js-randomText {
  transition: opacity 0.6s ease;
  font-family: 'Huiji', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: #000;
  font-weight: bold;
  font-size: 5vw;
}
@media screen and (max-width: 767px){
.p-mainVisual__textLayer {
  padding: 0;
}
.p-mainVisual__slideTitle {
  font-size: 6vw;
  width: 90%;
  padding: 1vw 0;
}
.js-randomText {
  font-size: 7vw;
}
.p-mainVisual__slideText {
  position: static;
  margin-top: 3vw;
  font-size: 3.1vw;
  width: 60%;
  padding: 0.5vw 2vw;
}
.p-mainVisual__slideText br {
  display: none;
}
}
/****************** メインビジュアルプラスアニメーション ******************/
.plus-floating-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.plus-item {
  position: absolute;
  opacity: 0;
  will-change: transform, opacity;
  animation-name: floatPlus;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* CSS変数 --float-distance を使って移動距離を制御 */
@keyframes floatPlus {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  65% {
    opacity: 1;
  }
  75% {
    opacity: 0.5;
  }
  95% {
    opacity: 0;
  }
  100% {
    transform: translateY(calc(-1 * var(--float-distance)));
    opacity: 0;
  }
}
/****************** コンテンツ ******************/
/* トップページ幅 */
.front_page_cont {
  width:100%;
  padding-top: 2em !important;
}
.front_page_cont h2 {
  font-size: 2.5vw;
  text-align: center;
  margin: 5vw 0 0 0;
}
.front_page_cont h2 span{
  color:#00A0E9;
}
@media screen and (max-width: 767px){
.front_page_cont h2 {
  font-size: 6vw;
}
.front_page_cont h2.future{
  text-align: right;
  white-space: pre-line;
  width: 80%;
    margin-left: 17%;
}
}

/****************** スライダー ******************/
.swiper {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-pagination {
  position: static !important;
  margin-top: 0;
}
/****************** ここでの［出会い］が、未来の君を作る。  ******************/
.de_cont {
  width: 95%;
  margin: 0 auto;
  display: flex;
  gap: 1em;
}
.de_cont > * {
  flex: 1;
}
.de_cont img {
  width: 33%;
  height: auto;
  display: block;
}
.de_cont img:nth-of-type(2) {
  margin-top:5vw;
}
@media screen and (max-width: 767px){
.de_cont {
  display: block;
}
.de_cont img {
  width: 80%;
}
.de_cont img:nth-of-type(1) {
  margin:0 20% 0 0;
}
.de_cont img:nth-of-type(2) {
  margin:0 0 0 20%;
}
.de_cont img:nth-of-type(3) {
  margin:0 20% 2em 0;
}
}
/****************** DEPARTMENTS ******************/
.departments_cont {
  display: block;
  width:100%;
  background-color:#F5F5F5;
  padding-bottom: 3vw;
}
h3.exo,h3.exo_none {
  font-family: "exo-2-variable",sans-serif;
  font-weight: 600;
  font-size: 2.5vw;
  background: linear-gradient( to bottom, #fff 0%, #fff 50%, #F5F5F5 50%, #F5F5F5 100% );
  margin: 3vw 0 0 0;
  padding-left: 4vw;
}
h3.exo_none {
  background: none;
  margin: 0 1vw 0 0;
  padding: 0;
  display: inline-block;
}
b.exo_sub,b.exo_none_sub {
  padding-left: 4vw;
  font-size: 1.2vw;
}
b.exo_none_sub {
  padding-left: 0;
}
.departments_cont ul {
  width: 70%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap:2.5em;
}
.departments_cont ul li {
  width: calc((100% - 5em) / 3);
  height: 28vw;
}
.departments_cont ul li a {
  position: relative;
  color: #fff;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 2vw 1vw;
}
.departments_cont ul li:nth-of-type(1) a {
  background: url( "../images/top/departments/01.jpg" ) center center / 200% auto no-repeat;
}
.departments_cont ul li:nth-of-type(2) a {
  background: url( "../images/top/departments/02.jpg" ) center center / 200% auto no-repeat;
}
.departments_cont ul li:nth-of-type(3) a {
  background: url( "../images/top/departments/03.jpg" ) center center / 200% auto no-repeat;
}
.departments_cont ul li:nth-of-type(4) a {
  background: url( "../images/top/departments/04.jpg" ) center center / 200% auto no-repeat;
}
.departments_cont ul li:nth-of-type(5) a {
  background: url( "../images/top/departments/05.jpg" ) center center / 200% auto no-repeat;
}
.departments_cont ul li:nth-of-type(6) a {
  background: url( "../images/top/departments/06.jpg" ) center center / 200% auto no-repeat;
}

.departments_cont ul li a h4 {
  font-size: 1.55vw;
  line-height: 1;
  width: 100%;
  border-bottom: 1px solid #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-bottom: 0.5vw;
}
.departments_cont ul li a h4::before {
  content: "";
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.departments_cont ul li:nth-of-type(1) a h4::before {
  background: url("../images/top/departments/ico01.png") no-repeat center / contain;
}
.departments_cont ul li:nth-of-type(2) a h4::before {
  background: url("../images/top/departments/ico02.png") no-repeat center / contain;
}
.departments_cont ul li:nth-of-type(3) a h4::before {
  background: url("../images/top/departments/ico03.png") no-repeat center / contain;
}
.departments_cont ul li:nth-of-type(4) a h4::before {
  background: url("../images/top/departments/ico04.png") no-repeat center / contain;
}
.departments_cont ul li:nth-of-type(5) a h4::before {
  background: url("../images/top/departments/ico05.png") no-repeat center / contain;
}
.departments_cont ul li:nth-of-type(6) a h4::before {
  background: url("../images/top/departments/ico06.png") no-repeat center / contain;
}
.departments_cont ul li a span {
  font-size: 1vw;
  color:#FFD900;
  margin-top: auto;
  margin-bottom: 0.3em;
}
.departments_cont ul li a p {
  font-size: 1.55vw;
  font-weight: bold;
  white-space: pre-line;
}
/* 青のオーバーレイ */
.departments_cont ul li a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 160, 233, 0.6); /* #00A0E9 60% */
  z-index: 0;
  pointer-events: none;
}
.departments_cont ul li a:hover::before {
  background: rgba(0, 160, 233, 0.4);
  transition: background 0.3s ease;
}
/* 文字を必ず上に */
.departments_cont ul li a > * {
  position: relative;
  z-index: 1;
}
/* ＋アイコン */
.departments_cont ul li a::after {
  content: "+";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  font-size: 6vw;
  font-weight: 900;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 2; /* 青オーバーレイより上、文字より下 */
  pointer-events: none;
}
.departments_cont ul li a:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@media screen and (max-width: 1199px) {
.departments_cont b {
  margin-bottom: 1em;
  display: block;
}
.departments_cont ul {
  width: 80%;
}
h3.exo, h3.exo_none {
  font-size: 3.5vw;
}
b.exo_sub,b.exo_none_sub {
  font-size: 2vw;
}
}
@media screen and (max-width: 767px){
h3.exo,h3.exo_none {
  font-size: 6vw;
}
b.exo_sub,b.exo_none_sub {
  font-size: 4vw;
}
.departments_cont {
  padding-bottom: 8vw;
}
.departments_cont ul {
  width: 95%;
  gap: 1em;
}
.departments_cont ul li {
  width: calc((100% - 1em) / 2);
  height: 60vw;
}
.departments_cont ul li a {
  padding: 4vw 3vw;
  border-radius: 10px;
}
.departments_cont ul li a h4 {
  font-size: 4vw;
  padding-bottom: 2vw;
}
.departments_cont ul li a span {
  font-size: 3vw;
}
.departments_cont ul li a p {
  font-size: 3.3vw;
}
}
/****************** NEWS ******************/
.news_cont {
  width:100%;
  margin:0 auto;
  padding:3vw 0;
}
.news_cont .news_contin {
  width:60%;
  margin:0 auto;
  position: relative;
}
.post_list {
  list-style: none;
  padding: 0;
  margin: 2vw 0 0 0;
  width: 100%;
}
.post_list li {
  margin-bottom: 1.5em;
  border-bottom: solid 1px #CCC;
  padding: 0 0 1.7vw 0;
}
.post_list li a {
    display: flex;
    gap: 1em;
    text-decoration: none;
    color: inherit;
	overflow: hidden;
}
.post_list li a .thumb {
  width: 25%;
  height: 8vw;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 15px;
}
.post_list li a .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post_list li a:hover .thumb img {
  transform: scale(1.2);
}

.post_list li a div {
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5em;
}
.post_list li a div .span_wrap {
  display: flex;
  gap: 0.5em;
  flex-direction: initial;
}
.post_list li a div span.day_cont {
  color:#666666;
}
.post_list li a div span.cat_cont {
  color: #000;
  background-color: #ccc;
  border-radius: 30px;
  font-size: 0.85vw;
  display: flex;
  padding: 0 1vw;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}
.post_list li a div b {
  font-size:1.2vw;
  line-height: 1.4em;
}
.post_list li a div p {
  font-size: 1vw;
  line-height: 1;
  width: 100%;
  border-bottom: 1px solid #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding-bottom: 0.5vw;
}
.post_list li a div p::after {
  background: url("../images/common/arrow.png") no-repeat center / contain;
  content: "";
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.newslist_link {
  position: absolute;
  top: 2em;
  right: 0;
  color: #00A0E9;
  display: inline-flex;
  align-items: center;
}
.newslist_link::after {
  background: url("../images/common/arrow_blue.png") no-repeat center / contain;
  content: "";
  width: 1.5em;
  height: 1em;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media screen and (max-width: 1199px) {
.news_cont .news_contin {
  width: 90%;
}
.post_list {
  margin: 4vw 0 0 0;
}
.post_list li a .thumb {
  height: 12vw;
  border-radius: 10px;
}
.post_list li a div span.day_cont {
  font-size: 1.5vw;
}
.post_list li a div span.cat_cont {
  font-size: 1vw;
  padding: 0 1.5vw;
}
.post_list li a div b {
  font-size: 2vw;
}
.post_list li a div p {
  font-size: 1.8vw;
}
}
@media screen and (max-width: 767px){
.news_cont {
  padding: 6vw 0;
}
.newslist_link {
  top: 0.5em;
}
.post_list li:last-child {
  border-bottom: none;
}
.post_list li a {
  display: block;
}
.post_list li a .thumb {
  width: 60%;
  height: 30vw;
  border-radius: 5px;
  margin-bottom: 1em;
}
.post_list li a div {
  width: 100%;
  display: block;
}
.post_list li a div span.day_cont {
  font-size: 3vw;
}
.post_list li a div .span_wrap {
  font-size: 3.5vw;
      margin-bottom: 0.5em;
}
.post_list li a div span.cat_cont {
  font-size: 2.5vw;
  padding: 0 3vw;
}
.post_list li a div b {
  font-size: 4vw;
}
.post_list li a div p {
  font-size: 3.5vw;
  padding-bottom: 2vw;
  justify-content: flex-end;
}
}
/****************** REAL STORIES 在校生からの声 ******************/
.story_cont {
  width:100%;
  margin:0 auto;
  padding:3vw 0;
  background-size: 30px 30px;
  background-position: 50% 50%;
  background-image:repeating-linear-gradient( 90deg, rgba(0,0,0,.3) , rgba(0,0,0,.3) 1px, transparent 1px, transparent 30px),repeating-linear-gradient( 0deg, rgba(0,0,0,.3) , rgba(0,0,0,.3) 1px, #fff 1px, #fff 30px);
}
.story_cont .story_contin {
  width:80%;
  margin:0 auto;
}
.student_voice_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
}
.student_content {
  background-color: #EFF8FF;
  border-radius: 20px;
  position: relative;
  margin-top: 10vw;
  padding: 5%;
  width: 90%;
  font-weight: bold;
}
.student_img {
  position: absolute;
  top: -3vw;
  left: 1vw;
  width: 30%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: solid 5px #fff;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1), 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.student_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* ← 縦横比保持でトリミング */
  display: block;
}
.student_comment {
  position: relative;
  display: inline-block;
  margin: 4vw 0 1vw 0;
  padding: 1vw;
  min-width: 120px;
  max-width: 100%;
  color: #000;
  background: #fff;
  font-size: 1vw;
  font-weight: bold;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1), 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.student_comment:before {
  content: "";
  position: absolute;
  top: -27px;
  left: 15%;
  transform: translateX(-50%);
  border: 15px solid transparent;
  border-bottom: 15px solid #fff;
}
.student_comment br {
  display: none;
}
.student_cource {
  width: 100%;
  display: block;
  font-size: 0.8vw;
  color:#666666;
}
.student_name {
  width:100%;
  display:block;
  font-size:1.5vw;
}
.student_tag {
  width: 100%;
  display: inline-block;
  font-size: 0.9vw;
}
.student_tag span {
  color:#00A0E9;
}
.student_tag span:nth-child(1) {
  margin-right:1em;
}
.student_tag span::before {
  content:"#";
  margin-right:0.2vw;
}
.student_bottom_link {
  display: block;
  text-align: center;
  margin: 1em auto 0 auto;
}
.student_bottom_link a {
  font-weight: bold;
  color: #000;
  font-size: 1.4vw;
}
@media screen and (max-width: 1199px) {
.story_cont .story_contin {
  width: 90%;
}
.student_img {
  width: 35%;
  border: solid 4px #fff;
}
.student_comment {
  font-size: 1.5vw;
  margin: 5.2vw 0 1vw 0;
}
.student_cource {
  font-size: 1.2vw;
}
.student_name {
  font-size: 2.5vw;
}
.student_tag {
  font-size: 1vw;
}
.student_bottom_link a {
  font-size: 2vw;
}
}
@media screen and (max-width: 767px){
.story_cont {
  padding: 6vw 0;
}
.student_voice_list {
  grid-template-columns: repeat(1, 1fr);
}
.student_content {
  margin-top: 20vw;
  padding: 4vw;
  width: 100%;
}
.student_img {
  top: -16vw;
  left: 6vw;
}
  .student_comment {
    font-size: 4vw;
    margin: 16vw 0 3vw 0;
    padding: 3vw;
  }
.student_comment:before {
  left: 21%;
}
  .student_cource {
    font-size: 3.5vw;
  }
  .student_name {
    font-size: 6vw;
  }
 .student_tag {
    font-size: 3vw;
  }
  .student_bottom_link a {
    font-size: 5vw;
  }
}
/****************** 講師紹介 ******************/
.teach_cont {
  width:100%;
  margin:0 auto;
  padding:3vw 0;
  background-color:#66c6f2;
}
.teach_conttitle {
  color: #fff;
  width: 80%;
  margin: 0 auto 1vw auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.teach_conttitle h3 {
  margin: 0;
}
.teach_conttitle p {
  font-size: 1vw;
  margin: 0;
  text-align: right;
  white-space: pre-line;
  font-weight: bold;
}
.teach_cont .story_contin,.teach_swiper {
  width:100%;
  margin:0 auto;
}
.teach_swiper {
  margin:0 auto 3vw auto;
}
.teach_swiper .swiper-slide {
  border-radius:20px;
  background-color:#fff;
  font-weight:bold;
}
.lecturer_card {
  width: 100%;
}
.lecturer_img {
  width: 100%;
  height: 13vw;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.lecturer_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.lecturer_text {
  text-align:left;
  width:85%;
  margin:1vw auto 0 auto;
  color:#666666;
  font-size:1vw;
}
.lecturer_title {
  text-align:right;
  width:85%;
  margin:0vw auto 0.5vw auto;
  font-size:1.5vw;
}
 /* ループアクション */
.swiper-wrapper {
  transition-timing-function: linear !important;
}
@media screen and (max-width: 1199px) {
.teach_conttitle p {
  font-size: 1.5vw;
}
}
@media screen and (max-width: 767px){
.teach_cont {
  padding: 6vw 0;
}
.teach_conttitle {
  width: 90%;
  display: block;
}
.teach_conttitle p {
  font-size: 3vw;
  text-align: left;
  margin: 0 0 3vw 0;
}
.teach_swiper .swiper-slide {
  border-radius:10px;
}
.lecturer_img {
  height: 25vw;
  border-radius: 10px 10px 0 0;
}
.lecturer_text {
  font-size:3vw;
}
.lecturer_title {
  font-size:5vw;
}
}

/****************** 数字紹介スクロール ******************/
.award_cont {
  width:100%;
  margin:0 auto;
  padding:3vw 0;
}
.award_swiper .swiper-slide {
  color:#666;
  border-left:solid 1px #1A2B3C;
  padding:3.5vw 0 0 0;
  display: block;
}
.award_swiper .swiper-slide.bg_bag {
  background: url( "../images/top/number/bag.png" ) top 5% center / 15% auto no-repeat;
}
.award_swiper .swiper-slide.bg_copy {
  background: url( "../images/top/number/copy.png" ) top 5% center / 15% auto no-repeat;
}
.award_swiper .swiper-slide.bg_award {
  background: url( "../images/top/number/award.png" ) top 5% center / 15% auto no-repeat;
}
.award_swiper .swiper-slide.bg_user {
  background: url( "../images/top/number/user.png" ) top 5% center / 15% auto no-repeat;
}
.award_swiper .swiper-slide.bg_award {
	display:block;
}
.award_swiper .swiper-slide p.year {
	font-size:0.7vw;
	display:block;
	height:16.5px;
}
.award_swiper .swiper-slide p.cont {
	display:block;
}
.award_swiper .swiper-slide p span:nth-child(1) {
    font-family: "exo-2-variable",sans-serif;
    font-weight: 700;
	color:#00A0E9;
	font-size:3.5vw;
	line-height: 1em;
}
.award_swiper .swiper-slide p.count span:nth-child(2) {
	font-size:1vw;
	font-weight:bold;
}
 /* サーティファイ認定資格 */
.award_swiper .swiper-slide.bg_award div {
  display: flex;
  width: 70%;
  margin: 0 auto;
  align-items: flex-end;
  font-size: 1vw;
  font-weight: bold;
  line-height: 1.2em;
}
.award_swiper .swiper-slide.bg_award div p.first {
  width:40%;
  white-space: pre-line;
  text-align: right;
}
.award_swiper .swiper-slide.bg_award div p.count {
  width:30%;
}
.award_swiper .swiper-slide.bg_award div p.second {
  width:30%;
  white-space: pre-line;
}
.award_swiper .swiper-slide.bg_award div p.second span {
	font-size:1.5vw;
}
@media screen and (max-width: 1023px) {
.award_swiper .swiper-slide.bg_bag {
  background: url( "../images/top/number/bag.png" ) top 5% center / 12% auto no-repeat;
}
.award_swiper .swiper-slide.bg_copy {
  background: url( "../images/top/number/copy.png" ) top 5% center / 12% auto no-repeat;
}
.award_swiper .swiper-slide.bg_award {
  background: url( "../images/top/number/award.png" ) top 5% center / 12% auto no-repeat;
}
.award_swiper .swiper-slide.bg_user {
  background: url( "../images/top/number/user.png" ) top 5% center / 12% auto no-repeat;
}
.award_swiper .swiper-slide b {
	font-size: 1.5vw;
	line-height: 1em;
}
.award_swiper .swiper-slide p.year {
  font-size: 1.2vw;
  height: 12px;
  line-height: 1em;
}
.award_swiper .swiper-slide.bg_award div,.award_swiper .swiper-slide p.count span:nth-child(2) {
  font-size: 1.5vw;
}
.award_swiper .swiper-slide p span:nth-child(1) {
  font-size: 5vw;
}
.award_swiper .swiper-slide.bg_award div p.second span {
  font-size: 2vw;
}
}
@media screen and (max-width: 767px){
.award_swiper .swiper-slide.bg_bag {
  background: url( "../images/top/number/bag.png" ) top 5% center / 15% auto no-repeat;
}
.award_swiper .swiper-slide.bg_copy {
  background: url( "../images/top/number/copy.png" ) top 5% center / 15% auto no-repeat;
}
.award_swiper .swiper-slide.bg_award {
  background: url( "../images/top/number/award.png" ) top 5% center / 15% auto no-repeat;
}
.award_swiper .swiper-slide.bg_user {
  background: url( "../images/top/number/user.png" ) top 5% center / 15% auto no-repeat;
}
.award_swiper .swiper-slide {
  padding: 8vw 0 0 0;
}
.award_swiper .swiper-slide b {
	font-size: 3.5vw;
}
.award_swiper .swiper-slide p.year {
  font-size: 2.5vw;
  height: 10px;
}
.award_swiper .swiper-slide.bg_award div,.award_swiper .swiper-slide p.count span:nth-child(2) {
  font-size: 3vw;
}
.award_swiper .swiper-slide p span:nth-child(1) {
  font-size: 8vw;
}
.award_swiper .swiper-slide.bg_award div p.second span {
  font-size: 4vw;
}
}

/****************** インスタグラム一覧 ******************/
.insta_cont {
  width: 100%;
  margin: 0 auto;
  display: block;
  background-color: #292D32;
  padding: 3vw 0;
}
.insta_cont .insta_contin {
  width: 90%;
  margin:0 auto;
  display:block;
}
.insta_conttitle {
  margin: 0 auto 1vw auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.insta_conttitle h3.exo_none,.insta_conttitle a {
  color: #fff;
}
.insta_conttitle h3 {
  background: none;
  margin: 0 1vw 0 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.insta_conttitle h3::before {
  font-family: "Font Awesome 6 Brands"; /* ← Brands 必須 */
  content: "\f16d";                     /* Instagram */
  font-size: 1.2em;                     /* 文字と同じくらい */
  color: #fff;
  line-height: 1;
}
.insta_conttitle a {
  font-size: 1.5vw;
  margin: 0;
  text-align: right;
  white-space: pre-line;
  display: inline-flex;
  align-items: center;
  font-family: "exo-2-variable",sans-serif;
  font-weight: 500;
}
.insta_conttitle a::after {
  background: url("../images/common/arrow_white.png") no-repeat center / contain;
  content: "";
  width: 1.5em;
  height: 1em;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* 表示列 */
/* ギャラリー全体をGrid化 */
.instagram-gallery-list {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr); /* PC 6列 */
  gap: 0;
}

/* タブレット：4列 */
@media (max-width: 1024px) {
  .instagram-gallery-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* スマホ：3列 */
@media (max-width: 767px) {
.insta_cont {
  padding: 6vw 0;
}
  .instagram-gallery-list {
    grid-template-columns: repeat(3, 1fr);
  }
.insta_cont .insta_contin {
  width: 95%;
}
.insta_conttitle a {
  font-size: 4vw;
}
}

/* 各アイテムの幅指定を無効化 */
.instagram-gallery-item {
  width: auto !important;
  flex: none !important;
}

