@charset "UTF-8";
/* 202312トップページリニューアル用CSS*/

/*----------------------
main_image
------------------------*/
.main_image {
  display: flex;
  position: relative;
  z-index: 1;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 auto;
  width: 100%;
  height: 100vh;
}

/* 背景画像の読み込み */
.main_image_bg {
  background-size: cover;
  animation: image_anime 16s ease infinite;
}

@keyframes image_anime {
  0% {
    background-image: url("../images/main_visal01.webp"); 
    background-repeat: no-repeat;
  }
  16% {
    background-image: url("../images/main_visal01.webp"); 
    background-repeat: no-repeat;
  }
  32% {
    background-image: url("../images/main_visual03.webp");
    background-repeat: no-repeat;  
    }
   48% {
    background-image: url("../images/main_visual03.webp");
    background-repeat: no-repeat;  
    }
    64% {
    background-image: url("../images/main_visual04.webp");
    background-repeat: no-repeat;
    }
    80% {
    background-image: url("../images/main_visual04.webp");
    background-repeat: no-repeat;
    }   

  100% {
    background-image: url("../images/main_visal01.webp");
        background-repeat: no-repeat;
  }
}

.main_image::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
}


/* 重ねる文字の基本設定 */
.main_txt{
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
  color: #fff;
  letter-spacing: 0.4rem;
  z-index:3;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

/* SP向けの設定 */
@media screen and (max-width: 600px) {
  .main-txt{
   font-size: 1.4rem;
   padding: 4rem 0;
  }
}

/* PC向けの設定 */
@media screen and (min-width: 601px) {
  .main_txt{
    font-size: 40px;
    padding: 4rem 5rem;
  }
}
.main_concept {
    z-index: 4;
    margin-left: auto;
    margin-right: 4rem;
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #fff;
    color: #fff;
    width: 150px; /* 横幅を指定 */
}

.main_concept a {
    display: block;
    z-index: 4;
    width: 100%; /* 親要素の幅に合わせる */
    height: 100%; /* 親要素の高さに合わせる */
    padding: 1em; /* パディングを親要素と一致させる */
    animation: blinkAnimation 3s infinite;
    background: inherit; /* 親要素の背景色を継承 */
    border: inherit; /* 親要素のボーダーを継承 */
    color: inherit; /* 親要素の文字色を継承 */
}

@keyframes blinkAnimation {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.main_concept a:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
}


/*----------------------

新着情報

------------------------*/

.shinchaku {
    margin:200px auto;
    width:60%;
}

.shinchaku h3 {
  font-family: acumin-pro, sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: #6699cc;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 5px;
}

.shinchaku-items {
  width: 100%;
  border-bottom: 1px solid #dfdfdf;
  margin: 26px 0 5px 0;
  padding: 0 0 26px 2px;
}
.shinchaku-item {
    display: flex;
}
.p-date {
    font-size:14px;
    color:brown;
    font-weight:bold;
}
.p-detail {
    font-size:14px;
    margin-left:1em;
}

/*----------------------

トップページ共通ボタン

------------------------*/

.top-btn {
    margin:50px auto;
    text-align: center;

}

.top-btn .btn,
.top-btn a.btn,
.top-btn button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

.top-btn a.btn-svg {
  font-weight: 700;
  line-height: 54px;

  width: 204px;
  height: 54px;
  padding: 0;

  cursor: pointer;
  text-decoration: none;

  background-color: transparent;
}

.top-btn a.btn-svg svg {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
}

.top-btn a.btn-svg svg rect {
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;

  stroke: #666;
  stroke-width: 1;
  stroke-dasharray: 200px, 16px;
  stroke-dashoffset: 70px;
}

.top-btn a.btn-svg:hover svg rect {
  stroke-dashoffset: 284px;
}

.top-btn a.btn-svg span {
  color: #666;
}

/*----------------------

イベント情報

------------------------*/

/* 既存のベーススタイルを維持 */
.top_event{
  width: 100%;
  height: 1100px;
  padding: 0;
  background-color: #F3F3F3;
}

.top_event_container{
  width: 100%;
  height: 100%;
  padding-top: 100px;
  position: relative;
}

.top_event_title{
  width: 100%;
  height: 100px;
  position: relative;
  display: flex;
}

.top_event_title > .section_title {
  position: absolute;
  left: 8%;
  top: 0;
}

.top_event_content{
  width: 100%;
  height: 800px;
  position: relative;
  padding-top: 50px;
}

.top_event .event_body {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  height: 100%;
}

/* カルーセルコンテナ */
.carousel_container {
  position: relative;
  width: 100%;
  height: 600px;
}

.carousel_wrapper {
  overflow: hidden;
  width: calc(100% -8%);
  height: 100%;
  padding-left: 8%; /* leftから8%ずらす */
  margin-left: 0;
}

/* イベントリスト - カルーセル対応 */
.top_event .event_list {
  display: flex;
  width: max-content;
  min-width: unset;
  margin: 0;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: visible;
  scroll-snap-type: none;
  height: 600px;
}

@media (max-width: 760px) {
  .top_event .event_list {
    padding: 0;
    display: flex;
    gap: 10px;
  }
  
  .carousel_wrapper {
    padding-left: 5%; /* モバイルでは5% */
    height: max-content;
  }
  
}

/* イベントボックス - カルーセル対応 */
.top_event .event_box {
  display: flex;
  flex: 0 0 600px; /* 600px固定幅でカルーセル用 */
  background: #fff;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  scroll-snap-align: none;
  justify-content: start;
  flex-direction: column;
  border: 0.5px solid rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
  .top_event .event_box {
    flex: 0 0 550px;
  }
}

@media (max-width: 760px) {
  .top_event .event_box {
    flex: 0 0 5%;
  }
}

.top_event .event_box a {
  height: 100%;
  display: block;
  text-decoration: none;
  color: inherit;
}

.top_event .event_box .event_img {
  position: relative;
  height: 400px;
  overflow: hidden;
  padding: 25px 20px;
}

.top_event .event_box .event_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.top_event .event_box:hover .event_img img {
  transform: scale(1);
}

.event_category_icon {
  height: 20%;
  margin: 0;
  padding: 10px 0;
  list-style: none;
}

.event_category_icon li {
  display: inline-block;
  background-color: transparent !important;
  color: var(--sub_corp_color) !important;
  padding: 0px;
  font-size: 13px;
  font-weight: 500;
}

.event_category_icon li::before {
  content: "#";
  font-size: 13px;
  color: var(--sub_corp_color);
  margin-right: 2px;
}

/* コンテンツ部分の調整 */
.top_event .event_box .content {
  height: 200px;
  padding: 0 25px;
}

.top_event .event_box .event_title {
  height: 60px;
  font-size: var(--list_title_font);
  font-weight: bold;
  color: #333;
  margin-right: 10px;
  padding-bottom: 20px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid #ddd;
}

.top_event .event_box .event_title br.hide {
  display: inline;
}

.top_event .event_box .event_details {
  height: 45%;
  font-size: var(--list_subtitle_font);
  color: #666;
  padding-top: 15px;
}

.top_event .event_box .event_period,
.top_event .event_box .event_location {
  margin-bottom: 5px;
  display: flex;
  align-items: flex-start;
}

.top_event .event_box .event_details .label {
  min-width: 50px;
  font-weight: 500;
  margin-right: 10px;
  flex-shrink: 0;
}

.top_event .event_box .event_details .date,
.top_event .event_box .event_details .location {
  color: #333;
  line-height: 1.4;
}

/* カルーセルナビゲーションボタン */
.carousel_btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
}

.carousel_btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: white;
}

.carousel_prev {
  left: 2%;
}

.carousel_next {
  right: 2%;
}

@media (max-width: 760px) {
  .carousel_btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel_prev {
    left: 10px;
  }
  
  .carousel_next {
    right: 10px;
  }
}

/* ページネーションドット（既存スタイルを調整） */
.event_pagination_dots {
  display: flex;
  justify-content: start;
  gap: 3px;
  margin: 30px 0;
  position: absolute;
  bottom: 80px;
  width: 100%;
  left: calc(8% + 3px);
}

.event_pagination_dots .event_dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0.5px solid var(--main_corp_color);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.event_pagination_dots .event_dot.active {
  background: var(--main_corp_color);
}

.event_pagination_dots .event_dot:hover {
  background: var(--sub_corp_color);
}


.top_event_content .section_button{
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
}

/* レスポンシブ対応 */
@media (max-width: 760px) {
  .top_event .event_box .event_title {
    font-size: 16px;
  }

  .event_category_icon li,
  .p-item__icons-category li {
    font-size: 12px;
    padding: 0;
  }
  .event_category_icon li::before {
    font-size: 12px;
  }

  .top_event .event_box .content {
    padding: 15px;
  }
  
  .carousel_container {
    height: 320px;
  }
  
  .event_pagination_dots {
    bottom: 0;
    top: -20px;
    margin: 0;
    left: calc(5% + 3px);
    position: relative;
  }
  
  .top_btn {
    bottom: 30px;
  }
}

/* アニメーション効果 */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.top_event .event_box {
  animation: slideIn 0.6s ease-out;
}

@media (max-width:480px) {
  .top_event{
    height: max-content;
    padding-bottom: 150px;
  }
  .carousel_container{
    height: max-content;
  }
  .top_event_container{
    padding-top: 50px;
  }
  .top_event_content{
    height: 500px;
    padding-top: 0;
  }
  .top_event .event_box{
    border: 1px solid rgba(0, 0, 0, 0.5);
    height: max-content;
    flex: 0 0 90vw;
  }
  .top_event .event_box a{
    padding: 15px;
  }

  .top_event .event_box .event_img{
    height: max-content;
    min-height: 200px; /* 画像読み込み前の最小高さ */
    padding: 0;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .top_event .event_box .event_img img{
    height: auto;
    aspect-ratio: 3/2;
  }

  .carousel_wrapper{
    height: max-content;
  }
  .top_event .event_box .content{
    padding: 0;
    height: max-content;
  }
  .event_category_icon{
    height: 20%;
    margin-top: 0px;
    padding: 0;
    padding-bottom: 5px;
  }
  .top_event .event_box .event_title{
    padding-bottom: 10px;
    height: 55px;
    font-weight: 600;
    display: block;
    overflow: hidden;
  }
  .top_event .event_box .event_details{
    padding-top: 10px;
  }
  .event_body .carousel_container .carousel_btn{
    width: 50px;
    height: 50px;
    top: 35%;
  }
  .top_event_content .section_button{
    position: relative;
    bottom: 0;
    top: 30px;
  }

}


/* ------------------------------------
施工事例
------------------------------------ */

.top_works {
  padding: 0;
  background: transparent;
  width: 100%;
  height: 1200px;
}

.top_works_container {
  height: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.top_works_content {
  width: 100%;
  height: 100%;
  position: relative;
}

.top_bgimage{
  height: 50%;
  width: 60%;
  position: absolute;
  display: flex;
  top: 0;
  left: 0;
  opacity: 0.1;
  -webkit-mask-image: linear-gradient(to left, transparent, black 50%);
  mask-image: linear-gradient(to left, transparent, black 50%);
  z-index: -1;
}

/* タイトル部分 */
.top_works_text_content {
  text-align: center;
  padding: 100px 0;
}

/* フィルター用スタイル */
.works_category_filter,
.works_hashtag_filter {
  margin-bottom: 50px;
  padding: 0 2%;
}

.filter_title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.category_list,
.hashtag_list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.category_item button,
.hashtag_item button {
  margin: 0px 12px;
  background: transparent;
  color: #333;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s ease;
}

.category_item.active button,
.hashtag_item.active button {
  border-bottom: 4px solid var(--sub_corp_color);
}

.category_item button:hover,
.hashtag_item button:hover {
  opacity: 0.8;
}

/* 施工事例リスト */
.top_works_list {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-bottom: 50px;
}

.works_item {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.6);
  background-color: #fafafa;
  border-radius: 10px;
}
.works_item.hidden {
  display: none;
}

.works_item a {
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: start;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.works_item a:hover {
  opacity: 0.8;
}

.works_item_image {
  width: 100%;
  flex: 0 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.works_item_image img {
  width: 100%;
  object-fit: contain;
  aspect-ratio: 3/2;
}

.works_item_content {
  width: 100%;
  flex: 1;
  padding: 20px 5px 20px 0;
}

.works_item_tags {
  display: none;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.works_item_tags li {
  padding: 4px 12px;
  background: #f0f0f0;
  font-size: 12px;
  border-radius: 3px;
}

.works_item_title {
  font-size: var(--list_title_font);
  font-weight: bold;
  margin-bottom: 15px;
}

.works_item_hashtags {
  font-size: var(--list_subtitle_font);
}

.works_item_hashtags span {
  margin-right: 8px;
  color: var(--sub_corp_color);
}

/* ローディング状態 */
.top_works_list.loading {
  opacity: 0.5;
  pointer-events: none;
}

/* 結果なしメッセージ */
.no-results {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 16px;
}

/* フェード効果 */
.top_works_list.fade {
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.top_works_content .section_button {
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .top_works {
    padding: 0;
    height: max-content;
    padding-bottom: 150px;
  }

  .top_works_container{
    margin: 0;
  }
  .top_bgimage{
    height: 20%;
    width: 100%;
    mask-image: linear-gradient(to top, transparent, black 50%);
  }
  .top_works_text_content{
    padding: 0;
  }

  .top_works_text_content .section_title{
    position: relative;
    top: 0;
    left: 0;
    padding: 50px 0;
  }
  
  .top_works_text_content h3 {
    font-size: 28px;
  }

  .works_item_content{
    padding: 15px 5px 0 0;
  }

  .works_category_filter, 
  .works_hashtag_filter{
    padding: 0 2%;
  }
  
  .category_list,
  .hashtag_list {
    justify-content: center;
  }
  
  .hashtag_list .category_item button,
  .hashtag_list .hashtag_item button {
    font-size: 12px;
    padding: 7px 13px;
    margin: 0;
  }
  
  .top_works_list{
    padding: 0 2%;
    flex-direction: column;
    margin: 0;
  }

  .works_item a {
    flex-direction: column;
    padding: 15px;
  }
  
  .works_item_image {
    flex: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 0;
  }

  .top_works_content .section_button{
    bottom: -120px;
  }
}


/* ------------------------------------
top_works_end
------------------------------------ */

/* ------------------------------------
top_instagram
------------------------------------ */

/* Instagram セクション基本スタイル */
.top_insta {
  background: #F3F3F3;
  width: 100%;
  height: max-content;
  padding-bottom: 150px;
}

.top_insta_container {
  width: 100%;
  height: 100%;
}

.top_insta_container .section_title{
  position: relative;
  padding: 100px 8% 50px;
}

.top_insta_container .section_title h3{
  text-transform: capitalize;
}

.top_insta_container .section_title > span{
  display: flex;
  position: absolute;
  left: calc(8% + 210px);
  top: 105px;
  height: 35px;
  width: 35px;
}

.top_insta_container .section_title > .section_sub_title{
  font-size: var(--list_title_font);
  font-weight: 500;
  margin-top: 70px;
  margin-left: -10px;
}


.top_insta_container .section_title > span svg{
  fill: var(--main_corp_color);
  height: 100%;
  width: 100%;
}


.top_insta_content {
  width: 100%;
  height: 70%;
  position: relative;
}

/* カルーセルコンテナ */
.insta_carousel_container {
  position: relative;
  overflow: visible;
  margin-bottom: 30px;
}

.insta_carousel_wrapper {
  overflow: visible;
}

.insta_list {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  margin-left: 8%;
}

/* Instagram ボックス */
.insta_box {
  flex: 0 0 400px;
  height: max-content !important;
  width: max-content !important;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insta_box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.insta_box a {
  display: flex;
  text-decoration: none;
  color: inherit;
}


/* 投稿がない場合の表示 */
.insta_no_posts {
  padding: 60px 20px;
  text-align: center;
}

.no_posts_message {
  color: #999;
}

.no_posts_message p {
  margin: 0 0 10px;
  font-size: 16px;
}

.no_posts_message .sub_text {
  font-size: 14px;
  color: #ccc;
}

/* Instagram carousel navigation buttons */
.insta_carousel_btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
  color: #333;
}

.insta_carousel_btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.insta_carousel_btn svg {
  width: 24px;
  height: 24px;
}

.insta_carousel_prev {
  left: 2%;
}

.insta_carousel_next {
  right: 2%;
}

/* Instagram pagination dots */
.insta_pagination_dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 30px 0 0;
}

.insta_pagination_dots .insta_dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--main_corp_color);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.insta_pagination_dots .insta_dot.active {
  background: var(--main_corp_color);
}

.insta_pagination_dots .insta_dot:hover {
  background: var(--sub_corp_color);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {  
  .insta_carousel_prev {
    left: -20px;
  }
  
  .insta_carousel_next {
    right: -20px;
  }
}

@media (max-width: 768px) {
  .top_insta {
    padding: 50px 0 100px;
    height: max-content;
  }

  .top_insta_container .section_title{
    padding: 0;
    top: 0;
    padding-left: 5%;
  }

  .top_insta_container .section_title > span{
    left: calc(3% + 160px);
    top: 0;
  }


  .top_insta_content{
    padding-top: 50px;
  }

  .insta_carousel_wrapper{
    overflow-y: visible;
  }
  
  .insta_carousel_prev {
    left: 2%;
  }
  
  .insta_carousel_next {
    right: 2%;
  }
  
  .insta_carousel_btn {
    width: 50px;
    height: 50px;
  }
  
  .insta_content {
    padding: 12px;
  }

  .insta_pagination_dots{
    margin: 50px 0 0 ;
  }
}

@media (max-width: 768px) {
  /* スマホ: 画面幅優先、1つのアイテムのみ表示、アスペクト比固定 */
  .insta_box {
    flex: 0 0 calc(100vw - 40px);
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px);
  }

  .insta_list {
    gap: 0;
    margin-left: 20px;
  }
  
  .insta_carousel_container {
    overflow: visible;
  }
}

/* Instagram 動画関連スタイル */
.insta_video_container {
  position: relative;
  width: 100%;
  height: max-content;
  overflow: hidden;
  cursor: pointer;
}

.insta_video_thumbnail {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}

.insta_video {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.insta_play_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
}

.insta_video_container:hover .insta_play_overlay {
  background: rgba(0, 0, 0, 0.2);
}

.play_button {
  pointer-events: none;
}

.insta_info_overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.insta_link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  transition: background 0.3s ease;
}

.insta_link:hover {
  background: rgba(0, 0, 0, 0.8);
}

.insta_caption {
  display: none;
}

@media (max-width: 768px) {
  .insta_video_container {
    height: max-content;
  }
}

/* ------------------------------------
top_instagram_end
------------------------------------ */

/* ------------------------------------
top_youtube
------------------------------------ */

.top_youtube {
  height: max-content;
  width: 100%;
  padding: 0;
  background-color: #f9f9f9;
  padding-bottom: 200px;
}

.top_youtube_container {
  width: 100%;
  height: 100%;
  margin: 0;
}

.top_youtube_content {
  position: relative;
  height: 100%;
  width: 100%;
}

.top_youtube_text_content .section_title{
  width: 100%;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.top_youtube_text_content .section_title h3{
  text-transform: capitalize;
}

.top_youtube_list {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.youtube_item {
  height: 100%;
  flex: 1;
  background: transparent;
  border-radius: 10px;
  border: 0.5px solid rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.youtube_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.youtube_item a {
  height: 100%;
  width: 100%;
  padding: 25px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  justify-content: start;
  align-items: center;
}

.youtube_item_image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.youtube_item_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.youtube_item:hover .youtube_item_image img {
  transform: scale(1.05);
}

.youtube_play_button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.youtube_play_button svg {
  width: 75px;
  height: 60px;
}

.youtube_item:hover .youtube_play_button {
  transform: translate(-50%, -50%) scale(1.1);
}

.youtube_item_content {
  padding: 20px 0 0;
  width: 100%;
}

.youtube_item_title {
  width: 100%;
  font-size: calc(var(--list_title_font) - 2px);
  font-weight: 600;
  color: #333;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top_youtube_content .section_button{
  bottom: 0;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
  .top_youtube_list {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  
  .youtube_item {
    max-width: 100%;
    width: 100%;
  }
  
  .section_title h3 {
    font-size: 3rem;
  }
  
  .top_youtube {
    padding: 50px 0 150px;
  }
  .top_youtube_container{
    padding: 0 2%;

  }
}

@media (max-width: 480px) {
  .top_youtube{
    height: max-content;
  }
  .top_youtube_text_content{
    height: 100px;
    width: 100%;
  }
  .top_youtube_text_content .section_title{
    top: 0;
    padding: 0;
  }

  .top_youtube_container {
    padding: 0 2%;
  }
  
  .youtube_item_content {
    padding: 15px;
  }
  
  .section_title h3 {
    font-size: 3rem;
  }
  
  .youtube_item a{
    padding: 15px;
  }

  .top_youtube_content .section_button{
    bottom: -100px;
  }
}



/* ------------------------------------
top_youtube_end
------------------------------------ */


/* ------------------------------------
top_plan
------------------------------------ */
.top_plan {
  height: 1000px;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.top_plan_container {
  height: 100%;
  width: 100%;
  position: relative;
}

.top_plan_title {
  padding: 100px 8%;
}

.top_plan_content {
  height: 700px;
  width: 100%;
  position: relative;
}

.plan_body {
  height: 500px;
  position: relative;
  margin-bottom: 0;
}

.top_plan_content .plan_body .carousel_container{
  height: 100%;
  width: 100%;
}
.top_plan_content .plan_body .carousel_wrapper{
  overflow: visible;
}

.plan_list {
  height: 100%;
  width: 100%;
  display: flex;
  transition: transform 0.3s ease-in-out;
}

/* プランボックス */
.plan_box {
  flex: 0 0 520px; /* デスクトップ幅 */
  background: #fafafa;
  border-radius: 10px;
  border: 0.5px solid rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan_box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.plan_box a {
  height: 100%;
  padding: 20px;
  display: block;
  text-decoration: none;
  color: inherit;
}

/* プラン画像 */
.plan_img {
  position: relative;
  width: 100%;
  height: 70%;
  overflow: hidden;
}

.plan_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.plan_box:hover .plan_img img {
  transform: scale(1.02);
}

/* コンテンツエリア */
.plan_box .content{
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  height: 30%;
}

/* カテゴリ */
.plan_category {
  display: none;
}

.category_label {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* プランタイトル */
.plan_title {
  height: 15%;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: start;
}

.plan_title img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.plan_title .title_text {
  font-size: var(--list_title_font);
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}

/* プラン説明 */
.plan_description {
  height: 65%;
  margin-right: 2px;
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

/* プランボタン */
.plan_button {
  height: 10%;
  margin-left: 2px;
  display: flex;
  align-items: center;
  justify-content: start;
}

.plan_button span {
  display: inline-flex;
  align-items: center;
  color: #333;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  position: relative;
}

.plan_button span::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.plan_box:hover .plan_button span {
  color: #656565;
}

.plan_box:hover .plan_button span::after {
  transform: translateX(5px);
}


.top_plan_content .plan_pagination_dots {
  display: flex;
  justify-content: start;
  gap: 3px;
  margin: 30px 0;
  position: absolute;
  bottom: 130px;
  width: 100%;
  left: calc(8% + 3px);
}

.top_plan_content .plan_pagination_dots .plan_dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0.5px solid var(--main_corp_color);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.top_plan_content .plan_pagination_dots .plan_dot.active {
  background: var(--main_corp_color);
}

.top_plan_content .plan_pagination_dots .plan_dot:hover {
  background: var(--sub_corp_color);
}

/* セクションボタン */
.top_plan_content .section_button {
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 480px) {
  .top_plan{
    height: max-content;
  }

  .top_plan_container{
    padding: 0 0 200px;
    height: max-content;
  }

  .top_plan_title{
    padding: 50px 0 0;
  }

  .top_plan_title .section_title{
    padding-left: 5%;
    position: relative;
    top: 0;
  }

  .top_plan_title .section_title h3{
    margin-left: 0;
  }
  .top_plan_title .section_title p{
    margin-left: 0;
  }

  .carousel_container {
    padding: 0;
  }
  
  .top_plan_content{
    margin-top: 50px;
    height: max-content;
  }

  .plan_body{
    height: max-content;
  }

  .plan_list{
    gap: 10px;
  }

  .plan_box {
    flex: 0 0 90vw;
  }

  .plan_box a{
    padding: 15px;
  }
  
  .plan_img {
    height: max-content;
  }

  .plan_img img{
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 3/2;
  }

  .plan_box a{
    width: 100%;
    height: max-content;
  }

  .plan_box .content{
    height: max-content;
    padding-top: 15px;
  }

  .plan_title{
    height: 20px;
  }
  
  .plan_title .title_text {
    font-size: 20px;
  }
  
  .plan_description {
    font-size: 12px;
  }

  .top_plan_content .plan_pagination_dots{
    bottom: -70px;
  }

  .top_plan_content .section_button{
    bottom: -150px;
  }

  .plan_body .carousel_container .carousel_btn{
    width: 50px;
    height: 50px;
  }
}

/* アニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.plan_box {
  animation: fadeInUp 0.6s ease-out;
}

.plan_box:nth-child(2) {
  animation-delay: 0.1s;
}

.plan_box:nth-child(3) {
  animation-delay: 0.2s;
}

/* 高コントラストモード対応 */
@media (prefers-contrast: high) {
  .plan_box {
    border: 2px solid #333;
  }
  
  .category_label {
    background: #000;
    color: #fff;
  }
  
  .carousel_btn {
    border: 3px solid #000;
    background: #fff;
    color: #000;
  }
}
/* ------------------------------------
top_plan_end
------------------------------------ */

/* ------------------------------------
top_news
------------------------------------ */

.top_news {
  width: 100%;
  height: max-content;
  position: relative;
  background-color: transparent;
  overflow: hidden;
  padding-bottom: 200px;
}

.top_news_container {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.top_news_content {
  width: 100%;
  height: 100%;
  position: relative;
}

.top_news_text_content .section_title{
  width: 100%;
  padding: 100px 8% 50px;
  text-align: center;
}

/* ハッシュタグフィルター */
.news_hashtag_filter {
  margin-bottom: 40px;
  padding: 0 15%;
  text-align: center;
}

/* ニュースリスト */
.top_news_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  position: relative;
  transition: opacity 0.3s ease;
}

.top_news_list.loading {
  opacity: 0.6;
  pointer-events: none;
}

.top_news_list.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ニュースアイテム */
.news_item {
  height: 100%;
  width: 100%;
  padding: 25px;
  background: #fff;
  border: 0.5px solid rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.news_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news_item a {
  height: 100%;
  display: block;
  text-decoration: none;
  color: inherit;
}


/* ニュース画像 */
.news_item_image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.news_item_image img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.news_item:hover .news_item_image img {
  transform: scale(1.05);
}

/* ニュースコンテンツ */
.news_item_content {
  height: 40%;
  padding-top: 25px;
}

/* ニュースタグ */
.news_item_tags {
  height: 20%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.news_item_tags li {
  background: transparent;
  color: var(--sub_corp_color);
  font-size: 12px;
  font-weight: 500;
}
.news_item_tags li::before{
  content: "#";
  color: var(--sub_corp_color);
  margin-right: 2px;
}

/* ニュースタイトル */
.news_item_title {
  height: 60%;
  font-size: calc(var(--list_title_font) - 2px);
  font-weight: 600;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ニュース日付 */
.news_item_date {
  height: 20%;
  font-size: var(--list_subtitle_font);
  color: #888;
  font-weight: 400;
  margin-left: 2px;
}

.news_item_hashtags span {
  margin-right: 8px;
  opacity: 0.8;
}

.top_news_content .section_button{
  position: relative;
  bottom: 0;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
}



/* エラー・空状態 */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #7f8c8d;
  font-size: 16px;
  grid-column: 1 / -1;
}




@media screen and (max-width: 480px) {
  .top_news {
    padding: 0 0 150px;
    height: max-content;
  }

  .top_news_container{
    padding: 0 2%;
  }

  .top_news_text_content {
    margin-bottom: 0;
  }

  .top_news_text_content .section_title{
    position: relative;
    top: 0;
    padding: 50px 0 0;
  }

  .top_news .section_title h3 {
    font-size: 3rem;
  }

  .news_hashtag_filter{
    margin: 40px 0;
    padding: 0;
  }

  .hashtag_list {
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .hashtag_item {
    flex-shrink: 0;
  }

  .top_news_list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .news_item{
    padding: 15px;
  }

  .news_item_image {
    height: max-content;
    width: 100%;
  }

  .news_item_content {
    padding: 15px 0 0;
    height: max-content;
  }

  .news_item_title {
    height: max-content;
    font-size: 18px;
  }

  .news_item_date {
    font-size: 13px;
  }

  .top_news_content .section_button{
    bottom: -100px;
  }
}


/* ------------------------------------
top_news_end
------------------------------------ */


/* ------------------------------------
top_model
------------------------------------ */
.top_model {
  width: 100%;
  height: max-content;
  padding: 0;
  background-color: #f3f3f3;
}
.top_model_container{
  width: 100%;
  height: 100%;
  position: relative;
}

.top_model_content {
  width: 100%;
  height: 100%;
  position: relative;
  padding-bottom: 120px;
}

.top_model_text_content .section_title {
  width: 100%;
  padding: 100px 8% 100px;
  text-align: center;
}

.top_model_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.model_item {
  height: 100%;
  width: 100%;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  border: 0.5px solid rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.model_item a {
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.model_item_image {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.model_item_image img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: contain;
}

.model_item_content {
  padding-top: 25px;
}

.model_item_inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.model_item_title {
  height: 60%;
  font-size: calc(var(--list_title_font) - 2px);
  font-weight: 600;
  color: #333;
}

.model_item_info {
  height: 30%;
  margin-top: 10px;
}

.model_info_row {
  display: flex;
  font-size: var(--list_subtitle_font);
  color: #666;
  font-weight: 600;
}

.info_label {
  display: none;
  font-size: calc(var(--list_subtitle_font) - 2px);
  font-weight: 500;
  min-width: 80px;
  color: #666;
}

.info_text {
  color: #666;
  flex: 1;
}

.model_item_btn {
  display: none;
  text-align: start;
  margin-left: 2px;
  font-size: 9px;
}
.model_item_btn::after{
  content: '→';
  margin-left: 3px;
  transition: transform 0.3s ease;
}
.model_item:hover .model_item_btn::after {
  transform: translateX(5px);
}


/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .top_model_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .experience_list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .top_model_text_content .section_title{
    padding: 50px 0;
    position: relative;
    top: 0;
  }
  .top_model_list {
    padding: 0 2%;
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }

  .model_item{
    padding: 15px;
  }
  
  .model_item_content {
    padding: 15px 0 0;
  }
  
  .model_item_title {
    font-size: 16px;
  }
  
  .model_info_row {
    flex-direction: column;
    margin-bottom: 10px;
  }
  
  .info_label {
    min-width: auto;
    margin-right: 0;
    margin-bottom: 3px;
  }
  
  .experience_item {
    padding: 15px;
  }
}/* ------------------------------------
top_model_end
------------------------------------ */

/* Detail page specific styles */
/* Hide h2 tags containing only &nbsp; */
h2:empty,
h2.hidden-nbsp {
  opacity: 0 !important;
}