@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400&display=swap');

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    outline: none;
    border: none;
}

*::selection
{
    background: #c0c0c0;
    color: #fff;
}

body
{
    background: #f9f9f9;
}

section
{
    /* min-height: 100vh; */
    padding: 0 9%;
    padding-top: 7.5rem;
    padding: 2rem;
}

/* 各セクションのフェードインアニメーション */
/* 最初は非表示 */
.fade-in-animation
{
    opacity: 0;
    visibility: hidden;
    transform: translateY(0px);
    transition: opacity 1.5s, visibility 1.5s, transform 1.5s;
}
/* フェードイン時 */
.is-fadein 
{
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ふりがな */
rt
{
        font-size: 100%;
        zoom: 0.5;
}




/* XXXXXXXXXXX */
/* top section */
/* XXXXXXXXXXX */
.top
{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-image: url('../images/kanauba/kanauba-top.png');
    background-position: center;
    background-repeat: no-repeat;
}
 
.top .column
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
}

/* 文字のアニメーション(文字を徐々に表示) */
@keyframes animtion2{  /* アニメーションの動き */
    0% {
            /* margin-left:30px; */
            opacity:0; /* 完全に透明 */
        } 
    100% {
            /* margin-left:0px; */
            opacity:1; /* 透明度無し、通常表示 */
        }
}

/* 「総コン専門就活コミュニティ」 */
.top .column .content h4
{
    font-size: 20px;
    font-weight: 400;
}

/* アニメーション用 */
.top .column .content h4
{
    animation-name: animtion2; 
    animation-duration: 1.5s; /* X秒間で表示 */ 
    animation-fill-mode: both;  
    animation-iteration-count: 1; /* 1回のみ実行 */
}

/* 「kanauba」 */
.top .column .content h3
{
    text-align: left;
    font-size: 60px;
    font-weight: 500;
    line-height: 180%;
    margin-bottom: 6rem;
}

/* アニメーション用 */
.top .column .content h3
{
    animation-name: animtion2; 
    animation-duration: 2.0s; /* X秒間で表示 */ 
    animation-fill-mode: both;  
    animation-iteration-count: 1; /* 1回のみ実行 */
}

/* 「kanauba」の説明 */
.top .column .content p
{
    font-size: 20px;
    font-weight: 300;
}

/* アニメーション用 */
.top .column .content p
{
    animation-name: animtion2; 
    animation-duration: 2.5s; /* X秒間で表示 */ 
    animation-fill-mode: both;  
    animation-iteration-count: 1; /* 1回のみ実行 */
}



/* XXXXXXXXXXX */
/* 特徴 section1 */
/* XXXXXXXXXXX */
.features
{   
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features .column
{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0px;
    flex-wrap: wrap;
    flex-direction: row;
}

/* 特徴1の画像 */
.features .column .features-img
{
    margin-right: 50px;
    width: 300px;
    height: 300px;
}

.features .column .features-img img
{
    margin-top: 60px;
    width: 300px;
}

.features .column .content
{
    text-align: left;
    width: 40%;
}

/* アニメーション用 */
.features .column .content
{
    animation-name: animtion1; 
    animation-duration: 1.5s;
    animation-fill-mode: both;  
    animation-iteration-count: 1;
}

.features .column .content h1
{
    font-size: 32px;
    font-weight: 700;
    color: #333;
    padding: 1rem 0;
}

.features .column .content ul
{
    font-size: 20px;
    line-height: 200%;
    list-style: disc;
    padding-left: 1.5em;
}

.features .column .content ul li
{
    color: #c0c0c0;
}

.features .column .content ul li span
{
    color:#333;
}








/* XXXXXXXXXXXXXXXXX */
/* 人気note紹介セクション */
/* XXXXXXXXXXXXXXXXX */
.popular-notes {
  padding: 40px 0;
  background-color: #f9fafb;
  overflow: hidden;
}

.popular-notes-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 32px;
  color: #111;
}

/* Swiper */
.popularSwiper {
  width: 100%;
  box-sizing: border-box;
}

.popularSwiper .swiper-wrapper {
  padding-bottom: 8px;
}

.popularSwiper .swiper-slide {
  flex-shrink: 0;
  width: 80%;
  max-width: 300px;
}

/* noteカード */
.note-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.note-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.note-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.note-info {
  padding: 12px;
}

.note-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 6px;
}

.note-price {
  font-size: 0.85rem;
  color: #007bff;
}

/* スライダー全体に余白を与えるラッパー */
.swiper-container-wrapper {
  padding: 0 16px;
}


@media (min-width: 1024px) {
    /* XXXXXXXXXXXXXXXXX */
    /* 人気note紹介セクション */
    /* XXXXXXXXXXXXXXXXX */
    .popularSwiper .swiper-slide
    {
        width: 22%;
    }
    /* スライダー全体に余白を与えるラッパー */
    .swiper-container-wrapper
    {
        padding: 0 96px;
    }
}


@media (min-width: 640px) {
    /* XXXXXXXXXXXXXXXXX */
    /* 人気note紹介セクション */
    /* XXXXXXXXXXXXXXXXX */
    .popularSwiper .swiper-slide
    {
        width: 45%;
    }

    /* スライダー全体に余白を与えるラッパー */
    .swiper-container-wrapper {
        padding: 0 48px;
    }

}





/* XXXXXXXXXXXXXXXXX */
/* note読者の感想セクション */
/* XXXXXXXXXXXXXXXXX */
.note-reviews {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.note-reviews-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 32px;
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background-color: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

/* .review-card:hover {
  transform: scale(1.02);
} */

.review-card img {
  width: 100%;
  height: auto;
  display: block;
}

.review-card.hidden {
  display: none;
}

.more-button-wrapper {
  text-align: center;
  margin-top: 24px;
}

.load-more-btn {
  background: none;
  border: none;
  color: #0080ff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  transition: opacity 0.2s ease;
}

.load-more-btn:hover {
  opacity: 0.8;
}

.arrow-icon {
  width: 16px;
  height: 16px;
}






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

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}







/* XXXXXXXXXXXXXXXXX */
/* note紹介セクション */
/* XXXXXXXXXXXXXXXXX */
.note {
  background-color: #f8f9fb;
  padding: 60px 20px;
}

.notes-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 32px;
  font-weight: bold;
  color: #333;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  border-bottom: 1px solid #eee;
}

.tab-button {
  background: none;
  border: none;
  outline: none;
  font-size: 1.1rem;
  color: #333;
  padding: 10px 0;
  position: relative;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s;
}

.tab-button::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.3s, transform 0.3s;
  transform: scaleX(0);
  transform-origin: center;
}

.tab-button:hover::after,
.tab-button.active::after {
  background-color: #0080ff;
  transform: scaleX(1);
}

.tab-button:hover {
  color: #0080ff;
}

.tab-button.active {
  color: #0080ff;
}

.box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.box {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.box:hover {
  transform: translateY(-5px);
}

.box img {
  width: 100%;
  height: auto;
  display: block;
}

.note-name {
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 15px 5px;
  color: #333;
}

.note-price {
  font-size: 1rem;
  color: #666;
  padding: 0 15px 15px;
}












/* XXXXXXXXXXX */
/* SNS section */
/* XXXXXXXXXXX */
.SNS
{
    /* margin-top: 10vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
}

.SNS .SNS-content
{
    text-align: center;
    padding: 30px;
}

.SNS .SNS-content h1
{
    font-size: 32px;
    color: #333;
    font-weight: 700;
}

.SNS .SNS-content p
{
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}

.SNS .SNS-content .twitter-icon
{
    display: inline-block;
    margin: 40px 12px 0px 12px;
}

.SNS .SNS-content .note-icon
{
    display: inline-block;
    margin: 40px 12px 0px 12px;
}





@media (max-width:1200px)
{






    /* XXXXXXXXXXXXXXXX */
    /* note紹介 section */
    /* XXXXXXXXXXXXXXXX */
    .note .box-container
    {
        margin-left: 0px;
        margin-right: 0px;
    }

    .note .project__nav {
        padding-left: 60px;
    }






    /* XXXXXXXXXXXXXXXXXXXXX */
    /* note読者の感想 section */
    /* XXXXXXXXXXXXXXXXXXXXX */









    /* XXXXXXXXXXX */
    /* SNS section */
    /* XXXXXXXXXXX */
    .SNS .SNS-content h1
    {
        font-size: 28px;
    }

    .SNS .SNS-content p
    {
        font-size: 16px;
    }


}







@media (max-width:768px)
{    
    /* XXXXXXXXXXX */
    /* top section */
    /* XXXXXXXXXXX */
    /* .top
    {
        flex-flow: column-reverse;
        justify-content: center;
        background-image: url('../images/kanauba/kanauba-top-sph.png');
    } */




    /* XXXXXXXXXXXXXXXXX */
    /* 人気note紹介セクション */
    /* XXXXXXXXXXXXXXXXX */
    .popular-notes-title
    {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }




    /* XXXXXXXXXXXXXXXXX */
    /* note読者の感想セクション */
    /* XXXXXXXXXXXXXXXXX */
    .note-reviews-title
    {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }


    /* XXXXXXXXXXXXXXXXX */
    /* note紹介セクション */
    /* XXXXXXXXXXXXXXXXX */
    .notes-title
    {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }



}







@media (max-width:450px)
{
    /* XXXXXXXXXXX */
    /* top section */
    /* XXXXXXXXXXX */
    /* .top .column
    {
        width: 90%;
    } */



    /* XXXXXXXXXXXXXXXXXXXXX */
    /* note読者の感想 section */
    /* XXXXXXXXXXXXXXXXXXXXX */






    /* XXXXXXXXXXXXXXXX */
    /* note紹介 section */
    /* XXXXXXXXXXXXXXXX */
    .tab-buttons {
        gap: 20px;
    }

    .tab-button {
        font-size: 0.9rem;
    }

    .note-name {
        font-size: 1rem;
    }

    .note-price {
        font-size: 0.9rem;
    }








    /* XXXXXXXXXXX */
    /* SNS section */
    /* XXXXXXXXXXX */
    .SNS .SNS-content
    {
        width: 100%;
    }

    .SNS .SNS-content h1
    {
        font-size: 24px;
    }

    .SNS .SNS-content p
    {
        font-size: 14px;
    }

}

